Skip to main content
POST
/api/v1/audio/voice-changer/queue
Llama a /audio/voice-changer/quote para estimar el coste y, a continuación, consulta /audio/voice-changer/retrieve con el queue_id devuelto hasta que finalice la conversión. Una conversión encolada ya ha sido cobrada. Si esta respuesta se pierde, consulta retrieve en lugar de volver a encolarla. Si conservas los medios convertidos tras la recuperación, llama a /audio/voice-changer/complete una vez los hayas descargado. Los modelos de cambiador de voz no se aceptan en /audio/queue. Consulta la guía del cambiador de voz para un recorrido completo.

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

model
string
requerido

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

Ejemplo:

"elevenlabs-voice-changer"

file
file

The source recording (multipart/form-data, field name "file"). Accepted containers are listed per model as accepted_audio_formats in /models. Mutually exclusive with audio_url.

audio_url
string

Publicly reachable http(s) URL of the source recording. Venice fetches and validates the bytes itself and forwards only those bytes to the provider, so the URL is never handed onward. Mutually exclusive with the multipart file field.

Ejemplo:

"https://example.com/source-recording.mp3"

voice
string

The target voice: one of the model’s voices from /models, or a provider Voice ID when the model reports supports_custom_voice_id. Defaults to the model’s default_voice.

Ejemplo:

"Aria"

remove_background_noise
boolean

Strip background noise from the source recording before conversion.

Ejemplo:

false

seed
integer

Seed for reproducible output. Omit for a non-deterministic result.

Rango requerido: x >= 0
Ejemplo:

42

Respuesta

Voice conversion queued successfully

model
string
requerido

The model that is running the conversion. Only voice-changer models are accepted on the /api/v1/audio/voice-changer endpoints.

Ejemplo:

"elevenlabs-voice-changer"

queue_id
string
requerido

Pass this to /audio/voice-changer/retrieve to poll for the converted audio, and to /audio/voice-changer/complete when finished.

Ejemplo:

"0190f2c4-9c1e-7a3b-8f42-2c9d5e7a1b34"

status
enum<string>
requerido

Always QUEUED. The provider has accepted the job.

Opciones disponibles:
QUEUED
Ejemplo:

"QUEUED"

duration_seconds
number
requerido

Length of the source recording in seconds, measured server-side, and therefore the exact quantity billed for this request. Use it to reconcile against the estimate from /audio/voice-changer/quote.

Ejemplo:

52