# Generate text-to-speech for a given message **POST /api/v11/tts** Given a message ID, generate a WAV file using our text-to-speech model according to the user's set preference for TTS character. This is most useful for AI character text responses. ## Servers - Main API Server: https://chat-api.aurora-interactive.online:8443 (Main API Server) ## Parameters ### Headers - **x-access-token** (string) ### Body: application/json (object) - **messageId** (integer) ## Responses ### 200 text-to-speech generation completed successfully. #### Body: application/json (object) - **success** (boolean) ### 400 Bad request #### Body: application/json (object) - **success** (boolean) - **error** (string) ### 401 Unauthorized #### Body: application/json (object) - **success** (boolean) - **error** (string) ### 429 User exceeded the message limit for their current plan #### Body: application/json (object) - **success** (boolean) - **error** (string) [Powered by Bump.sh](https://bump.sh)