Skip to main content

Overview

Endpoint and authentication

Base URL:
Send Authorization: Bearer YOUR_API_KEY with each request. Send Content-Type: application/json when creating a task.

Request examples

Generate audio

Voice over a video

Dub a video and request both subtitle sets

Use include_video: false or omit it to receive the dubbed audio and any requested subtitles.

Separate audio tracks

Parameters

string
default:"async"
Delivery mode. Supported values: async, callback.
string
Required when request_type is callback. Use a public HTTPS URL that receives completion events. See Webhooks.
object
required
Seed Audio 1.5 task inputs.

Response format

Save data.taskId from the submit response. Poll with that ID or use request_type: "callback" with your callback_url. Continue polling while data.state is processing. Read the result on success, or read failCode and failMsg on failed.
This successful dubbing response includes the optional video and both subtitle sets.
extraResults is omitted when there are no additional results. A successful webhook carries the same result fields. Platform timing fields such as createTime, completeTime, and costTime are in milliseconds. Use final_duration for billable seconds.

Billing

Divide final_duration by 60 and multiply by the applicable rate. For example, eight billable seconds of dubbing cost $0.08 with audio output or $0.12 with audio and video output. Audio separation sums usage across returned tracks before rounding to a whole second. The request total is rounded up to the nearest $0.001 after any applicable account discount. See API Pricing for current rates.

MCP integration

The schema declares audio, video, and SRT fields in mcp.attachments. Its mcp.result uses audio_artifacts_v1. On success, get_generation returns the primary media in download_urls and includes available final_duration and extraResults. The subtitle groups contain SRT and JSONL download links. Each audio track label uses result_index to point into download_urls. See MCP model contracts.