{
"size": "16x9",
"prompt": "cat",
"model": "qwen-image"
}
curl --location --request POST '/v1/images/generations' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"size": "16x9",
"prompt": "cat",
"model": "qwen-image"
}'
{
"created": 1755846195,
"data": [
{
"url": "https://cdn.qwenlm.ai/output/927b04fa-40cb-4372-969d-4274a18d3797/t2i/6a4ad54e-94ef-49ce-8bf3-a521185756f5/1755846195.png?key=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXNvdXJjZV91c2VyX2lkIjoiOTI3YjA0ZmEtNDBjYi00MzcyLTk2OWQtNDI3NGExOGQzNzk3IiwicmVzb3VyY2VfaWQiOiIxNzU1ODQ2MTk1IiwicmVzb3VyY2VfY2hhdF9pZCI6ImY5MmNjN2YyLTAyOTgtNGQwMS1hY2E1LTk3NmI3ZWM3ZTlmNiJ9.6jeSTAlVwAeMoflkNHx15fItX2EyPm_rMiHh0U06Ztw"
}
]
}