API reference

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.

Authentication and permissions

Use your current GloopAPI key. Available models, capabilities and permissions depend on its catalog and the endpoint documentation.

Authorization: Bearer $GLOOP_API_KEY

Authentication schemes: BearerAuth

Request

Request body · application/json

Type
object
Required fields
textreference_text

Request body required

  • modelstringOptional

    Public model ID from the current key's catalog.

    Default value
    "audio-clone-v1"
    Enum
    ["audio-clone-v1"]
  • textstringRequired

    Text to synthesize.

    Minimum length
    1
    Maximum length
    5000
  • reference_audio_urlstringOptional

    Public HTTPS reference audio URL; user information is prohibited and SSRF checks apply.

  • reference_textstringRequired

    Text corresponding to the reference audio.

    Minimum length
    1
    Maximum length
    5000
  • remove_silencebooleanOptionalAllows null

    Whether to remove silence; defaults to true when omitted.

    Default value
    true
  • quote_idstringOptional

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

  • reference_audioobjectOptional
    Additional properties
    false
    reference_audio child fields (1)
    • file_idstringRequired

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

  • @oneOf:0unknownOptional
  • @oneOf:1unknownOptional

Responses and errors

HTTP 200

Authoritative current execution or quote. Unknown retains its hold.

application/json

Type
object
Required fields
versionidquote_tokenmodelcurrencymaximum_amountinput_fingerprintpricing_versionexpires_at
  • versionintegerRequired
    Enum
    [1]
  • idstringRequired
  • quote_tokenstringRequired

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

  • modelstringRequired
  • currencystringRequired
    Enum
    ["USD"]
  • maximum_amountstringRequired

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

  • input_fingerprintstringRequired
  • pricing_versionstringRequired
  • expires_atintegerRequired

HTTP 400

Invalid input.

application/json

Type
object
Required fields
error

HTTP 401

The key is missing, invalid, expired, or revoked.

application/json

Type
object
Required fields
error

HTTP 403

Insufficient IP, account, model, or tool permissions.

application/json

Type
object
Required fields
error

HTTP 404

Your execution was not found; this does not prove an uncertain generation was not billed.

application/json

Type
object
Required fields
error

HTTP 409

Request ID content conflicts, or an in-flight execution cannot be deleted.

application/json

Type
object
Required fields
error

HTTP 429

Request/queue rate limit.

application/json

Type
object
Required fields
error

HTTP 500

Internal authentication or data storage failure.

application/json

Type
object
Required fields
error

HTTP 503

Temporarily unavailable; query the original request if its submitted result is uncertain.

application/json

Type
object
Required fields
error