Using API and i want the the bot to speak english in an indian accent

i am using API and i want the bot to speak english in an indian accent but i am not getting the indian accent using tts-1/hd model. if anyone knows the solution let me know because even after following the documentation its not working.

Welcome to the developer community, @Simran_Satija
tts-1 as well as hd cannot do accents.

I’d recommend using gpt-4o-mini-tts for more expressive voices.

i did use gpt-4o-mini-tts but thats not even generating an audio and giving me errors. how did u make that model work if u did?

I haven’t seen any errors using the boilerplate code in docs.

The best way to experiment with this model is to head to OpenAI.FM. Once you get the results you want, click on the get code toggle to get the exact code for the same.

Let me know in case you run into any issues.

2 Likes

The AI voices that can be selected were quite obviously American for training the language model on particular output, as one could expect.

You can see if this isn’t a cultural travesty. It was done by having GPT-4.5 write both a new style after the pattern of openai.fm examples for “instructions”, and also transforming the language to be spoken into “eye dialect” against a default of an American speaker.

It is using “ballad” which starts with a hint of UK. Another with a script more literate:

Instructions

Affect: Warm, engaging, and expressive, reflecting the lively and rhythmic nature of Indian English spoken predominantly in urban India.

Tone: Friendly, enthusiastic, and conversational, integrating the characteristic melodies and intonations of Indian English to enhance authenticity.

Emotion: Surprise, curiosity, amusement, and excitement, vividly expressing the narrator’s reactions and making the listener feel part of the moment.

Pronunciation: Clearly articulated yet relaxed, prominently featuring rhythmic modulation typical of Indian English. Emphasize retroflex consonants (like “t,” “d,” “r”) with a slight roll and maintain distinctly softened vowels (“a,” “o”) consistent with Indian English accentuation patterns.

Pause: Natural short pauses to highlight surprise or comedic effect, slightly elongated pauses between clauses to reflect thoughtful narration or excitement, enhancing storytelling rhythm.