POST https://api.tokenhot.cn/v1/images/generationsqwen-image-maxcurl --location --request POST 'https://api.tokenhot.cn/v1/images/generations' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "qwen-image-max",
"input": {
"messages": [
{
"role": "user",
"content": [
{
"text": "一副典雅庄重的对联悬挂于厅堂之中,房间是个安静古典的中式布置,桌子上放着一些青花瓷,对联上左书'\''义本生知人机同道善思新'\'',右书'\''通云赋智乾坤启数高志远'\'',横批'\''智启千问'\''。"
}
]
}
]
},
"parameters": {
"prompt_extend": true,
"negative_prompt": "低质量,模糊,构图混乱,错别字",
"size": "1472*1104",
"watermark": false,
"seed": 8888
}
}'{
"output": [
{
"type": "message",
"content": [
{
"type": "image",
"text": "https://xxx.example.com/outputs.png"
}
]
}
],
"usage": {
"total_tokens": 5000,
"input_tokens": 500,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens": 4500,
"output_tokens_details": {
"reasoning_tokens": 0
}
},
"request_id": "req_uuid_qwen_image_8b1c_0e46192afc11"
}