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

# Seed Audio 1.5

> Seed Audio 1.5 API 根据台词生成带音乐和音效的语音，可用参考音频或参考图片引导，支持语速、音量和音高调节。

> [!TIP]
>
> 1. 提交后会返回 `task_id`。如果提供了 `callback_url`，当任务状态变为 `finished` 或 `failed` 时，系统会向 `callback_url` 发送 POST 请求。
> 2. 无论是否提供 `callback_url`，都可以通过统一的[查询任务状态](https://docs.poyo.ai/zh/api-manual/task-management/status.md)接口获取结果。

`seed-audio-1.5` 把台词生成为完整的音频场景：对白、音乐和音效合在一条音轨里。可以用最多 6 段参考音频设定音色，也可以用一张参考图片设定场景。结果以任务 `files` 返回，与图像、视频、3D 和音频任务的标准响应结构一致。

## 模型

* **seed-audio-1.5** — 根据台词生成带音乐和音效的语音

同系列模型：[Seed Audio 1.5 Video Dubbing](https://docs.poyo.ai/zh/api-manual/music-series/seed-audio-1-5-video-dubbing.md)、[Seed Audio 1.5 Video Translation](https://docs.poyo.ai/zh/api-manual/music-series/seed-audio-1-5-video-translation.md)、[Seed Audio 1.5 Stem Separation](https://docs.poyo.ai/zh/api-manual/music-series/seed-audio-1-5-stem-separation.md)

## 功能

* **语音、音乐和音效**由一条提示词生成在同一条音轨里
* **多人对白**：从最多 6 段参考音频里为每个说话人指定音色
* **以图生音**：用参考图片设定场景和氛围
* **时长规划**：写一个与台词相称的时长，模型按它规划片段
* **语速、音量和音高**调节
* **MP3、WAV、PCM 或 Ogg Opus** 输出，采样率 8-48 kHz

## 输入模式

* **仅台词**：在 `prompt` 里写台词，并描述声音、音乐和音效。
* **参考音频**：加上 `reference_audio_urls` 设定音色或表演方式。
* **参考图片**：加上 `image_urls`，由图片设定场景和氛围。

## 必填参数

* `prompt`（string）：要说的台词，以及说话人、语言、情绪、语速、音乐、音效和片段时长。所有要说出来的台词都写进提示词。写一个与台词相称的时长，例如 `Create a 10-second clip`。积分按模型为片段规划的时长计算；提示词写了时长就按这个时长计，写一个接近台词所需的时长，费用就清楚可预期。传多段参考音频时，按传入顺序说明每个说话人用哪一段。

## 可选参数

* `image_urls`（array of strings）：1 个参考图片 URL，用来设定场景、氛围或说话人。每边 300-6000 像素，宽高比 0.4-2.5，不超过 10MB，需可通过 HTTP 或 HTTPS 公开访问。同一次请求里 `image_urls` 和 `reference_audio_urls` 二选一。
* `reference_audio_urls`（array of strings）：最多 6 个参考音频 URL，用来设定音色或表演方式。每段为 WAV 或 MP3，2-30 秒，不超过 15MB，需可通过 HTTP 或 HTTPS 公开访问。所有片段合计最长 180 秒。同一次请求里 `reference_audio_urls` 和 `image_urls` 二选一。
* `speed`（number）：语速倍数，范围 0.5-2，`1` 为正常语速。默认值：`1`。
* `volume`（number）：音量倍数，范围 0.5-2，`1` 为正常音量。默认值：`1`。
* `pitch`（integer）：音高偏移（半音），范围 -12 到 12。`0` 为原始音高，`-12` 低一个八度，`12` 高一个八度。默认值：`0`。
* `output_format`（string）：音频格式：`mp3`、`wav`、`pcm`（16 位原始采样数据）或 `ogg_opus`（Ogg 封装的 Opus）。默认值：`mp3`。
* `sample_rate`（integer）：输出采样率（Hz）：`8000`、`16000`、`24000`、`32000`、`44100` 或 `48000`。默认值：`44100`。`ogg_opus` 使用 `48000`。
* `enable_safety_checker`（boolean）：内容安全检查。默认值：`true`。

## 输出

任务状态为 `finished` 时，`files[0]` 是生成的音频（`file_type: audio`），格式为请求的 `output_format`。

## 示例

### 两人对话的夜市场景

```json theme={"dark"}
{
  "model": "seed-audio-1.5",
  "callback_url": "https://your-domain.com/callback",
  "input": {
    "prompt": "Create a 20-second audio scene at a busy night market. A cheerful street-food vendor (middle-aged woman, warm voice) calls out in English: 'Fresh dumplings, hot from the steamer! Two for three dollars!' A young man answers, curious: 'Are the pork ones spicy?' She laughs: 'Only if you ask nicely.' Background: sizzling woks, distant chatter and a soft lo-fi guitar loop."
  }
}
```

### 用参考音频设定音色

```json theme={"dark"}
{
  "model": "seed-audio-1.5",
  "callback_url": "https://your-domain.com/callback",
  "input": {
    "prompt": "Create a 15-second clip. Using the voice from reference audio 1, a calm museum guide says in English: 'Please gather around. This bronze bell was cast over eight hundred years ago, and it still rings in tune.' Light echo of a large stone hall and faint footsteps.",
    "reference_audio_urls": [
      "https://storage.poyo.ai/models/seed-audio-1-5/examples/input-voice-reference-4233cde89a9c.mp3"
    ]
  }
}
```

### 用参考图片设定场景

```json theme={"dark"}
{
  "model": "seed-audio-1.5",
  "callback_url": "https://your-domain.com/callback",
  "input": {
    "prompt": "Create a 15-second audio scene that matches the reference image. A cheerful fox tour guide says in English: 'Stay close, everyone, the dunes get windy after noon!' A tiny tortoise answers in a slow, sleepy voice: 'We are going as fast as we can.' Desert wind, soft footsteps in sand and a light playful ukulele tune.",
    "image_urls": [
      "https://storage.poyo.ai/covers/poyo-cover-0187cb301918.webp"
    ]
  }
}
```

### WAV 24 kHz 与声音调节

```json theme={"dark"}
{
  "model": "seed-audio-1.5",
  "callback_url": "https://your-domain.com/callback",
  "input": {
    "prompt": "Create a 5-second clip. A news anchor says in English: 'Good evening, here are tonight's top stories.' No music.",
    "speed": 1.2,
    "pitch": 2,
    "volume": 1.1,
    "output_format": "wav",
    "sample_rate": 24000,
    "enable_safety_checker": true
  }
}
```

## 注意事项

* `prompt` 里要写台词，每个片段都围绕台词生成。
* 写一个与台词相称的时长，例如 `Create a 10-second clip`。积分按模型为片段规划的时长计算；提示词写了时长就按这个时长计，写一个接近台词所需的时长，费用就清楚可预期。提示词只写台词时，模型按台词长度规划时长。
* PoYo 实测：15 秒以内的片段处理耗时 12-27 秒。


## OpenAPI

````yaml zh/api-manual/music-series/seed-audio-1-5.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: PoYo AI - Seed Audio 1.5 API
  description: Seed Audio 1.5 API 根据台词生成带音乐和音效的语音，可用参考音频或参考图片引导，支持语速、音量和音高调节。
  version: 1.0.0
servers:
  - url: https://api.poyo.ai
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Seed Audio 1.5
      summary: 提交 Seed Audio 1.5 任务
      description: Seed Audio 1.5 API 根据台词生成带音乐和音效的语音，可用参考音频或参考图片引导，支持语速、音量和音高调节。
      operationId: submit_seed_audio_1_5
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              scene:
                summary: 两人对话的夜市场景
                value:
                  model: seed-audio-1.5
                  callback_url: https://your-domain.com/callback
                  input:
                    prompt: >-
                      Create a 20-second audio scene at a busy night market. A
                      cheerful street-food vendor (middle-aged woman, warm
                      voice) calls out in English: 'Fresh dumplings, hot from
                      the steamer! Two for three dollars!' A young man answers,
                      curious: 'Are the pork ones spicy?' She laughs: 'Only if
                      you ask nicely.' Background: sizzling woks, distant
                      chatter and a soft lo-fi guitar loop.
              reference:
                summary: 用参考音频设定音色
                value:
                  model: seed-audio-1.5
                  callback_url: https://your-domain.com/callback
                  input:
                    prompt: >-
                      Create a 15-second clip. Using the voice from reference
                      audio 1, a calm museum guide says in English: 'Please
                      gather around. This bronze bell was cast over eight
                      hundred years ago, and it still rings in tune.' Light echo
                      of a large stone hall and faint footsteps.
                    reference_audio_urls:
                      - >-
                        https://storage.poyo.ai/models/seed-audio-1-5/examples/input-voice-reference-4233cde89a9c.mp3
              image:
                summary: 用参考图片设定场景
                value:
                  model: seed-audio-1.5
                  callback_url: https://your-domain.com/callback
                  input:
                    prompt: >-
                      Create a 15-second audio scene that matches the reference
                      image. A cheerful fox tour guide says in English: 'Stay
                      close, everyone, the dunes get windy after noon!' A tiny
                      tortoise answers in a slow, sleepy voice: 'We are going as
                      fast as we can.' Desert wind, soft footsteps in sand and a
                      light playful ukulele tune.
                    image_urls:
                      - >-
                        https://storage.poyo.ai/covers/poyo-cover-0187cb301918.webp
              controls:
                summary: WAV 24 kHz 与声音调节
                value:
                  model: seed-audio-1.5
                  callback_url: https://your-domain.com/callback
                  input:
                    prompt: >-
                      Create a 5-second clip. A news anchor says in English:
                      'Good evening, here are tonight's top stories.' No music.
                    speed: 1.2
                    pitch: 2
                    volume: 1.1
                    output_format: wav
                    sample_rate: 24000
                    enable_safety_checker: true
      responses:
        '200':
          description: 任务已受理；请查询任务获取最终文件。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitResponse'
        '400':
          description: 请求参数无效
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: 未授权 - API Key 无效
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    SubmitRequest:
      type: object
      required:
        - model
        - input
      properties:
        model:
          type: string
          enum:
            - seed-audio-1.5
          default: seed-audio-1.5
        callback_url:
          type: string
          format: uri
          description: 可选的任务完成或失败回调 URL。
        input:
          $ref: '#/components/schemas/ModelInput'
    SubmitResponse:
      type: object
      required:
        - code
        - data
      properties:
        code:
          type: integer
          enum:
            - 200
            - 400
            - 401
            - 402
            - 403
            - 404
            - 408
            - 429
            - 500
            - 502
            - 503
          description: >-
            业务状态码。`200` 表示成功，其他值都表示请求失败。请务必检查这个字段：部分参数校验错误会以 HTTP 200 返回，响应体里的
            `code` 为 `400`。


            - `200`：成功

            - `400`：请求参数无效

            - `401`：API Key 缺失或无效

            - `402`：积分不足

            - `403`：没有权限

            - `404`：资源不存在

            - `408`：请求超时

            - `429`：请求频率超限

            - `500`：服务器内部错误

            - `502`：上游服务错误

            - `503`：服务暂不可用


            详见[错误码](/zh/api-manual/error-codes)。
          example: 200
        data:
          type: object
          required:
            - task_id
            - status
            - created_time
          properties:
            task_id:
              type: string
              example: task-unified-1796000000-example
            status:
              type: string
              enum:
                - not_started
                - running
                - finished
                - failed
              example: not_started
              description: >-
                任务状态。提交后立即返回时始终为
                `not_started`。后续状态请通过[查询任务状态](/zh/api-manual/task-management/status)接口或
                `callback_url` 获取。


                - `not_started`：排队中，等待处理

                - `running`：生成中

                - `finished`：已完成，结果在 `files` 或 `output` 中

                - `failed`：失败，详情见 `error_message`
            created_time:
              type: string
              format: date-time
              example: '2026-12-01T10:30:00+08:00'
    ErrorResponse:
      type: object
      required:
        - code
        - error
      properties:
        code:
          type: integer
          enum:
            - 200
            - 400
            - 401
            - 402
            - 403
            - 404
            - 408
            - 429
            - 500
            - 502
            - 503
          description: >-
            业务状态码。`200` 表示成功，其他值都表示请求失败。请务必检查这个字段：部分参数校验错误会以 HTTP 200 返回，响应体里的
            `code` 为 `400`。


            - `200`：成功

            - `400`：请求参数无效

            - `401`：API Key 缺失或无效

            - `402`：积分不足

            - `403`：没有权限

            - `404`：资源不存在

            - `408`：请求超时

            - `429`：请求频率超限

            - `500`：服务器内部错误

            - `502`：上游服务错误

            - `503`：服务暂不可用


            详见[错误码](/zh/api-manual/error-codes)。
          example: 400
        error:
          type: object
          required:
            - message
            - type
          properties:
            message:
              type: string
              example: Invalid request parameters
            type:
              type: string
              example: invalid_request_error
    ModelInput:
      type: object
      additionalProperties: false
      required:
        - prompt
      description: 音频生成的台词、声音参考和输出设置。
      properties:
        prompt:
          type: string
          minLength: 1
          description: >-
            要说的台词，以及说话人、语言、情绪、语速、音乐、音效和片段时长。所有要说出来的台词都写进提示词。写一个与台词相称的时长，例如
            `Create a 10-second
            clip`。积分按模型为片段规划的时长计算；提示词写了时长就按这个时长计，写一个接近台词所需的时长，费用就清楚可预期。传多段参考音频时，按传入顺序说明每个说话人用哪一段。
        image_urls:
          type: array
          maxItems: 1
          items:
            type: string
            format: uri
          description: >-
            1 个参考图片 URL，用来设定场景、氛围或说话人。每边 300-6000 像素，宽高比 0.4-2.5，不超过 10MB，需可通过
            HTTP 或 HTTPS 公开访问。同一次请求里 `image_urls` 和 `reference_audio_urls` 二选一。
        reference_audio_urls:
          type: array
          maxItems: 6
          items:
            type: string
            format: uri
          description: >-
            最多 6 个参考音频 URL，用来设定音色或表演方式。每段为 WAV 或 MP3，2-30 秒，不超过 15MB，需可通过 HTTP 或
            HTTPS 公开访问。所有片段合计最长 180 秒。同一次请求里 `reference_audio_urls` 和
            `image_urls` 二选一。
        speed:
          type: number
          minimum: 0.5
          maximum: 2
          default: 1
          description: 语速倍数，范围 0.5-2，`1` 为正常语速。默认值：`1`。
        volume:
          type: number
          minimum: 0.5
          maximum: 2
          default: 1
          description: 音量倍数，范围 0.5-2，`1` 为正常音量。默认值：`1`。
        pitch:
          type: integer
          minimum: -12
          maximum: 12
          default: 0
          description: 音高偏移（半音），范围 -12 到 12。`0` 为原始音高，`-12` 低一个八度，`12` 高一个八度。默认值：`0`。
        output_format:
          type: string
          enum:
            - mp3
            - wav
            - pcm
            - ogg_opus
          default: mp3
          description: >-
            音频格式：`mp3`、`wav`、`pcm`（16 位原始采样数据）或 `ogg_opus`（Ogg 封装的
            Opus）。默认值：`mp3`。
        sample_rate:
          type: integer
          enum:
            - 8000
            - 16000
            - 24000
            - 32000
            - 44100
            - 48000
          default: 44100
          description: >-
            输出采样率（Hz）：`8000`、`16000`、`24000`、`32000`、`44100` 或
            `48000`。默认值：`44100`。`ogg_opus` 使用 `48000`。
        enable_safety_checker:
          type: boolean
          default: true
          description: 内容安全检查。默认值：`true`。
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        所有 API 接口都需要 Bearer Token 认证。


        创建 API Key：登录 PoYo，进入 **仪表盘 → API
        密钥**（[poyo.ai/zh/dashboard/api-key](https://poyo.ai/zh/dashboard/api-key)），点击创建
        Key。


        在请求头中添加：


        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````

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