Append a style (prompt) to an existing voice. The new style is assigned a UUID as its promptId, which you then pass when generating; omitting it uses default.Preconditions: the target must be a self-created voice (from === 'upload'). Voices bought from the market or imported from the library cannot take new styles and return AUTH_FORBIDDEN. A voice in creating returns 409 VOICE_CREATING; one in failed returns 400 VOICE_CREATE_FAILED.Audio constraints for this endpoint: 20 MB data-URL cap (voice creation is 100 MB), at least 3 seconds of speech. Uploaded content is checked for safety; a rejection returns SAFETY_* with a traceId. language must use a full value; some endpoints silently downgrade illegal values to auto. See the "Languages and localization" document.May return RATE_LIMIT_* (HTTP 429). Read Retry-After and retry with exponential backoff. See the "Errors" document.Legacy voices are prepared automatically before the style is added. If that preparation fails the call returns VOICE_UNAVAILABLE (503) and can be retried later.
Deprecated alias: /api/tts/voice/{id}/prompt. See the site document "Versions and migration".
See the Errors document for the full code reference. Always use the X-Vocu-App-Request-Id response header when troubleshooting.