Use a preset voice
Return the voice asset for a preset voice in your account, which generation requests can reference through voice_asset_id. Repeated calls for the same preset version return the same voice asset at no charge.
Authentication
API Key: X-API-Key: <API Key> or Authorization: Bearer <API Key>.
Credentials in the examples are placeholders. Replace them and run the examples on your server.
Code examples
curl -X POST 'https://shixux.com/api/voice-presets/preset_id_example/use' \ -H 'X-API-Key: yb_xxx_yyy'{ "id": "example", "display_name": "example", "original_filename": "example", "size_bytes": 1, "uploaded_at": "2026-10-06T10:00:00Z", "retained_until": "2026-10-06T10:00:00Z"}preset_id*stringMatch
^vp_[a-f0-9]{24}$Voice ready to use
application/json- response
id*Iddisplay_name*Display Nameoriginal_filename*string|nullsize_bytes*|Size of the voice file in bytes.
uploaded_at*Uploaded AtFormat
date-timeretained_until*|When the asset or result file stops being retained. Request a new download URL after one expires.
permanent?booleansource?stringValue in
"uploaded""designed""preset"preset_id?stringID of the preset voice this voice comes from. Omitted for voices that do not come from a preset.
description?stringduration_seconds?number