Get Generation Task
Qwen Image Edit Max
Qwen Image Edit Max Task
Retrieve the status and result of a generation task
GET
Get Generation Task
Documentation Index
Fetch the complete documentation index at: https://mulerouter.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Retrieve the status and result of a qwen-image-edit-max generation task.Task Status
| Status | Description |
|---|---|
pending | Task is waiting to be processed |
processing | Task is currently being processed |
completed | Task completed successfully |
failed | Task failed with an error |
Response
When the task is completed, the response will include the generated/edited image URLs in theimages array. Each URL is valid for 24 hours.
Example Responses
Completed Task
Pending Task
Processing Task
Failed Task
Polling Guidelines
For asynchronous task processing:- Initial Wait: Wait at least 2-3 seconds before the first poll
- Poll Interval: Poll every 2-3 seconds for
pendingorprocessingstatus - Timeout: Consider implementing a timeout (e.g., 5 minutes) for long-running tasks
- Exponential Backoff: Consider increasing poll intervals for longer tasks
Error Handling
If the task fails, check theerror object in task_info for details:
- code: Numeric error code identifying the error type
- title: Brief error description
- detail: Detailed explanation of what went wrong
- Invalid or prohibited content in prompt
- Image file size exceeds limit
- Unsupported image format
- Invalid resolution parameters
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

