submit_image_task
Start an asynchronous image-generation request and get a task ID; poll or cancel it with companion tools to retrieve results without blocking.
Instructions
Submit an image-generation task without waiting; returns task_id.
Poll with get_image_task, or cancel with cancel_image_task.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "submit_image_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| size | No | 1024*1024 | |
| model | No | wan2.2-t2i-flash | |
| prompt | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |