本文档由 云音工坊 自动生成,如有疑问,请联系客服微信:yuntts !
{
"model": "gpt-image-2",
"prompt": "生成一张未来城市夜景海报,霓虹灯,电影感构图",
"size": "16:9",
"resolution": "2k",
"n": 1,
"response_format": "url",
"client_business_id": "order_20260914_001"
}curl --location 'https://www.yuntts.com/api/v1/yunimg/images/generations' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-image-2",
"prompt": "生成一张未来城市夜景海报,霓虹灯,电影感构图",
"size": "16:9",
"resolution": "2k",
"n": 1,
"response_format": "url",
"client_business_id": "order_20260914_001"
}'{
"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
}