Submit Speech Task
submit_speech_taskGenerates Fotor speech or a scripted podcast with built-in voices. Returns an MP3 when completed. Credits depend on the finished duration. May consume existing Fotor credits. Waits for the upstream response and returns the task ID with the completed result when available. If the task is still processing, 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": {
"mode": "<mode>"
},
"name": "submit_speech_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | tts: one text and voice; podcast: a sequence of spoken turns. Supply only fields for the chosen mode. | |
| voice | No | Built-in voice; required for tts only. | |
| content | No | Text to speak; required for tts only. | |
| conversations | No | Ordered dialogue turns; required for podcast only. Each turn selects its own voice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Stable failure code; null when no failure is reported. | |
| status | Yes | Observed task state. processing does not distinguish queued or running; unknown is an unrecognized upstream state. | |
| task_id | Yes | Fotor task ID for get_task. | |
| model_id | Yes | Model ID used for this task. | |
| task_type | Yes | Audio operation performed. | |
| media_type | No | Generated media category. | audio |
| result_url | No | Completed output URL; availability is not guaranteed permanently. Audio output may be MP3 or ZIP. | |
| is_terminal | Yes | Whether the task has completed, failed, timed out or been cancelled. | |
| result_format | No | Completed file format: mp3 audio or zip archive; null until completed. | |
| failure_reason | No | Safe failure summary; may be generic rather than the upstream root cause. | |
| credits_increment | No | Reported task credit cost; not an additional charge on each query. Null if unavailable. |