how to change stable diffusion models by API ??? #8683
-
Beta Was this translation helpful? Give feedback.
Answered by
missionfloyd
Mar 16, 2023
Replies: 1 comment 7 replies
-
|
From the wiki: url = "http://127.0.0.1:7860"
option_payload = {
"sd_model_checkpoint": "Anything-V3.0-pruned.ckpt [2700c435]",
"CLIP_stop_at_last_layers": 2
}
response = requests.post(url=f'{url}/sdapi/v1/options', json=option_payload) |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
aIFzzf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

From the wiki: