> ## 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 音源分離

> > 🚧 **このモデルはまだ公開されていません。**

- 会話、効果音、BGMなど、各トラックに残したい音をプロンプトで指定します。
- 元の音声の長さは `2`～`360` 秒です。
- 処理は非同期です。返されたタスクIDで[結果を確認](/ja/api-manual/task-management/get-task-detail)できます。送信後はタスクをキャンセルできません。
- 結果のリンクは7日間有効です。期限内にファイルを保存してください。

**料金の計算**

- 元の音声の長さに出力トラック数を掛けた合計時間に対して秒単位で課金されます。1秒未満の端数は切り上げます。
- 送信時は元の音声の長さと `3` トラックを基準にクレジットを仮確保します（`usage.credits_reserved`）。完了時に実際のトラック数で精算し、差額は返還または追加請求されます。失敗時は全額返還されます。

**タスクの結果（`status` が `completed` の場合）**

| フィールド | 説明 |
|---|---|
| `results` / `result_data[i].audio_url` | 各トラックの音声URL。どちらのフィールドでもトラックの順序は同じです。 |
| `result_data[i].track_type` | トラックの種類。例：`speaker`（声）、`sfx`（効果音・環境音）、`bgm`（BGM）。これ以外の種類が返る場合もあります。 |
| `result_data[i].description` | プロンプトに基づいて付けられたトラック名。 |
| `result_data[i].duration` | トラックの長さ（秒）。 |
| `usage.billed_seconds` / `usage.credits_used` | 課金対象の秒数と実際に消費したクレジット数。 |



## OpenAPI

````yaml ja/api-manual/audio-series/seed-audio-1.5/seed-audio-1.5-audio-separation.json POST /v1/audios/generations
openapi: 3.1.0
info:
  title: Seed Audio 1.5 音源分離
  description: ミックス済みの音声を、会話、効果音、音楽などのトラックに分離します。トラックごとに音声を取得できます。
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.evolink.ai
    description: 本番環境
security:
  - bearerAuth: []
tags:
  - name: 音声生成
    description: Seed Audio 1.5 の音声生成API
