Skip to main content
POST
/api/v1/audio/voice-changer/quote
Usa este endpoint antes de /audio/voice-changer/queue para estimar el coste en USD de convertir una grabación de origen de una duración determinada. Voice Changer se factura a partir de la duración del origen, redondeada al minuto entero superior. La respuesta de queue devuelve la duration_seconds medida para que puedas reconciliar la estimación. Los modelos de cambiador de voz no se aceptan en /audio/quote.

Colección de Postman

Para ver más ejemplos, consulta esta Colección de Postman.

Autorizaciones

Authorization
string
header
requerido

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

Cuerpo

application/json
model
string
requerido

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

Ejemplo:

"elevenlabs-voice-changer"

duration_seconds
requerido

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.

Rango requerido: x > 0
Ejemplo:

60

Respuesta

Estimated price for a conversion of the given source length

quote
number
requerido

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

Ejemplo:

0.35

duration_seconds
number
requerido

The source length this quote was computed for.

Ejemplo:

60