v1

latestOpenAPI 3.1.02026-07-13212942.9 KB
Synth Voices

Update Voice

Update mutable metadata fields of a voice.

Invalidates the user_voice and user_voice_preview Redis cache entries for the affected voice after a successful update.

Args: voice_id: UUID of the voice to update. payload: Fields to update (name, description, style, etc.). token: Authenticated token with user context. _request: Raw FastAPI Request. version: API version extracted from the version request header. x_api_key: Bearer API key (used as a cache-key component for invalidation).

Returns: None: HTTP 204 No Content on success.

put/voices/{voice_id}

Path parameters

voice_idstring uuid required

Headers

version'v1'
X-Api-Keystring

Request body

namestring nullable
descriptionstring nullable
gender'Male' | 'Female' | 'Neutral' | 'Unspecified'
accentstring nullable
stylestring nullable
is_activeboolean nullable
languagestring nullable

Response

Successful Response