Pricing
Compare models →Pricing is $0.04 per 1,000 billable characters, with a minimum charge of $0.04 per request.
| Billable Characters | Price |
|---|---|
| 100 | $0.04 |
| 1,000 | $0.04 |
| 5,000 | $0.20 |
Text and delivery instructions contribute to billable character count.
Input schema
| Parameter | Type | Description |
|---|---|---|
text | string | Text to speak. For dialogue, leave text empty and provide speakers and turns. Delivery directions belong in style_instructions.Characters: 1–8000JSON schema{
"x-placeholder": "Single speaker: enter the words to speak. Dialogue: leave this empty.",
"x-rows": 6
} |
voice | string | Prebuilt voice for single-speaker speech.AchernarAchirdAlgenibAlgiebaAlnilamAoedeAutonoeCallirrhoeCharonDespinaEnceladusErinomeFenrirGacruxIapetusKoreLaomedeiaLedaOrusPuckPulcherrimaRasalgethiSadachbiaSadaltagerSchedarSulafatUmbrielVindemiatrixZephyrZubenelgenubi"Kore" |
style_instructions | string | Optional delivery style, tone, pacing, or accent. Included in billable character count.Characters: 0–2000 |
speakers | array | Optional dialogue setup: add exactly two distinct speaker IDs and their voices, then add turns and leave text empty. Omit for single-speaker speech.Items: 0–2JSON schema{
"items": {
"additionalProperties": false,
"properties": {
"speaker_id": {
"minLength": 1,
"type": "string",
"x-placeholder": "Required: Alice or Bob"
},
"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",
"x-placeholder": "Required: select a voice",
"x-ui-component": "command"
}
},
"required": [
"speaker_id",
"voice"
],
"type": "object",
"x-order-properties": [
"speaker_id",
"voice"
]
}
} |
turns | array | Optional dialogue turns: add at least one turn and match each speaker_id to the two configured speakers. Leave text empty when using dialogue. Total input must fit 8192 tokens.Items: 0–100JSON schema{
"items": {
"additionalProperties": false,
"properties": {
"speaker_id": {
"minLength": 1,
"type": "string",
"x-placeholder": "Required: matching speaker_id"
},
"style_instructions": {
"maxLength": 2000,
"type": "string",
"x-placeholder": "Optional: tone or pacing"
},
"text": {
"maxLength": 8000,
"minLength": 1,
"type": "string",
"x-placeholder": "Required: words this speaker says"
}
},
"required": [
"speaker_id",
"text"
],
"type": "object",
"x-order-properties": [
"speaker_id",
"text",
"style_instructions"
]
}
} |
README
Gemini 3.8 Flash-Lite Text-to-Speech
Gemini 3.8 Flash-Lite Text-to-Speech generates expressive WAV speech from text with 30 preset voices and natural-language control over tone, pacing, accent, and emotion.
It supports both single-speaker narration and two-speaker dialogue, making it suitable for voiceovers, conversations, storytelling, and other speech-generation workflows.
Why Choose This?
- Expressive text-to-speech
Generate natural speech with control over tone, pace, accent, and emotion.
- 30 preset voices
Choose from a wide range of built-in voices for different speaking styles.
- Natural-language delivery control
Use style_instructions to describe how the speech should sound.
- Single-speaker narration
Create voiceovers, narration, explanations, and spoken content.
- WAV output
Receive generated speech as a downloadable WAV audio file.
Parameters
| Parameter | Required | Description |
|---|---|---|
| text | Conditional | Text to speak for single-speaker generation. Supports up to 8000 characters. Omit when using dialogue mode. |
| voice | No | Preset voice for single-speaker speech. Default: Kore. |
| style_instructions | No | Optional instructions for tone, pacing, accent, emotion, and delivery style. Supports up to 2000 characters. |
| speakers | Conditional | Configuration for two dialogue speakers and their voices. |
| turns | Conditional | Ordered dialogue turns containing the speaker, text, and optional delivery instructions. |
How to Use
- Enter the text — Provide the content you want spoken.
- Choose a voice — Select one of the available preset voices.
- Add style instructions optional — Describe the desired tone, pace, accent, or emotion.
- Submit — Generate and retrieve the WAV audio.
For dialogue, configure two speakers and provide their lines through turns.
Pricing
Pricing is $0.04 per 1,000 billable characters, with a minimum charge of $0.04 per request.
| Billable Characters | Price |
|---|---|
| 100 | $0.04 |
| 1,000 | $0.04 |
| 5,000 | $0.20 |
Text and delivery instructions contribute to billable character count.
Best Use Cases
- Voiceovers — Generate speech for videos, presentations, and promotional content.
- Narration — Create spoken content for stories, explainers, and educational material.
- Two-speaker conversations — Generate dialogue between two different preset voices.
- Character voices — Use voice and style controls for different speaking personalities.
- Localized content — Guide accent, tone, and delivery for different language workflows.
- Conversational prototypes — Create spoken interactions for demos, assistants, and characters.
Pro Tips
- Keep spoken content separate from delivery instructions.
- Use short, specific style instructions for more consistent results.
- Describe tone, pace, energy, or emotion directly.
- Use different voices for clearer separation in dialogue.
- Inline vocal events such as
<laugh>or<sigh>can be used when needed.
Notes
textsupports up to8000characters.
style_instructionssupports up to2000characters.
- The default voice is
Kore.
- Dialogue mode supports two speakers.
Related Models
- Gemini 3.8 Flash-Lite Text-to-Speech — Generate expressive speech with preset voices and lightweight text-to-speech workflows.
- Gemini 3.8 Flash Text-to-Speech — Generate expressive single-speaker or two-speaker speech with natural-language delivery control.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Gemini 3.8 Flash-Lite Text-to-Speech API example
The catalog lists POST https://api.opensi.com.ai/api/v3/google/gemini-3.8-flash-lite/text-to-speech for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"text": "A clear example input",
"voice": "Kore",
"style_instructions": "example",
"speakers": [],
"turns": []
}Gemini 3.8 Flash-Lite Text-to-Speech API — Frequently asked questions
What is the Gemini 3.8 Flash Lite Text To Speech API?
Gemini 3.8 Flash Lite Text To Speech is a Google model for speech synthesis, exposed as a REST API on OpenSIAI. Gemini 3.8 Flash-Lite Text-to-Speech generates expressive speech from text with configurable voice and delivery-style controls for narration, dialogue, localization, virtual assistants, and scalable voice production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Gemini 3.8 Flash Lite Text To Speech API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/google/gemini-3.8-flash-lite/text-to-speech.
How much does Gemini 3.8 Flash Lite Text To Speech cost per run or per second?
Gemini 3.8 Flash Lite Text To Speech starts at $0.04 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Gemini 3.8 Flash Lite Text To Speech accept?
Key inputs: text, voice. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/google/gemini-3.8-flash-lite/text-to-speech.
How long does Gemini 3.8 Flash Lite Text To Speech take to generate?
Reported generation time on OpenSIAI is around 4 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Gemini 3.8 Flash Lite Text To Speech outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Google). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.