Qwen Image Task API Integration Guide
Use POST https://api2.yujuntc.fun/qwen-image/tasks to query asynchronous image generation tasks. This query interface is free.
curl -X POST 'https://api2.yujuntc.fun/qwen-image/tasks' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"action":"retrieve","id":"TASK_ID"}'
For batch queries, use action=retrieve_batch and the ids array. After the task is successful, response.data contains the permanent addresses of the generated images and the actual usage.