> ## 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 Audio Separation

> Split a recording into separate tracks for voices, sound effects and music. Describe the sound to keep on each track.

The initial reservation covers six tracks at the measured input length. Once the job succeeds, billing uses the combined duration of the returned tracks, rounded up to whole seconds. The unused amount returns to your balance. The token total is rounded to two decimal places.

One audio item per track in model order. `track_type` identifies the kind of sound and `description` gives the track label when available.

Split a recording into separate tracks for voices, sound effects and music. Describe the sound to keep on each track.

| Billing unit | Tokens | USD |
| - | -: | -: |
| Per output track-second | 0.026 | \$0.00052 |

The initial reservation covers six tracks at the measured input length. Once the job succeeds, billing uses the combined duration of the returned tracks, rounded up to whole seconds. The unused amount returns to your balance. The token total is rounded to two decimal places.

Use the returned `img_uuid` to poll `GET /api/v1/jobs/detail`, or pass `custom_callback_url`. One audio item per track in model order. `track_type` identifies the kind of sound and `description` gives the track label when available. 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-audio-separation.json POST /api/v1/audio/generations
openapi: 3.1.0
info:
  title: GoEnhance API - Seed Audio 1.5 Audio Separation
  version: 1.0.0
servers:
  - url: https://api.goenhance.ai
security: []
paths:
  /api/v1/audio/generations:
    post:
      tags:
        - AudioGenerations
      summary: Seed Audio 1.5 Audio Separation
      description: >-
        Split a recording into separate tracks for voices, sound effects and
        music. Describe the sound to keep on each track.


        The initial reservation covers six tracks at the measured input length.
        Once the job succeeds, billing uses the combined duration of the
        returned tracks, rounded up to whole seconds. The unused amount returns
        to your balance. The token total is rounded to two decimal places.


        One audio item per track in model order. `track_type` identifies the
        kind of sound and `description` gives the track label when available.
      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-audio-separation
                prompt:
                  type: string
                  minLength: 1
                  maxLength: 10000
                  description: Describe which sounds to isolate on each track.
                audio_url:
                  type: string
                  format: uri
                  description: Public WAV or MP3, 2–360 seconds and up to 90 MB.
                audio_urls:
                  type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 1
                  description: Alternative to audio_url. Provide exactly one recording.
                format:
                  type: string
                  enum:
                    - wav
                    - mp3
                    - pcm
                    - ogg_opus
                  default: wav
                  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
              oneOf:
                - required:
                    - audio_url
                - required:
                    - audio_urls
            example:
              model: seed-audio-1-5-audio-separation
              audio_url: https://example.com/mix.wav
              prompt: >-
                Separate the narrator, room sounds and background music into
                their own tracks.
      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: 1.56
                    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: 1.56
                '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: audio_url 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.