Skip to content

How to approach newer functions (detailer, control, ...) via the API? #3513

Answered by vladmandic
anothertal3 asked this question in Q&A
Discussion options

You must be logged in to vote

regarding control, there is api example in cli/api-contro.py.

detailer is simple, its just a checkbox in any generate request (txt2img, img2img, control) - detailer: true
detailer settings are in global server settings, so they can be set using /sdapi/v1/options api endpoint before calling generate.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by anothertal3
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