Skip to content

Where can I find the accepted format of an extension's API request body? #13030

Answered by catboxanon
dayunbao asked this question in Q&A
Discussion options

You must be logged in to vote

The args come from the process method, here: https://github.com/hako-mikan/sd-webui-regional-prompter/blob/9fbea52380f6c31bea0b9f96cea494d4c7f559c1/scripts/rp.py#L337-L338

The example in the README for that particular extension is actually outdated now because lstop and lstop_hr are not accounted for in the params.

I haven't verified either but the my assumption is the case does need to match. It comes from the title method. https://github.com/hako-mikan/sd-webui-regional-prompter/blob/9fbea52380f6c31bea0b9f96cea494d4c7f559c1/scripts/rp.py#L208-L209

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dayunbao
Comment options

Answer selected by dayunbao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants