本文档由 云音工坊 自动生成,如有疑问,请联系客服微信:yuntts !
curl --location 'https://www.yuntts.com/api/v1/yunimg/images/generations/' \
--header 'Authorization: Bearer '{
"id": "tsk_img_01M6P187GE337D4ZABB39Q2HYC",
"client_business_id": "smoketest_2_6_001",
"object": "generation.task",
"model": "gpt-image-2.6-flare-official",
"status": "completed",
"progress": 100,
"created_at": 1793888361,
"finished_at": 1793888380,
"completed_at": 1793888380,
"expires_at": 1793974780,
"result": {
"type": "image",
"data": [
{
"url": "https://www.yuntts.com/images/tsk_img_01M6P187GE337D4ZABB39Q2HYC/1793888377_2b8e7ee8.png"
}
]
},
"usage": {
"charge_type": "per_token",
"billed_tokens": 839,
"input_tokens": 15,
"output_tokens": 824,
"total_tokens": 839,
"input_tokens_details": {
"text_tokens": 15,
"image_tokens": 0,
"cached_tokens": 0,
"cached_tokens_details": {
"text_tokens": 0,
"image_tokens": 0
}
},
"output_tokens_details": {
"text_tokens": 0,
"image_tokens": 824
}
},
"charge": 0.2499
}