curl --location --request POST 'http://dev-cn.your-api-server.comv1/generation/stable-diffusion-v1-6/text-to-image?Accept&Organization=org-123456&Stability-Client-ID =my-great-plugin&Stability-Client-Version =1.2.1' \
--header 'Content-Type: application/json' \
--data-raw '{
"text_prompts": [
{
"text": "A lighthouse on a cliff"
}
],
"cfg_scale": 7,
"height": 1024,
"width": 1024,
"samples": 1,
"steps": 30
}'
{
"artifacts": [
[
{
"base64": "...very long string...",
"finishReason": "SUCCESS",
"seed": 1050625087
},
{
"base64": "...very long string...",
"finishReason": "CONTENT_FILTERED",
"seed": 1229191277
}
]
]
}