本文档由 云音工坊 自动生成,如有疑问,请联系客服微信:yuntts !
{
"model": "gpt-image-2-official",
"prompt": "星空下的古老城堡,电影感光影,超写实风格",
"size": "16:9",
"resolution": "2k",
"quality": "high",
"n": 1,
"background": "opaque",
"output_format": "jpeg",
"output_compression": 90,
"client_business_id": "order_20260914_005"
}curl --location 'https://www.yuntts.com/api/v1/yunimg/images/generations' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-image-2-official",
"prompt": "星空下的古老城堡,电影感光影,超写实风格",
"size": "16:9",
"resolution": "2k",
"quality": "high",
"n": 1,
"background": "opaque",
"output_format": "jpeg",
"output_compression": 90,
"client_business_id": "order_20260914_005"
}'{
"id": "tsk_img_01M6P187GE337D4ZABB39Q2HYC",
"object": "generation.task",
"model": "gpt-image-2.6-flare-official",
"status": "queued",
"progress": 0,
"created_at": 1793888361,
"completed_at": 0,
"expires_at": 0
}