{
"model": "stabilityai/stable-diffusion-2-1",
"prompt":" an island near sea, with seagulls, moon shining over the sea, light house, boats int he background, fish flying over the sea",
"negative_prompt":"",
"image_size":"1024x1024",
"batch_size":1,
"seed":51515151,
"num_inference_steps":20,
"guidance_scale":7.5
}
curl --location --request POST 'https://duomiapi.com/v1/images/generations' \
--header 'Authorization: Bh3oi26r1FPFCMrJ59RKngSXB2' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "stabilityai/stable-diffusion-2-1",
"prompt":" an island near sea, with seagulls, moon shining over the sea, light house, boats int he background, fish flying over the sea",
"negative_prompt":"",
"image_size":"1024x1024",
"batch_size":1,
"seed":51515151,
"num_inference_steps":20,
"guidance_scale":7.5
}'
{
"images": [
{
"url": "https://sf-maas-uat-prod.oss-cn-shanghai.aliyuncs.com/outputs/b5e4b0ae-fe0c-451a-9cf5-657234887520_0.jpeg"
}
],
"timings": {
"inference": 14.772
},
"seed": 51515151,
"shared_id": "0",
"data": [
{
"url": "https://sf-maas-uat-prod.oss-cn-shanghai.aliyuncs.com/outputs/b5e4b0ae-fe0c-451a-9cf5-657234887520_0.jpeg"
}
],
"created": 1730173193
}