API reference
Quote explicit voice cloning
/v1/audio-clone/quotesExplicit 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_KEYAuthentication schemes: BearerAuth
Request
Request body · application/json
- Type
- object
- Required fields
textreference_text
Request body required
modelstringOptionalPublic model ID from the current key's catalog.
- Default value
"audio-clone-v1"- Enum
["audio-clone-v1"]
textstringRequiredText to synthesize.
- Minimum length
1- Maximum length
5000
reference_audio_urlstringOptionalPublic HTTPS reference audio URL; user information is prohibited and SSRF checks apply.
reference_textstringRequiredText corresponding to the reference audio.
- Minimum length
1- Maximum length
5000
Whether to remove silence; defaults to true when omitted.
- Default value
true
quote_idstringOptionalOptional 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_idstringRequiredAn 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]
idstringRequiredquote_tokenstringRequiredOpaque acceptance token bound to the authenticated identity, exact input, model, protocol, frozen pricing and expiry.
modelstringRequiredcurrencystringRequired- Enum
["USD"]
maximum_amountstringRequiredCertified maximum customer wallet charge in USD, derived from the frozen price over all bounded cache and tier branches.
input_fingerprintstringRequiredpricing_versionstringRequiredexpires_atintegerRequired
HTTP 400
Invalid input.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 401
The key is missing, invalid, expired, or revoked.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 403
Insufficient IP, account, model, or tool permissions.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 404
Your execution was not found; this does not prove an uncertain generation was not billed.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 409
Request ID content conflicts, or an in-flight execution cannot be deleted.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 429
Request/queue rate limit.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 500
Internal authentication or data storage failure.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 503
Temporarily unavailable; query the original request if its submitted result is uncertain.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional