Submit Image Task
submit_image_taskStarts one Fotor image generation or editing task at native resolution. May consume existing Fotor credits. Returns a task ID without waiting for completion; use get_task to check its status once. This tool does not poll for completion. Repeating the request may create another task and consume additional credits. Do not automatically retry when the submission outcome is uncertain. This tool does not purchase credits or initiate a checkout flow.
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": {
"model_id": "<model_id>",
"prompt": "<prompt>"
},
"name": "submit_image_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extra | No | Background and format options for models supporting image extras. | |
| prompt | Yes | Describe the desired content, style and changes. | |
| quality | No | Quality option from list_models; omit to use the model default. | |
| model_id | Yes | Model ID from list_models; inspect its supported mode and parameters first. | |
| image_urls | No | Reference image URLs (HTTPS), in order. Omit for text-to-image; supply for editing or image guidance. | |
| resolution | No | Native output resolution from list_models; auto uses the model default. | auto |
| aspect_ratio | No | Output aspect ratio supported by the model; auto uses its default. | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Submission accepted; generation is not yet confirmed complete. | submitted |
| task_id | Yes | Fotor task ID for get_task. | |
| model_id | Yes | Model ID used for this task. | |
| media_type | Yes | Generated media category. | |
| credits_increment | No | Reported task credit cost; not an additional charge on each query. Null if unavailable. |