You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to use Dynamic Prompt via code? I have it working currently via Automatic1111 UI.
I do run a bunch a code to generate images.
this is a typical payload I use to generate images.
payload = {
"prompt": currentPrompt,
"steps": 30,
"cfg_scale": 8.5,
"width": 512,
"height": 768,
"batch_size": 1,
"negative_prompt": "mutilated, extra fingers, mutated hands, poorly drawn eyes, mutation, deformed, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck)"
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any way to use Dynamic Prompt via code? I have it working currently via Automatic1111 UI.
I do run a bunch a code to generate images.
this is a typical payload I use to generate images.
payload = {
"prompt": currentPrompt,
"steps": 30,
"cfg_scale": 8.5,
"width": 512,
"height": 768,
"batch_size": 1,
"negative_prompt": "mutilated, extra fingers, mutated hands, poorly drawn eyes, mutation, deformed, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck)"
}
Beta Was this translation helpful? Give feedback.
All reactions