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

# Seed Audio 1.5

> Generate spoken dialogue with ambience and effects. Quote the lines and optionally provide one image or up to six reference voices.

With a target duration, billing uses the requested seconds even if playback is shorter or longer. Omit `duration` to reserve 72 tokens ($1.44). The final charge uses the billable seconds reported by the model, which can differ from playback length.

One audio file, followed by any requested subtitles.

Generate spoken dialogue with ambience and effects. Quote the lines and optionally provide one image or up to six reference voices.

| Billing unit | Tokens | USD |
| - | -: | -: |
| Per second of speech | 0.2 | \$0.004 |

With a target duration, billing uses the requested seconds even if playback is shorter or longer. Omit `duration` to reserve 72 tokens (\$1.44). The final charge uses the billable seconds reported by the model, which can differ from playback length.

Use the returned `img_uuid` to poll `GET /api/v1/jobs/detail`, or pass `custom_callback_url`. One audio file, followed by any requested subtitles. Download each file from its `json[].value` URL. For output-based billing, successful job details include `cost` and `billed_seconds`.


## OpenAPI

````yaml api-reference/audio-generations/openapi-seed-audio-1-5.json POST /api/v1/audio/generations
openapi: 3.1.0
info:
  title: GoEnhance API - Seed Audio 1.5
  version: 1.0.0
servers:
  - url: https://api.goenhance.ai
security: []
paths:
  /api/v1/audio/generations:
    post:
      tags:
        - AudioGenerations
      summary: Seed Audio 1.5
      description: >-
        Generate spoken dialogue with ambience and effects. Quote the lines and
        optionally provide one image or up to six reference voices.


        With a target duration, billing uses the requested seconds even if
        playback is shorter or longer. Omit `duration` to reserve 72 tokens
        ($1.44). The final charge uses the billable seconds reported by the
        model, which can differ from playback length.


        One audio file, followed by any requested subtitles.
      parameters:
        - name: Authorization
          in: header
          description: Your GoEnhance API key.
          required: true
          example: '{{Authorization}}'
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                model:
                  type: string
                  enum:
                    - seed-audio-1-5
                prompt:
                  type: string
                  minLength: 1
                  maxLength: 10000
                  description: >-
                    Describe the scene and quote the exact words each speaker
                    should say. Music-only or effects-only prompts are
                    unsupported.
                duration:
                  type: integer
                  minimum: 5
                  maximum: 360
                  description: >-
                    Target and billed length. Omit to use the model’s reported
                    billable seconds after generation.
                image_urls:
                  type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 1
                  description: >-
                    One public image under 10 MB, 300–6000 pixels per side and a
                    0.4–2.5 aspect ratio. Mutually exclusive with audio_urls.
                audio_urls:
                  type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 6
                  description: >-
                    Provide reference voices in prompt order. Each item is a
                    public WAV or MP3 URL (2–30 seconds, up to 15 MB) or a
                    speaker:// voice ID.
                speech_rate:
                  type: integer
                  minimum: -50
                  maximum: 100
                  default: 0
                  description: Speech speed adjustment.
                loudness_rate:
                  type: integer
                  minimum: -50
                  maximum: 100
                  default: 0
                  description: Volume adjustment.
                pitch_rate:
                  type: integer
                  minimum: -12
                  maximum: 12
                  default: 0
                  description: Pitch shift in semitones.
                subtitles:
                  type: boolean
                  default: false
                  description: Include SRT and JSONL subtitle files.
                format:
                  type: string
                  enum:
                    - wav
                    - mp3
                    - pcm
                    - ogg_opus
                  default: mp3
                  description: PCM is raw 16-bit audio. Ogg Opus requires 48000 Hz.
                sample_rate:
                  type: integer
                  enum:
                    - 8000
                    - 16000
                    - 24000
                    - 32000
                    - 44100
                    - 48000
                  description: Defaults to 44100 Hz, or 48000 Hz for Ogg Opus.
                custom_callback_url:
                  type: string
                  format: uri
                  description: >-
                    Optional. A publicly accessible HTTPS URL. When the task
                    status changes (processing / success / failed), GoEnhance
                    sends a POST request to this URL. The request body is
                    identical to the response of GET /api/v1/jobs/detail. If
                    your server does not respond with HTTP 200, the notification
                    is retried up to 3 times, with a 3-second timeout per
                    attempt.
                  example: https://your-server.com/goenhance/callback
              required:
                - model
                - prompt
            example:
              model: seed-audio-1-5
              prompt: >-
                A guide says in English, “Welcome to the studio. Today we are
                recording a short introduction.” Add quiet room tone.
              duration: 10
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      img_uuid:
                        type: string
                      cost:
                        type: number
                        description: >-
                          Tokens charged at submission after account discounts.
                          For output-based jobs this is the reservation. The
                          successful job detail reports the final cost and
                          billed_seconds.
                        example: 2
                    required:
                      - img_uuid
                      - cost
                required:
                  - code
                  - msg
                  - data
              examples:
                '1':
                  summary: Success
                  value:
                    code: 0
                    msg: Success
                    data:
                      img_uuid: c12b656c-747a-44fd-9c80-add79b0c52d5
                      cost: 2
                '2':
                  summary: Insufficient tokens
                  value:
                    code: 100
                    msg: tokens is not enough
                quota:
                  summary: API key quota exceeded
                  value:
                    code: 101
                    msg: 'API key quota exceeded: 4990 of 5000 tokens used (monthly)'
                bad:
                  summary: Invalid parameters
                  value:
                    code: -1
                    msg: prompt is required
          headers: {}
        '401':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
          headers: {}
      deprecated: false

````

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