API リファレンス

Quote explicit voice cloning

POST/v1/audio-clone/quotes

Explicit voice cloning is a distinct capability. Input text and reference transcript remain unchanged. reference_audio.file_id uses an audio input owned by the same user and Key; reference_audio_url accepts an HTTPS source instead. Quote and execution bind the exact reference identity, original text, current pricing and expiry. No quote generates, reserves or charges. Supply quote_token as quote_id on the existing create task endpoint with an Idempotency-Key. The full maximum is reserved; a higher final amount stays unknown and held, never capped or subsidized.

認証と権限

現在の GloopAPI キーを使用します。利用可能なモデル、機能、権限は、そのカタログとエンドポイントのドキュメントによって異なります。

Authorization: Bearer $GLOOP_API_KEY

認証スキーム: BearerAuth

リクエスト

リクエストボディ · application/json

タイプ
object
必須フィールド 説明
textreference_text

リクエスト本文が必要です

  • modelstringオプション

    現在のキーのカタログからの公開モデル ID。

    デフォルト値
    "audio-clone-v1"
    列挙型
    ["audio-clone-v1"]
  • textstring必須

    合成するテキスト。

    最小長さ
    1
    最大長さ
    5000
  • reference_audio_urlstringオプション

    パブリック HTTPS リファレンス オーディオ URL。ユーザー情報は禁止されており、SSRF チェックが適用されます。

  • reference_textstring必須

    リファレンスオーディオに対応するテキスト。

    最小長さ
    1
    最大長さ
    5000
  • remove_silencebooleanオプションnull を許可します

    無音を削除するかどうか。省略時のデフォルトは true です。

    デフォルト値
    true
  • quote_idstringオプション

    Optional signed quote_token from the public clone quote. A quoted request reserves the full maximum and refuses over-bound settlement.

  • reference_audioobjectオプション
    追加のプロパティ
    false
    reference_audio 子フィールド (1)
    • file_idstring必須

      An audio input file owned by the same user and API Key.

  • @oneOf:0unknownオプション
  • @oneOf:1unknownオプション

応答とエラー

HTTP 200

Authoritative current execution or quote. Unknown retains its hold.

application/json

タイプ
object
必須フィールド 説明
versionidquote_tokenmodelcurrencymaximum_amountinput_fingerprintpricing_versionexpires_at
  • versioninteger必須
    列挙型
    [1]
  • idstring必須
  • quote_tokenstring必須

    Opaque acceptance token bound to the authenticated identity, exact input, model, protocol, frozen pricing and expiry.

  • modelstring必須
  • currencystring必須
    列挙型
    ["USD"]
  • maximum_amountstring必須

    Certified maximum customer wallet charge in USD, derived from the frozen price over all bounded cache and tier branches.

  • input_fingerprintstring必須
  • pricing_versionstring必須
  • expires_atinteger必須

HTTP 400

入力が無効です。

application/json

タイプ
object
必須フィールド 説明
error
  • errorobject必須
    error 子フィールド (4)

HTTP 401

キーが見つからないか、無効であるか、期限切れであるか、取り消されています。

application/json

タイプ
object
必須フィールド 説明
error
  • errorobject必須
    error 子フィールド (4)

HTTP 403

IP、アカウント、モデル、またはツールの権限が不十分です。

application/json

タイプ
object
必須フィールド 説明
error
  • errorobject必須
    error 子フィールド (4)

HTTP 404

実行は見つかりませんでした。これは、不確実な世代に請求が行われていないことを証明するものではありません。

application/json

タイプ
object
必須フィールド 説明
error
  • errorobject必須
    error 子フィールド (4)

HTTP 409

リクエスト ID の内容が競合しているか、in-flight の実行を削除できません。

application/json

タイプ
object
必須フィールド 説明
error
  • errorobject必須
    error 子フィールド (4)

HTTP 429

リクエスト/キューのレート制限。

application/json

タイプ
object
必須フィールド 説明
error
  • errorobject必須
    error 子フィールド (4)

HTTP 500

内部認証またはデータ ストレージのエラー。

application/json

タイプ
object
必須フィールド 説明
error
  • errorobject必須
    error 子フィールド (4)

HTTP 503

一時的に利用できません。送信された結果が不確かな場合は、元のリクエストをクエリします。

application/json

タイプ
object
必須フィールド 説明
error
  • errorobject必須
    error 子フィールド (4)
構築する準備はできましたか?を開きます コンソール で API キーを作成するか、参照します の機能.