Skip to main content
POST
/api/v1/audio/voice-changer/queue
Chiama /audio/voice-changer/quote per stimare il costo, quindi esegui il polling di /audio/voice-changer/retrieve con il queue_id restituito finché la conversione non termina. Una conversione messa in coda è già stata addebitata. Se questa risposta viene persa, esegui il polling di retrieve invece di mettere di nuovo in coda. Se conservi i media convertiti dopo il recupero, chiama /audio/voice-changer/complete una volta scaricati. I modelli voice-changer non sono accettati su /audio/queue. Consulta la guida Voice Changer per una panoramica completa.

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

model
string
obbligatorio

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

Esempio:

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

Esempio:

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

Esempio:

"Aria"

remove_background_noise
boolean

Strip background noise from the source recording before conversion.

Esempio:

false

seed
integer

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

Intervallo richiesto: x >= 0
Esempio:

42

Risposta

Voice conversion queued successfully

model
string
obbligatorio

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

Esempio:

"elevenlabs-voice-changer"

queue_id
string
obbligatorio

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

Esempio:

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

status
enum<string>
obbligatorio

Always QUEUED. The provider has accepted the job.

Opzioni disponibili:
QUEUED
Esempio:

"QUEUED"

duration_seconds
number
obbligatorio

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.

Esempio:

52