Submit Video Edit Task
submit_video_edit_taskEdits a source video using instructions and optional image/audio references. Preserves the source duration and aspect ratio; source length is validated upstream. 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>",
"video_url": "<video_url>"
},
"name": "submit_video_edit_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Describe the desired content, style and changes. | |
| model_id | Yes | Model ID from list_models; inspect its supported mode and parameters first. | |
| audio_url | No | Optional single HTTPS reference audio URL; independent of audio_enable. | |
| video_url | Yes | Source video HTTPS URL. OpenAPI probes its duration and requires 4-30 rounded-up seconds. | |
| image_urls | No | Optional ordered HTTPS reference images. <<<image_n>>> references use 1-based numbering. | |
| resolution | No | Native output resolution from list_models; auto uses the model default. | auto |
| audio_enable | No | Generate native video audio; requires native_audio support. Independent of reference audio. |
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. |