Submit Soundtrack Task
submit_soundtrack_taskStarts one Fotor soundtrack task from an image or video. Returns independent MP3 music. 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
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "submit_soundtrack_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Describe the desired music. | |
| model_id | No | Soundtrack model ID from list_models. | mureka-auto |
| image_url | No | Accessible HTTPS image URL (jpg, jpeg, png or webp). Provide exactly one of image_url or video_url. | |
| video_url | No | Accessible HTTPS video URL (mp4, mov, avi, mkv or webm). Provide exactly one of image_url or video_url. | |
| audio_end_ms | No | Soundtrack end in integer milliseconds. | |
| audio_start_ms | No | Soundtrack start in integer milliseconds. With audio_end_ms, use an interval of at least 3000 ms. |
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. |