Skip to main content
POST
/api/v1/audio/voice-changer/queue
/audio/voice-changer/quote를 호출하여 비용을 추정한 다음, 변환이 완료될 때까지 반환된 queue_id/audio/voice-changer/retrieve를 폴링하세요. 큐에 등록된 변환은 이미 요금이 청구된 상태입니다. 이 응답이 유실되더라도 다시 큐에 넣지 말고 retrieve를 폴링하세요. 검색 후 변환된 미디어를 보관하는 경우, 다운로드를 마친 뒤 /audio/voice-changer/complete를 호출하세요. 보이스 체인저 모델은 /audio/queue에서 허용되지 않습니다. 전체 워크스루는 보이스 체인저 가이드를 참조하세요.

Postman 컬렉션

추가 예제는 이 Postman 컬렉션을 참조하세요.

인증

Authorization
string
header
필수

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

본문

model
string
필수

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"

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.

예시:

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

예시:

"Aria"

remove_background_noise
boolean

Strip background noise from the source recording before conversion.

예시:

false

seed
integer

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

필수 범위: x >= 0
예시:

42

응답

Voice conversion queued successfully

model
string
필수

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

예시:

"elevenlabs-voice-changer"

queue_id
string
필수

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"

status
enum<string>
필수

Always QUEUED. The provider has accepted the job.

사용 가능한 옵션:
QUEUED
예시:

"QUEUED"

duration_seconds
number
필수

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