paths:
  /v1/audios/generations:
    post:
      tags:
        - 音声生成
      summary: Seed Audio 1.5 音源分離
      description: >-
        > 🚧 **このモデルはまだ公開されていません。**


        - 会話、効果音、BGMなど、各トラックに残したい音をプロンプトで指定します。

        - 元の音声の長さは `2`～`360` 秒です。

        -
        処理は非同期です。返されたタスクIDで[結果を確認](/ja/api-manual/task-management/get-task-detail)できます。送信後はタスクをキャンセルできません。

        - 結果のリンクは7日間有効です。期限内にファイルを保存してください。


        **料金の計算**


        - 元の音声の長さに出力トラック数を掛けた合計時間に対して秒単位で課金されます。1秒未満の端数は切り上げます。

        - 送信時は元の音声の長さと `3`
        トラックを基準にクレジットを仮確保します（`usage.credits_reserved`）。完了時に実際のトラック数で精算し、差額は返還または追加請求されます。失敗時は全額返還されます。


        **タスクの結果（`status` が `completed` の場合）**


        | フィールド | 説明 |

        |---|---|

        | `results` / `result_data[i].audio_url` |
        各トラックの音声URL。どちらのフィールドでもトラックの順序は同じです。 |

        | `result_data[i].track_type` |
        トラックの種類。例：`speaker`（声）、`sfx`（効果音・環境音）、`bgm`（BGM）。これ以外の種類が返る場合もあります。 |

        | `result_data[i].description` | プロンプトに基づいて付けられたトラック名。 |

        | `result_data[i].duration` | トラックの長さ（秒）。 |

        | `usage.billed_seconds` / `usage.credits_used` | 課金対象の秒数と実際に消費したクレジット数。
        |
      operationId: createSeedAudio15AudioSeparation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SeedAudio15Request'
            examples:
              basic:
                summary: 会話・効果音・音楽の3トラックに分離
                value:
                  model: seed-audio-1.5-audio-separation
                  prompt: >-
                    この音声を3トラックに分けてください。1つ目には人物の会話だけ、2つ目には足音、ドアベル、室内の環境音だけ、3つ目にはBGMだけを残してください。
                  audio_urls:
                    - https://example.com/mixed.wav
                  format: mp3
      responses:
        '200':
          description: 音声生成タスクが正常に作成されました
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SeedAudioResponse'
        '400':
          description: リクエストパラメータが不正です
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: unsupported_parameter
                  message: >-
                    speech_rate is not supported for
                    seed-audio-1.5-audio-separation
                  type: invalid_request_error
        '401':
          description: 認証されていません。トークンが無効または期限切れです
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: unauthorized
                  message: Invalid or expired token
                  type: authentication_error
        '402':
          description: クォータが不足しています。チャージが必要です
          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: アクセス権限がありません
          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-audio-separation
                  type: invalid_request_error
        '429':
          description: レート制限を超えました
          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: サーバー内部エラー
          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
        - audio_urls
      properties:
        model:
          type: string
          description: モデル名
          enum:
            - seed-audio-1.5-audio-separation
          default: seed-audio-1.5-audio-separation
          example: seed-audio-1.5-audio-separation
        prompt:
          type: string
          description: >-
            分けたいトラック数と、各トラックに残す音を指定してください。例：


            この音声を3トラックに分けてください。1つ目には人物の会話だけ、2つ目には足音、ドアベル、室内の環境音だけ、3つ目にはBGMだけを残してください。
          example: >-
            この音声を3トラックに分けてください。1つ目には人物の会話だけ、2つ目には足音、ドアベル、室内の環境音だけ、3つ目にはBGMだけを残してください。
        audio_urls:
          type: array
          description: >-
            分離する音声を1件指定します。公開URLまたはBase64データ（`data:audio/mp3;base64,…` または
            `data:audio/wav;base64,…`）を使用できます。


            - 長さ：`2`～`360` 秒

            - 形式：`wav` または `mp3`

            - 上限：URLでは `90 MB`、Base64では `20 MB`。大きなファイルはURLで指定してください。
          items:
            type: string
          minItems: 1
          maxItems: 1
          example:
            - https://example.com/mixed.wav
        format:
          type: string
          description: |-
            出力音声の形式

            - `wav`（デフォルト）または `mp3`
            - `ogg_opus` は `48000` Hzのみ対応します。
            - `pcm` はヘッダーのない16ビットの生音声です。一般的なプレーヤーで再生するには変換などの処理が必要です。
          enum:
            - wav
            - mp3
            - pcm
            - ogg_opus
          default: wav
          example: mp3
        sample_rate:
          type: integer
          description: >-
            出力のサンプルレート（Hz）。`wav`、`mp3`、`pcm` は列挙された値から選べます（デフォルトは
            `44100`）。`ogg_opus` は `48000` のみ対応し、省略した場合も自動で `48000` になります。
          enum:
            - 8000
            - 16000
            - 24000
            - 32000
            - 44100
            - 48000
          default: 44100
          example: 24000
        callback_url:
          type: string
          description: >-
            タスク完了時に呼び出される HTTPS コールバック URL


            **発火タイミング:**

            - タスクが完了、失敗、またはキャンセルされた時にトリガー

            - 課金が確定した後に送信


            **セキュリティ制約:**

            - HTTPS のみ

            - 内部 IP アドレスへのコールバックは禁止(127.0.0.1、10.x.x.x、172.16-31.x.x、192.168.x.x
            など)

            - URL の長さは `2048` 文字以下


            **コールバックの仕組み:**

            - タイムアウト:`10` 秒

            - 失敗時に最大 `3` 回リトライ(各失敗後 `1` / `2` / `4` 秒)

            - コールバックのボディ形式はタスク取得レスポンスと同じ

            - 2xx レスポンスを成功とみなし、それ以外のステータスコードはリトライをトリガー
          format: uri
          example: https://your-domain.com/webhooks/audio-completed
    SeedAudioResponse:
      type: object
      properties:
        created:
          type: integer
          description: タスク作成タイムスタンプ
          example: 1795776000
        id:
          type: string
          description: タスクID
          example: task-unified-1795776000-abcd1234
        model:
          type: string
          description: 実際に使用されたモデル
          example: seed-audio-1.5-audio-separation
        object:
          type: string
          enum:
            - audio.generation.task
          description: 具体的なタスクタイプ
        progress:
          type: integer
          description: タスクの進捗率(0-100)
          minimum: 0
          maximum: 100
          example: 0
        status:
          type: string
          description: タスクのステータス
          enum:
            - pending
            - processing
            - completed
            - failed
          example: processing
        task_info:
          $ref: '#/components/schemas/AudioTaskInfo'
          description: 音声タスクの詳細情報
        type:
          type: string
          enum:
            - audio
          description: タスクの出力タイプ
          example: audio
        usage:
          $ref: '#/components/schemas/AudioUsage'
          description: 使用量および課金情報
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: エラーコード識別子
            message:
              type: string
              description: エラーの説明
            type:
              type: string
              description: エラータイプ
    AudioTaskInfo:
      type: object
      properties:
        can_cancel:
          type: boolean
          description: タスクをキャンセルできるかどうか。このモデルでは送信後にキャンセルできません。
          example: false
        estimated_time:
          type: integer
          description: 完了までの推定時間(秒)
          minimum: 0
          example: 15
        audio_type:
          type: string
          description: 音声タスクのタイプ
          example: audio_separation
    AudioUsage:
      type: object
      description: 使用量情報
      properties:
        credits_reserved:
          type: number
          description: 元の音声の長さと3トラックを基準に仮確保したクレジット数。完了時に実際のトラック数で精算し、差額を返還または追加請求します。
          minimum: 0
          example: 1.2264
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        すべてのエンドポイントは Bearer Token 認証が必要です


        **API Key を取得:**


        [API Key 管理ページ](https://evolink.ai/dashboard/keys)にアクセスして API Key
        を取得してください


        **リクエストヘッダーに追加:**

        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````

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