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

# Seed Audio 1.5 Audio Generation

> - Generate dialogue, narration, effects, and music from a prompt. Provide either `1` reference image or up to `6` audio clips for voice matching or multi-speaker dialogue. Use only one reference type per request.
- Generate up to `6` minutes of audio per request.
- Include the exact lines to speak in the prompt. Generating only music or sound effects is unsupported.
- Processing is asynchronous. Use the returned task ID to [check the result](/en/api-manual/task-management/get-task-detail). Tasks cannot be cancelled after submission.
- Output links expire after 7 days. Save the files before then.

**Billing**

- Billing is based on generated audio duration in seconds, rounded up to the next whole second.
- At submission, credits for the `6`-minute maximum are reserved (`usage.credits_reserved`), so your balance must cover that amount. The final charge uses the actual audio duration. Excess credits are refunded and any shortfall is charged. Failed tasks receive a full refund.

**Task results when `status` is `completed`**

| Field | Description |
|---|---|
| `results[0]` / `result_data[0].audio_url` | Audio URL. |
| `result_data[0].duration` | Audio duration in seconds. |
| `result_data[0].subtitles` | Subtitles in the form `[{"format": "srt", "url": "…"}, {"format": "jsonl", "url": "…"}]`: download links to the subtitle files, valid as long as the audio links. Each line of the JSONL file contains one word and its start and end times in seconds. |
| `usage.billed_seconds` / `usage.credits_used` | Billed seconds and credits actually used, respectively. |



## OpenAPI

````yaml en/api-manual/audio-series/seed-audio-1.5/seed-audio-1.5.json POST /v1/audios/generations
openapi: 3.1.0
info:
  title: Seed Audio 1.5 Audio Generation
  description: >-
    Generate up to six minutes of dialogue, narration, sound effects, and music
    from a prompt. Optionally provide one reference image or up to six voice
    samples.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.evolink.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Audio Generation
    description: Seed Audio 1.5 audio generation endpoints
paths:
  /v1/audios/generations:
    post:
      tags:
        - Audio Generation
      summary: Seed Audio 1.5 Audio Generation
      description: >-
        - Generate dialogue, narration, effects, and music from a prompt.
        Provide either `1` reference image or up to `6` audio clips for voice
        matching or multi-speaker dialogue. Use only one reference type per
        request.

        - Generate up to `6` minutes of audio per request.

        - Include the exact lines to speak in the prompt. Generating only music
        or sound effects is unsupported.

        - Processing is asynchronous. Use the returned task ID to [check the
        result](/en/api-manual/task-management/get-task-detail). Tasks cannot be
        cancelled after submission.

        - Output links expire after 7 days. Save the files before then.


        **Billing**


        - Billing is based on generated audio duration in seconds, rounded up to
        the next whole second.

        - At submission, credits for the `6`-minute maximum are reserved
        (`usage.credits_reserved`), so your balance must cover that amount. The
        final charge uses the actual audio duration. Excess credits are refunded
        and any shortfall is charged. Failed tasks receive a full refund.


        **Task results when `status` is `completed`**


        | Field | Description |

        |---|---|

        | `results[0]` / `result_data[0].audio_url` | Audio URL. |

        | `result_data[0].duration` | Audio duration in seconds. |

        | `result_data[0].subtitles` | Subtitles in the form `[{"format": "srt",
        "url": "…"}, {"format": "jsonl", "url": "…"}]`: download links to the
        subtitle files, valid as long as the audio links. Each line of the JSONL
        file contains one word and its start and end times in seconds. |

        | `usage.billed_seconds` / `usage.credits_used` | Billed seconds and
        credits actually used, respectively. |
      operationId: createSeedAudio15
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SeedAudio15Request'
            examples:
              basic:
                summary: Prompt only
                value:
                  model: seed-audio-1.5
                  prompt: >-
                    In a warm, clear female Mandarin voice, read the quoted line
                    slowly: “今天的海面很平静。” Use voice only.
                  format: mp3
              image_ref:
                summary: Reference-image generation
                value:
                  model: seed-audio-1.5
                  prompt: >-
                    Recreate the beach scene in the image. Waves roll in the
                    distance and a nearby gull calls twice. A Mandarin narrator
                    softly says, “我们到了。” Speak only the quoted line.
                  image_urls:
                    - https://example.com/beach.jpg
                  subtitles: true
              voice_id:
                summary: Use a voice ID
                value:
                  model: seed-audio-1.5
                  prompt: >-
                    Use the voice of clip 1 and say in Mandarin:
                    “各位听众朋友，大家好，欢迎收听晚间新闻。” Speak only the quoted line.
                  audio_urls:
                    - speaker://zh_female_vv_uranus_bigtts
                  format: mp3
              dialogue:
                summary: Generate a two-person dialogue from two voice samples
                value:
                  model: seed-audio-1.5
                  prompt: >-
                    Clip 1 is the host and clip 2 is the guest. In Mandarin, the
                    host asks brightly, “这是你第一次听到海浪吗？” After half a second, the
                    guest replies gently, “是的，比想象中更安静。” Speak only the two
                    quoted lines.
                  audio_urls:
                    - https://example.com/host.wav
                    - https://example.com/guest.mp3
                  format: mp3
      responses:
        '200':
          description: Audio generation task created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SeedAudioResponse'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: unsupported_parameter
                  message: >-
                    video_urls is not supported for seed-audio-1.5; use
                    seed-audio-1.5-video-to-audio
                  type: invalid_request_error
        '401':
          description: Unauthenticated; token invalid or expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: unauthorized
                  message: Invalid or expired token
                  type: authentication_error
        '402':
          description: Insufficient quota; top-up required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: insufficient_quota
                  message: Insufficient quota. Please top up your account.
                  type: insufficient_quota
        '403':
          description: No access permission
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: model_access_denied
                  message: 'Token does not have access to model: seed-audio-1.5'
                  type: invalid_request_error
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: rate_limit_exceeded
                  message: Too many requests, please try again later
                  type: rate_limit_error
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: internal_error
                  message: Internal server error
                  type: api_error
