Skip to main content
POST
/api/v1/audio/voice-changer/quote
Usa questo endpoint prima di /audio/voice-changer/queue per stimare il costo in USD della conversione di una registrazione sorgente di una data lunghezza. Il Voice Changer viene fatturato in base alla durata della sorgente, arrotondata per eccesso al minuto intero successivo. La risposta di queue restituisce il valore duration_seconds misurato, così puoi riconciliare la stima. I modelli voice-changer non sono accettati su /audio/quote.

Postman Collection

Per ulteriori esempi, consulta questa Postman Collection.

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corpo

application/json
model
string
obbligatorio

The voice-changer model to price. Models that are not voice changers are not supported here; use /api/v1/audio/quote instead.

Esempio:

"elevenlabs-voice-changer"

duration_seconds
obbligatorio

Length of the source recording in seconds. Voice Changer preserves timing, so the source length is the billable quantity, priced in whole-minute tiers. This is an estimate: the charge is computed from the length Venice measures server-side when the recording is queued. The per-model maximum is published as max_source_audio_duration_seconds in /models.

Intervallo richiesto: x > 0
Esempio:

60

Risposta

Estimated price for a conversion of the given source length

quote
number
obbligatorio

Estimated price in USD for converting a recording of the given length.

Esempio:

0.35

duration_seconds
number
obbligatorio

The source length this quote was computed for.

Esempio:

60