> ## Documentation Index
> Fetch the complete documentation index at: https://apixo.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Seed Audio 1.5 API: Audio Generation and Video Dubbing

> Generate speech and scene audio, add sound to video, translate and dub dialogue, or separate audio tracks with the Seed Audio 1.5 API.

## Overview

| Capability | Value |
| - | - |
| Model ID | `seed-audio-1-5` |
| Delivery | Async polling or webhook callback |
| Output | WAV, MP3, or Ogg Opus audio, optional video, and optional subtitle files |

| Mode | Required input | What it does |
| - | - | - |
| `audio-generation` | `prompt` | Create speech or scene audio, with optional reference audio. |
| `video-voice-over` | `video_urls`, `prompt` | Add narration or sound guided by the original video. |
| `video-dubbing` | `video_urls`, `target_language` | Detect the source language and dub the dialogue into the selected language. |
| `audio-separation` | `audio_urls`, `prompt` | Extract tracks such as speech, music, and sound effects. |

## Endpoint and authentication

Base URL:

```text theme={null}
https://api.apixo.ai/api/v1
```

| Method | Endpoint | Purpose |
| - | - | - |
| `POST` | `/generateTask/seed-audio-1-5` | Submit an audio task |
| `GET` | `/statusTask/seed-audio-1-5?taskId={taskId}` | Read task status and results |

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

## Request examples

### Generate audio

```bash theme={null}
curl -X POST 'https://api.apixo.ai/api/v1/generateTask/seed-audio-1-5' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"input":{"mode":"audio-generation","prompt":"Say in a warm voice: \"Welcome to the studio.\""}}'
```

### Voice over a video

```json theme={null}
{
  "input": {
    "mode": "video-voice-over",
    "video_urls": ["https://example.com/shoreline.mp4"],
    "prompt": "As the sea comes into view, say: \"This is where it begins.\" Add gentle waves.",
    "include_video": true
  }
}
```

### Dub a video and request both subtitle sets

```json theme={null}
{
  "input": {
    "mode": "video-dubbing",
    "video_urls": ["https://example.com/interview-zh.mp4"],
    "target_language": "en",
    "glossaries": [{"source": "星海计划", "target": "Project Starsea"}],
    "include_video": true,
    "include_subtitles": true,
    "include_source_subtitles": true
  }
}
```

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

### Separate audio tracks

```json theme={null}
{
  "input": {
    "mode": "audio-separation",
    "audio_urls": ["https://example.com/scene-mix.wav"],
    "prompt": "Separate the dialogue, background music, and sound effects."
  }
}
```

## Parameters

**request\_type** `string` (default: async)

Delivery mode. Supported values: `async`, `callback`.

**callback\_url** `string`

