API-Referenz

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.

Authentifizierung und Berechtigungen

Verwenden Sie Ihren aktuellen GloopAPI-Schlüssel. Verfügbare Modelle, Funktionen und Berechtigungen hängen von seinem Katalog und der Endpunktdokumentation ab.

Authorization: Bearer $GLOOP_API_KEY

Authentifizierungsschemata: BearerAuth

Anfrage

Anfragekörper · application/json

Typ
object
Pflichtfelder
textreference_text

Anfragekörper erforderlich

  • modelstringOptional

    Öffentliche Modell-ID aus dem Katalog des aktuellen Schlüssels.

    Standardwert
    "audio-clone-v1"
    Aufzählung
    ["audio-clone-v1"]
  • textstringErforderlich

    Zu synthetisierender Text.

    Mindestlänge
    1
    Maximale Länge
    5000
  • reference_audio_urlstringOptional

    Öffentliche HTTPS-URL für Referenzaudio, ohne Benutzerinformationen und SSRF-geprüft.

  • reference_textstringErforderlich

    Zum Referenzaudio gehörender Text.

    Mindestlänge
    1
    Maximale Länge
    5000
  • remove_silencebooleanOptionalErlaubt null

    Ob Stille entfernt wird; bei Auslassung true.

    Standardwert
    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
    Zusätzliche Eigenschaften
    false
    Unterfelder von reference_audio (1)
    • file_idstringErforderlich

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

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

Antworten und Fehler

HTTP 200

Authoritative current execution or quote. Unknown retains its hold.

application/json

Typ
object
Pflichtfelder
versionidquote_tokenmodelcurrencymaximum_amountinput_fingerprintpricing_versionexpires_at
  • versionintegerErforderlich
    Aufzählung
    [1]
  • idstringErforderlich
  • quote_tokenstringErforderlich

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

  • modelstringErforderlich
  • currencystringErforderlich
    Aufzählung
    ["USD"]
  • maximum_amountstringErforderlich

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

  • input_fingerprintstringErforderlich
  • pricing_versionstringErforderlich
  • expires_atintegerErforderlich

HTTP 400

Ungültige Eingabe.

application/json

Typ
object
Pflichtfelder
error

HTTP 401

Key fehlt, ist ungültig, abgelaufen oder widerrufen.

application/json

Typ
object
Pflichtfelder
error

HTTP 403

Unzureichende IP-, Konto-, Modell- oder Tool-Berechtigungen.

application/json

Typ
object
Pflichtfelder
error

HTTP 404

Ihre Ausführung wurde nicht gefunden; das beweist nicht, dass eine unklare Generierung nicht berechnet wurde.

application/json

Typ
object
Pflichtfelder
error

HTTP 409

Inhaltskonflikt bei dieser Anfrage-ID oder eine laufende Ausführung kann nicht gelöscht werden.

application/json

Typ
object
Pflichtfelder
error

HTTP 429

Anfrage-/Warteschlangenlimit.

application/json

Typ
object
Pflichtfelder
error

HTTP 500

Interner Authentifizierungs- oder Datenspeicherungsfehler.

application/json

Typ
object
Pflichtfelder
error

HTTP 503

Vorübergehend nicht verfügbar; fragen Sie bei unklarem Ergebnis die ursprüngliche Anfrage ab.

application/json

Typ
object
Pflichtfelder
error
Bereit zum Entwickeln? Öffnen Sie Konsole um einen API-Schlüssel zu erstellen, oder durchsuchen Sie Funktionen.