components:
  schemas:
    SeedAudio15Request:
      type: object
      required:
        - model
        - prompt
      properties:
        model:
          type: string
          description: Model name
          enum:
            - seed-audio-1.5
          default: seed-audio-1.5
          example: seed-audio-1.5
        prompt:
          type: string
          description: >-
            Describe the sound and quote the exact lines to speak. Identify each
            speaker and language. Assign any reference clips to roles (for
            example, clip 1 is the host and clip 2 is the guest). Use
            `[start_seconds:end_seconds]` to time individual sounds.
          example: >-
            In a warm, clear female Mandarin voice, slowly read only the quoted
            line: “你好，这是一次接口测试。” Use voice only.
        image_urls:
          type: array
          description: >-
            Use `1` reference image to guide sound generation. **Do not combine
            with `audio_urls`.** Supply a public URL.


            - Width and height: `300`–`6000` pixels each. Aspect ratio:
            `0.4`–`2.5`.

            - Formats: `jpeg`, `png`, `webp`, `bmp`, `tiff`, `gif`, `heic`,
            `heif`. File size must be **under** `10 MB`.
          items:
            type: string
          maxItems: 1
          example:
            - https://example.com/beach.jpg
        audio_urls:
          type: array
          description: >-
            Provide voice samples for voice matching or multi-speaker dialogue.
            **Do not combine with `image_urls`.**


            - Supply up to `6` items (clips and voice IDs combined), numbered
            from 1 in array order. In `prompt`, assign each clip to a role (for
            example, clip 1 is the host and clip 2 is the guest).

            - Each item is a public URL of a voice sample, or a **voice ID**
            written as `speaker://<voice_type>`, for example
            `speaker://zh_female_vv_uranus_bigtts`. See [Seed Audio 1.5
            voices](/en/api-manual/audio-series/seed-audio-1.5/seed-audio-1.5-voices)
            for the available voices.

            - Each clip must be `2`–`30` seconds long, up to `180` seconds in
            total (voice IDs not counted).

            - Formats: `wav` or `mp3`, up to `15 MB` per clip.
          items:
            type: string
          maxItems: 6
          example:
            - https://example.com/host.wav
        format:
          type: string
          description: >-
            Output audio format


            - `wav` (default) or `mp3`

            - `ogg_opus` supports only `48000` Hz.

            - `pcm` returns raw 16-bit audio without a header. Standard media
            players need additional processing to play it.
          enum:
            - wav
            - mp3
            - pcm
            - ogg_opus
          default: wav
          example: mp3
        sample_rate:
          type: integer
          description: >-
            Output sample rate in Hz. For `wav`, `mp3`, and `pcm`, choose any
            listed rate (default `44100`). For `ogg_opus`, the only valid rate
            is `48000`, which is selected automatically if omitted.
          enum:
            - 8000
            - 16000
            - 24000
            - 32000
            - 44100
            - 48000
          default: 44100
          example: 24000
        speech_rate:
          type: integer
          description: >-
            Speech rate as an integer from `-50` to `100`. At `0` (default),
            speech plays at normal speed. `100` is about twice as fast and `-50`
            is about half speed.
          minimum: -50
          maximum: 100
          default: 0
          example: 10
        loudness_rate:
          type: integer
          description: >-
            Volume as an integer from `-50` to `100`. `0` is the normal volume
            (default). `100` is about twice as loud and `-50` is about half as
            loud.
          minimum: -50
          maximum: 100
          default: 0
          example: 0
        pitch_rate:
          type: integer
          description: >-
            Pitch adjustment in **semitones**, from `-12` to `12`. `0` (default)
            leaves pitch unchanged. `12` raises it one octave and `-12` lowers
            it one octave.
          minimum: -12
          maximum: 12
          default: 0
          example: 0
        subtitles:
          type: boolean
          description: >-
            Include subtitles.


            `true` returns download links to the subtitle files in both `srt`
            and `jsonl` formats in the task result. The default is `false` (no
            subtitles).
          default: false
          example: true
        callback_url:
          type: string
          description: >-
            HTTPS callback URL invoked when the task finishes


            **When it fires:**

            - Triggered when the task is completed, failed, or cancelled

            - Sent after billing is finalized


            **Security restrictions:**

            - HTTPS only

            - Callbacks to internal IP addresses are forbidden (127.0.0.1,
            10.x.x.x, 172.16-31.x.x, 192.168.x.x, etc.)

            - URL length must not exceed `2048` characters


            **Callback mechanism:**

            - Timeout: `10` seconds

            - Up to `3` retries on failure (at `1` / `2` / `4` seconds after
            each failure)

            - The callback body has the same format as the task-query response

            - A 2xx response is treated as success; other status codes trigger a
            retry
          format: uri
          example: https://your-domain.com/webhooks/audio-completed
    SeedAudioResponse:
      type: object
      properties:
        created:
          type: integer
          description: Task creation timestamp
          example: 1795776000
        id:
          type: string
          description: Task ID
          example: task-unified-1795776000-abcd1234
        model:
          type: string
          description: The model actually used
          example: seed-audio-1.5
        object:
          type: string
          enum:
            - audio.generation.task
          description: Specific task type
        progress:
          type: integer
          description: Task progress percentage (0-100)
          minimum: 0
          maximum: 100
          example: 0
        status:
          type: string
          description: Task status
          enum:
            - pending
            - processing
            - completed
            - failed
          example: processing
        task_info:
          $ref: '#/components/schemas/AudioTaskInfo'
          description: Detailed audio task information
        type:
          type: string
          enum:
            - audio
          description: Task output type
          example: audio
        usage:
          $ref: '#/components/schemas/AudioUsage'
          description: Usage and billing information
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Error code identifier
            message:
              type: string
              description: Error description
            type:
              type: string
              description: Error type
    AudioTaskInfo:
      type: object
      properties:
        can_cancel:
          type: boolean
          description: >-
            Whether the task can be cancelled. This model does not support
            cancellation after submission.
          example: false
        estimated_time:
          type: integer
          description: Estimated time to completion (seconds)
          minimum: 0
          example: 15
        audio_type:
          type: string
          description: Audio task type
          example: audio_generation
    AudioUsage:
      type: object
      description: Usage information
      properties:
        credits_reserved:
          type: number
          description: >-
            Credits reserved for the 6-minute maximum. The final charge uses the
            actual audio duration. Any difference is refunded or charged.
          minimum: 0
          example: 61.2
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        All endpoints require Bearer Token authentication


        **Get your API Key:**


        Visit the [API Key management page](https://evolink.ai/dashboard/keys)
        to obtain your API Key


        **Add it to the request header:**

        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````

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