보이스 체인저 큐
Queue a speech-to-speech conversion, re-recording a source recording in a different voice while preserving its delivery, pacing and timing.
Supply the source recording exactly one of two ways: as a multipart/form-data upload in the file field, or as an http(s) audio_url in a JSON body. Supplying both, or neither, is rejected. When you pass a URL, Venice fetches and validates the bytes itself and forwards only those bytes to the provider — the URL is never handed onward.
The recording is validated from its binary signature rather than its filename or declared content type, so the accepted containers published as accepted_audio_formats in /models are enforced on the actual bytes. Recordings above the size limit or longer than max_source_audio_duration_seconds are rejected before any charge.
Billing is based on the length of the source recording, measured server-side and rounded up to the next whole minute; the measured length is returned as duration_seconds so it can be reconciled against /audio/voice-changer/quote. A queued conversion has already been charged, so this request is not safe to retry: if the response is lost, poll /audio/voice-changer/retrieve rather than queueing again.
Authentication: This endpoint accepts either a Bearer API key or a SIGN-IN-WITH-X header for x402 wallet-based authentication. The legacy X-Sign-In-With-X header is also accepted during migration. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.
/audio/voice-changer/quote를 호출하여 비용을 추정한 다음, 변환이 완료될 때까지 반환된 queue_id로 /audio/voice-changer/retrieve를 폴링하세요. 큐에 등록된 변환은 이미 요금이 청구된 상태입니다. 이 응답이 유실되더라도 다시 큐에 넣지 말고 retrieve를 폴링하세요. 검색 후 변환된 미디어를 보관하는 경우, 다운로드를 마친 뒤 /audio/voice-changer/complete를 호출하세요.
보이스 체인저 모델은 /audio/queue에서 허용되지 않습니다. 전체 워크스루는 보이스 체인저 가이드를 참조하세요.
Postman 컬렉션
추가 예제는 이 Postman 컬렉션을 참조하세요.인증
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
본문
The voice-changer model to run. Models that are not voice changers are not supported here; use the /api/v1/audio endpoints instead.
"elevenlabs-voice-changer"
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.
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.
"https://example.com/source-recording.mp3"
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.
"Aria"
Strip background noise from the source recording before conversion.
false
Seed for reproducible output. Omit for a non-deterministic result.
x >= 042
응답
Voice conversion queued successfully
The model that is running the conversion. Only voice-changer models are accepted on the /api/v1/audio/voice-changer endpoints.
"elevenlabs-voice-changer"
Pass this to /audio/voice-changer/retrieve to poll for the converted audio, and to /audio/voice-changer/complete when finished.
"0190f2c4-9c1e-7a3b-8f42-2c9d5e7a1b34"
Always QUEUED. The provider has accepted the job.
QUEUED "QUEUED"
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.
52