curl --location 'https://api.uni-router.net/v1/images/generations/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "wan2.7-image",
"prompt": "一只小狗在草地奔跑",
"n": 1
}'{
"data": [
{
"url": "https://",
"b64_json": "",
"revised_prompt": ""
}
],
"created": 1787833695,
"metadata": {
"request_id": "058f12d9-9811-42c6-b2f1-5624406e93d8",
"output": {
"choices": [
{
"message": {
"role": "assistant",
"content": [
{
"type": "image",
"image": "https://"
}
]
},
"finish_reason": "stop"
}
],
"finished": true
},
"usage": {
"image_count": 1,
"input_tokens": 22,
"output_tokens": 2,
"total_tokens": 24,
"size": "2048*2048"
}
}
}