Voice Changer abrufen
Poll a queued voice conversion. While the conversion is still running this returns status: "PROCESSING" as JSON; once it finishes it returns the converted audio bytes.
A completed response carries the audio alongside x-venice-audio-format, x-venice-audio-duration, x-venice-inference-time, x-venice-model-id and x-venice-model-name.
Only the account that queued a conversion can poll it. Any other queue_id — unknown, belonging to someone else, malformed, or older than the retrieve window — is reported the same way, as an invalid request id.
If the provider fails the conversion, the charge is refunded automatically and the response reports whether that refund succeeded in credits_refunded. The outcome is recorded, so polling again replays the same result rather than refunding twice.
When credits_refunded is false and the conversion was charged, the error message says what to do about it: a refund that was attempted and did not go through asks you to contact support and is retried by polling again, and a request id the provider no longer recognises is reported as too weak a verdict to reverse a charge on. A conversion that was never charged, or one already delivered, reports false with nothing further.
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/queue zurückgegebene queue_id, um den Konvertierungsstatus zu prüfen. Solange der Job läuft, gibt dieser Endpoint JSON mit status: "PROCESSING" zurück; wenn er abgeschlossen ist, wird audio/mpeg zurückgegeben. Setzen Sie delete_media_on_completion auf true, um gespeicherte Medien im selben Aufruf zu bereinigen, oder rufen Sie /audio/voice-changer/complete auf, nachdem Sie die Datei heruntergeladen haben.
Voice-Changer-Modelle werden auf /audio/retrieve nicht akzeptiert.
Postman-Collection
Weitere Beispiele finden Sie in dieser Postman-Collection.Autorisierungen
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
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"
Release the provider-held media as soon as this call returns the audio, so a separate /audio/voice-changer/complete call is unnecessary. The audio cannot be retrieved again afterwards.
false
Antwort
Conversion still processing, or the completed audio
The conversion is still running. Poll again.
PROCESSING "PROCESSING"
Recent average end-to-end time for this model in milliseconds. Use it to pace polling.
10000
Milliseconds elapsed since the conversion was queued.
4200