Required when `request_type` is `callback`. Use a public HTTPS URL that receives completion events. See [Webhooks](https://apixo.ai/docs/api-reference/webhooks.md).

**input** `object` *required*

Seed Audio 1.5 task inputs.

**properties**

**mode** `string` *required*

Task mode. Supported values: `audio-generation`, `video-voice-over`, `video-dubbing`, `audio-separation`.

**prompt** `string`

Required for audio generation, video voice-over, and audio separation. Provide the words to speak and any scene instructions, or describe which tracks to extract. Leave it out for video dubbing.

**audio\_urls** `string[]`

Public HTTP(S) URLs for WAV or MP3 files. Audio generation and video voice-over optionally take one to six references, each 2–30 seconds. Use `@audio1`, `@audio2`, and so on in the prompt to refer to them in order. Audio separation requires exactly one audio file, 2–360 seconds.

**video\_urls** `string[]`

Exactly one public HTTP(S) URL for a 4–360 second MP4 or MOV. Required for video voice-over and video dubbing.

**format** `string` (default: wav)

Audio download format. Supported values: `wav`, `mp3`, `ogg_opus`.

**sample\_rate** `integer`

Audio sample rate in Hz. For `wav` and `mp3`, supported values are `8000`, `16000`, `24000`, `32000`, `44100`, and `48000`, with a default of `44100`. For `ogg_opus`, `48000` is the default and only accepted rate. Omit this field to use the default for the selected format.

**speech\_rate** `integer` (default: 0)

Speech rate adjustment from -50 to 100. Applies to audio generation and video voice-over.

**loudness\_rate** `integer` (default: 0)

Loudness adjustment from -50 to 100. Applies to audio generation and video voice-over.

**pitch\_rate** `integer` (default: 0)

Pitch adjustment from -12 to 12. Applies to audio generation and video voice-over.

**target\_language** `string`

Required for video dubbing, including when you supply your own subtitles. The source language is detected automatically. Supported values: `zh`, `en`, `ja`, `ko`, `de`, `fr`, `pt-BR`, `th`, `id`, `vi`, `ms`, `fil`, `it`, `ru`, `nl`, `pl`, `tr`, `sv`, `es-ES`, `es-MX`, `ar`, `pt-PT`, `fi`, `da`, `no`, `cs`, `hu`, `el`, `ro`, `hi`.

**glossaries** `object[]`

Optional translation preferences for video dubbing. Each entry has a non-empty `source` phrase and a non-empty `target` translation. Use it for terms, names, or brands. Mutually exclusive with `custom_subtitle_url`.

**custom\_subtitle\_url** `string`

Optional public HTTP(S) URL of a UTF-8 SRT file in the target language for video dubbing. Each segment can be up to 15 seconds. The supplied SRT provides the dialogue for dubbing. Mutually exclusive with `glossaries`.

**dialogue\_enhancement** `string` (default: off)

Dialogue enhancement level for video dubbing. Supported values: `off`, `low`, `medium`, `high`.

**include\_video** `boolean` (default: false)

Request a video with the generated or dubbed audio. Applies to video voice-over and video dubbing.

**include\_subtitles** `boolean` (default: false)

Request target-language SRT and JSONL subtitle files for video dubbing.

**include\_source\_subtitles** `boolean` (default: false)

Request source-language SRT and JSONL subtitle files for video dubbing.

## 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`.

```bash theme={null}
curl 'https://api.apixo.ai/api/v1/statusTask/seed-audio-1-5?taskId=YOUR_TASK_ID' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

This successful dubbing response includes the optional video and both subtitle sets.

```json theme={null}
{
  "code": 200,
  "message": "success",
  "data": {
    "taskId": "YOUR_TASK_ID",
    "state": "success",
    "resultJson": "{\"resultUrls\":[\"https://file.apixo.ai/dubbed-audio.wav\",\"https://file.apixo.ai/dubbed-video.mp4\"]}",
    "final_duration": 8,
    "extraResults": {
      "target_language": "en",
      "subtitles": {
        "srt_url": "https://file.apixo.ai/target.srt",
        "jsonl_url": "https://file.apixo.ai/target.jsonl"
      },
      "source_subtitles": {
        "srt_url": "https://file.apixo.ai/source.srt",
        "jsonl_url": "https://file.apixo.ai/source.jsonl"
      }
    }
  }
}
```

| Success field | Meaning |
| - | - |
| `data.resultJson` | A JSON string. Parse it once to read `resultUrls`. Audio appears in track order, followed by the optional video. |
| `data.final_duration` | The billable duration rounded up to a whole second. Omitted when the duration is unavailable. |
| `data.extraResults.target_language` | The target language selected for video dubbing. |
| `data.extraResults.subtitles` | Target-language subtitle download links in `srt_url` and `jsonl_url` when returned. |
| `data.extraResults.source_subtitles` | Source-language subtitle download links in the same format. |
| `data.extraResults.audio_tracks` | Audio separation labels when returned. Each entry has a zero-based `result_index` into `resultUrls` and can contain `type` and `description`. |

`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

| Scenario | Standard rate |
| - | -: |
| `audio-generation` or `video-voice-over` | \$0.15 per minute |
| `video-dubbing` with audio output | \$0.60 per minute |
| `video-dubbing` with audio and video output | \$0.90 per minute |
| `audio-separation` | \$0.05 per minute |

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](https://apixo.ai/pricing/api) 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](https://apixo.ai/docs/guides/mcp-model-contracts.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.