#what are the language codes for the API
1 messages · Page 1 of 1 (latest)
AI-generated Answer for afkarxyz
The API supports specifying language codes when using the Turbo v2.5 model. You can include the language_code option as a query parameter in your request. For example:
wss://api.elevenlabs.io/v1/text-to-speech/{voice_id}/stream-input?model_id=eleven_turbo_v2_5&language_code=en
Replace en with the appropriate ISO 639-1 code for your desired language. However, this feature is experimental, and results may vary. It's also important to note that not all language codes, including those for all African languages, are supported. For more details, refer to the API Reference.
write down all the list codes