Skip to main content
POST
/api/v1/audio/voice-changer/queue
Appelez /audio/voice-changer/quote pour estimer le coût, puis interrogez /audio/voice-changer/retrieve avec le queue_id renvoyé jusqu’à ce que la conversion soit terminée. Une conversion mise en file d’attente a déjà été facturée. Si cette réponse est perdue, interrogez retrieve plutôt que de la remettre en file d’attente. Si vous conservez les médias convertis après récupération, appelez /audio/voice-changer/complete une fois que vous les avez téléchargés. Les modèles de changeur de voix ne sont pas acceptés sur /audio/queue. Consultez le guide Changeur de voix pour un parcours complet.

Collection Postman

Pour des exemples supplémentaires, veuillez consulter cette collection Postman.

Autorisations

Authorization
string
header
requis

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

Corps

model
string
requis

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

Exemple:

"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.

Exemple:

"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.

Exemple:

"Aria"

remove_background_noise
boolean

Strip background noise from the source recording before conversion.

Exemple:

false

seed
integer

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

Plage requise: x >= 0
Exemple:

42

Réponse

Voice conversion queued successfully

model
string
requis

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

Exemple:

"elevenlabs-voice-changer"

queue_id
string
requis

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

Exemple:

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

status
enum<string>
requis

Always QUEUED. The provider has accepted the job.

Options disponibles:
QUEUED
Exemple:

"QUEUED"

duration_seconds
number
requis

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.

Exemple:

52