Voices
Generate voice preview
post
https://www.getrevox.com/api/voices/previewGenerate a short audio preview for a given voice.
Request body
voiceIdstringrequiredThe voice ID to generate a preview for.
providerenum (string)requiredThe provider to use for the preview.
One of
cartesiaelevenlabsgradiumtextstringCustom text for the preview. If omitted, a short default is used.
max length 2000
assistantPromptstringPrompt of the assistant the voice is for. When
textis omitted, the preview is a few lines that assistant would say on a call.max length 100000
speednumberSpeed for preview. Cartesia 0.6–1.5, ElevenLabs 0.7–1.2. Default 1.0.
min 0.6 · max 1.5
volumenumberVolume for Cartesia preview (0.5–2.0). Ignored for other providers.
min 0.5 · max 2
modelenum (string)Cartesia model for the preview. Defaults to sonic-3.6. Ignored for other providers.
One of
sonic-3sonic-3.5sonic-3.6
Responses
200Success
400Invalid request: the body or a parameter failed validation
errorstringrequired
500Server error
messagestringerrorstringbodyErrorsobjectThe validation errors returned from the API.
Show 1 fieldHide 1 field
issuesarray of objectrequiredShow 3 fieldsHide 3 fields
patharray of one ofrequiredShow 2 variantsHide 2 variants
One ofstringstring
One ofnumbernumber
messagestringrequiredcodestring