{"info":{"title":"google/gemini-3.1-flash-tts","version":"0.1.0"},"paths":{"/":{"post":{"summary":"Execution","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Output"}}},"description":"Successful Response"}},"operationId":"execute","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input"}}},"required":true}}}},"openapi":"3.1.0","components":{"schemas":{"Input":{"type":"object","title":"Input","required":["prompt"],"properties":{"voice":{"allOf":[{"$ref":"#/components/schemas/Voice"}],"title":"Voice","default":"Kore","x-order":1,"description":"Prebuilt voice to speak in. Each has a distinct character, e.g. Kore (firm), Puck (upbeat), Aoede (breezy), Charon (informative), Sulafat (warm), Enceladus (breathy)."},"prompt":{"type":"string","title":"Prompt","x-order":0,"description":"Style direction plus the words to speak, as '{style instruction}: {text}' — e.g. 'Say the following in a warm, curious way: OK, so... tell me about this AI thing.' Direction controls accent, pace, tone and emotion. Inline audio tags such as [laughs] or [sigh] are supported. Combined direction and text must be under ~8,000 bytes; audio beyond ~655 seconds is truncated."},"language_code":{"allOf":[{"$ref":"#/components/schemas/LanguageCode"}],"title":"Language Code","default":"en-us","x-order":2,"description":"Locale for the delivery. Any prebuilt voice can be paired with any of these locales."}}},"Voice":{"enum":["Achernar","Achird","Algenib","Algieba","Alnilam","Aoede","Autonoe","Callirrhoe","Charon","Despina","Enceladus","Erinome","Fenrir","Gacrux","Iapetus","Kore","Laomedeia","Leda","Orus","Puck","Pulcherrima","Rasalgethi","Sadachbia","Sadaltager","Schedar","Sulafat","Umbriel","Vindemiatrix","Zephyr","Zubenelgenubi"],"type":"string","title":"Voice","description":"One of the 30 prebuilt Gemini-TTS voices."},"Output":{"type":"string","title":"Output","format":"uri","description":"The generated speech as a 24 kHz mono WAV file."},"LanguageCode":{"enum":["ar-eg","bn-bd","de-de","en-in","en-us","es-es","fr-fr","hi-in","id-id","it-it","ja-jp","ko-kr","mr-in","nl-nl","pl-pl","pt-br","ro-ro","ru-ru","ta-in","te-in","th-th","tr-tr","uk-ua","vi-vn"],"type":"string","title":"LanguageCode","description":"BCP-47 locale. These are the generally available Gemini-TTS locales."}}}}