Submit Text To Video Task
submit_text_to_video_taskStarts one Fotor text-to-video generation task. 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_text_to_video_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Describe the desired content, style and changes. | |
| duration | No | Video duration in seconds from list_models; 0 uses default_duration. | |
| model_id | Yes | Model ID from list_models; inspect its supported mode and parameters first. | |
| 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 |
| 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. |