Submit Audio Track Task
submit_audio_track_taskStarts one Fotor audio track generation task. Creates a new track from reference audio; use submit_audio_separation_task to extract existing vocals and accompaniment. 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": {
"audio_url": "<audio_url>",
"generate_type": "<generate_type>",
"prompt": "<prompt>"
},
"name": "submit_audio_track_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lyrics | No | Lyrics for generated vocals. | |
| prompt | Yes | Describe the desired track style and sound. | |
| audio_url | Yes | Accessible HTTPS reference audio URL. | |
| vocal_gender | No | Singing voice gender; only valid for generate_type=Vocals. | |
| generate_type | Yes | Track to generate: Vocals = singing voice; Instrumental = music without vocals; Drums = drum kit; Bass = bass part; Guitar = guitar; Keyboard = keyboard instruments; Percussion = percussion; Strings = string section; Synth = synthesizer; FX = sound effects; Brass = brass section; Woodwinds = woodwind section. | |
| generate_end_ms | No | Reference segment end in integer milliseconds. | |
| generate_start_ms | No | Reference segment start in integer milliseconds. |
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. |