live
MODEL IDgoogle:gemini@3.8-flash-tts

Gemini 3.8 Flash TTS

Google
by
Available with Zero Data Retention

Gemini 3.8 Flash TTS is Google's text-to-speech model for expressive, natural-sounding speech from text. It follows natural-language delivery directions for tone, pace, and emotion, renders inline tags such as laughs, sighs, and pauses, and generates two-speaker dialogue in a single request. It detects the language of the text automatically across more than 130 languages, making it suitable for narration, voice agents, podcasts, audiobooks, and localized voiceover.

Gemini 3.8 Flash TTS

text-to-audio

Coral Cryobank Fundraising Voiceover$0.0258~15s
0:00

At first, it looks like a snow globe: tiny coral cells turning slowly in a vial. But this is not a souvenir. It is a future reef. At minus one hundred and ninety-six degrees Celsius, coral reproductive cells can be preserved for the decades ahead—protecting genetic diversity that warming seas could erase in a single season. <short pause> When conditions recover, scientists can thaw viable samples and give restoration teams more choices: corals that may tolerate heat, resist disease, and help damaged reefs begin again. One vial can safeguard possibilities we have not even discovered yet. <short pause> Support coral cryobanking, and you are not simply freezing life in time. You are keeping the door open—for bright shallows, crowded nurseries, and reefs that still have a chance to surprise us.

Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'google:gemini@3.8-flash-tts',
  speech: {
    text: 'At first, it looks like a snow globe: tiny coral cells turning slowly in a vial. But this is not a souvenir. It is a future reef.\n\nAt minus one hundred and ninety-six degrees Celsius, coral reproductive cells can be preserved for the decades ahead—protecting genetic diversity that warming seas could erase in a single season. <short pause>\n\nWhen conditions recover, scientists can thaw viable samples and give restoration teams more choices: corals that may tolerate heat, resist disease, and help damaged reefs begin again.\n\nOne vial can safeguard possibilities we have not even discovered yet. <short pause>\n\nSupport coral cryobanking, and you are not simply freezing life in time. You are keeping the door open—for bright shallows, crowded nurseries, and reefs that still have a chance to surprise us.',
    voice: 'Sulafat'
  },
  settings: {
    style: 'Warm, intimate documentary narration with quiet wonder at the opening, measured clarity through the scientific explanation, and a gradual rise into sincere, hopeful conviction; use natural pauses and avoid a conventional sales-announcer tone.'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "google:gemini@3.8-flash-tts",
            "speech": {
                "text": "At first, it looks like a snow globe: tiny coral cells turning slowly in a vial. But this is not a souvenir. It is a future reef.\n\nAt minus one hundred and ninety-six degrees Celsius, coral reproductive cells can be preserved for the decades ahead—protecting genetic diversity that warming seas could erase in a single season. <short pause>\n\nWhen conditions recover, scientists can thaw viable samples and give restoration teams more choices: corals that may tolerate heat, resist disease, and help damaged reefs begin again.\n\nOne vial can safeguard possibilities we have not even discovered yet. <short pause>\n\nSupport coral cryobanking, and you are not simply freezing life in time. You are keeping the door open—for bright shallows, crowded nurseries, and reefs that still have a chance to surprise us.",
                "voice": "Sulafat"
            },
            "settings": {
                "style": "Warm, intimate documentary narration with quiet wonder at the opening, measured clarity through the scientific explanation, and a gradual rise into sincere, hopeful conviction; use natural pauses and avoid a conventional sales-announcer tone."
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "audioInference",
      "taskUUID": "f6694623-b5e6-459d-a3d9-b27eda4f88fe",
      "model": "google:gemini@3.8-flash-tts",
      "speech": {
        "text": "At first, it looks like a snow globe: tiny coral cells turning slowly in a vial. But this is not a souvenir. It is a future reef.\n\nAt minus one hundred and ninety-six degrees Celsius, coral reproductive cells can be preserved for the decades ahead—protecting genetic diversity that warming seas could erase in a single season. <short pause>\n\nWhen conditions recover, scientists can thaw viable samples and give restoration teams more choices: corals that may tolerate heat, resist disease, and help damaged reefs begin again.\n\nOne vial can safeguard possibilities we have not even discovered yet. <short pause>\n\nSupport coral cryobanking, and you are not simply freezing life in time. You are keeping the door open—for bright shallows, crowded nurseries, and reefs that still have a chance to surprise us.",
        "voice": "Sulafat"
      },
      "settings": {
        "style": "Warm, intimate documentary narration with quiet wonder at the opening, measured clarity through the scientific explanation, and a gradual rise into sincere, hopeful conviction; use natural pauses and avoid a conventional sales-announcer tone."
      }
    }
  ]'
runware run google:gemini@3.8-flash-tts \
  speech.text="At first, it looks like a snow globe: tiny coral cells turning slowly in a vial. But this is not a souvenir. It is a future reef.

At minus one hundred and ninety-six degrees Celsius, coral reproductive cells can be preserved for the decades ahead—protecting genetic diversity that warming seas could erase in a single season. <short pause>

When conditions recover, scientists can thaw viable samples and give restoration teams more choices: corals that may tolerate heat, resist disease, and help damaged reefs begin again.

One vial can safeguard possibilities we have not even discovered yet. <short pause>

Support coral cryobanking, and you are not simply freezing life in time. You are keeping the door open—for bright shallows, crowded nurseries, and reefs that still have a chance to surprise us." \
  speech.voice=Sulafat \
  settings.style="Warm, intimate documentary narration with quiet wonder at the opening, measured clarity through the scientific explanation, and a gradual rise into sincere, hopeful conviction; use natural pauses and avoid a conventional sales-announcer tone."
{
  "taskType": "audioInference",
  "taskUUID": "f6694623-b5e6-459d-a3d9-b27eda4f88fe",
  "model": "google:gemini@3.8-flash-tts",
  "speech": {
    "text": "At first, it looks like a snow globe: tiny coral cells turning slowly in a vial. But this is not a souvenir. It is a future reef.\n\nAt minus one hundred and ninety-six degrees Celsius, coral reproductive cells can be preserved for the decades ahead—protecting genetic diversity that warming seas could erase in a single season. <short pause>\n\nWhen conditions recover, scientists can thaw viable samples and give restoration teams more choices: corals that may tolerate heat, resist disease, and help damaged reefs begin again.\n\nOne vial can safeguard possibilities we have not even discovered yet. <short pause>\n\nSupport coral cryobanking, and you are not simply freezing life in time. You are keeping the door open—for bright shallows, crowded nurseries, and reefs that still have a chance to surprise us.",
    "voice": "Sulafat"
  },
  "settings": {
    "style": "Warm, intimate documentary narration with quiet wonder at the opening, measured clarity through the scientific explanation, and a gradual rise into sincere, hopeful conviction; use natural pauses and avoid a conventional sales-announcer tone."
  }
}
Response
{
  "taskType": "audioInference",
  "taskUUID": "f6694623-b5e6-459d-a3d9-b27eda4f88fe",
  "audioUUID": "2cd205de-c8a8-4d71-bb17-e5f308a3cb2e",
  "audioURL": "https://am.runware.ai/audio/os/a05d22/ws/5/ai/2cd205de-c8a8-4d71-bb17-e5f308a3cb2e.mp3",
  "cost": 0.025822
}

text-to-audio

Forensic Timber Podcast Cold Open$0.0407~23s
0:00

A shipping container arrives at the Port of Rotterdam carrying thirty tons of tropical hardwood. The paperwork says plantation-grown teak. Legal. Traceable. Unremarkable. But inside a government laboratory, Dr. Lena Vos lifts one splinter from the shipment and places it beneath a mass spectrometer. <short pause> The machine finds something the paperwork forgot to mention: rain. Not last week’s rain, but decades of it—stored in the wood as a chemical signature. The pattern points thousands of kilometers away from the declared plantation, toward a protected forest where logging is forbidden. That splinter is now evidence. <short pause> We tend to imagine timber crime happening deep in the jungle: chainsaws, trucks, men working by moonlight. But the decisive moment may come months later, in a silent lab, when a scientist asks a piece of wood where it grew. And, remarkably, the wood answers. I’m Mara Ellison, and this is “Material Witness,” the podcast about ordinary substances that expose extraordinary crimes. Today: the hidden geography inside a tree—and the forensic race to map the world’s forests before they disappear. <sigh> Because once the last tree is cut, even perfect evidence arrives too late.

Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'google:gemini@3.8-flash-tts',
  speech: {
    text: 'A shipping container arrives at the Port of Rotterdam carrying thirty tons of tropical hardwood. The paperwork says plantation-grown teak. Legal. Traceable. Unremarkable.\n\nBut inside a government laboratory, Dr. Lena Vos lifts one splinter from the shipment and places it beneath a mass spectrometer. <short pause> The machine finds something the paperwork forgot to mention: rain. Not last week’s rain, but decades of it—stored in the wood as a chemical signature. The pattern points thousands of kilometers away from the declared plantation, toward a protected forest where logging is forbidden.\n\nThat splinter is now evidence.\n\n<short pause> We tend to imagine timber crime happening deep in the jungle: chainsaws, trucks, men working by moonlight. But the decisive moment may come months later, in a silent lab, when a scientist asks a piece of wood where it grew.\n\nAnd, remarkably, the wood answers.\n\nI’m Mara Ellison, and this is “Material Witness,” the podcast about ordinary substances that expose extraordinary crimes. Today: the hidden geography inside a tree—and the forensic race to map the world’s forests before they disappear. <sigh> Because once the last tree is cut, even perfect evidence arrives too late.',
    voice: 'Gacrux'
  },
  settings: {
    style: 'Deliver as an intimate, cinematic investigative-podcast host: measured and quietly urgent, with crisp factual authority, restrained emotion, and deliberate pauses that let each revelation land.'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "google:gemini@3.8-flash-tts",
            "speech": {
                "text": "A shipping container arrives at the Port of Rotterdam carrying thirty tons of tropical hardwood. The paperwork says plantation-grown teak. Legal. Traceable. Unremarkable.\n\nBut inside a government laboratory, Dr. Lena Vos lifts one splinter from the shipment and places it beneath a mass spectrometer. <short pause> The machine finds something the paperwork forgot to mention: rain. Not last week’s rain, but decades of it—stored in the wood as a chemical signature. The pattern points thousands of kilometers away from the declared plantation, toward a protected forest where logging is forbidden.\n\nThat splinter is now evidence.\n\n<short pause> We tend to imagine timber crime happening deep in the jungle: chainsaws, trucks, men working by moonlight. But the decisive moment may come months later, in a silent lab, when a scientist asks a piece of wood where it grew.\n\nAnd, remarkably, the wood answers.\n\nI’m Mara Ellison, and this is “Material Witness,” the podcast about ordinary substances that expose extraordinary crimes. Today: the hidden geography inside a tree—and the forensic race to map the world’s forests before they disappear. <sigh> Because once the last tree is cut, even perfect evidence arrives too late.",
                "voice": "Gacrux"
            },
            "settings": {
                "style": "Deliver as an intimate, cinematic investigative-podcast host: measured and quietly urgent, with crisp factual authority, restrained emotion, and deliberate pauses that let each revelation land."
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "audioInference",
      "taskUUID": "b0bd0ac5-f325-4a14-876d-0b62c07bd09a",
      "model": "google:gemini@3.8-flash-tts",
      "speech": {
        "text": "A shipping container arrives at the Port of Rotterdam carrying thirty tons of tropical hardwood. The paperwork says plantation-grown teak. Legal. Traceable. Unremarkable.\n\nBut inside a government laboratory, Dr. Lena Vos lifts one splinter from the shipment and places it beneath a mass spectrometer. <short pause> The machine finds something the paperwork forgot to mention: rain. Not last week’s rain, but decades of it—stored in the wood as a chemical signature. The pattern points thousands of kilometers away from the declared plantation, toward a protected forest where logging is forbidden.\n\nThat splinter is now evidence.\n\n<short pause> We tend to imagine timber crime happening deep in the jungle: chainsaws, trucks, men working by moonlight. But the decisive moment may come months later, in a silent lab, when a scientist asks a piece of wood where it grew.\n\nAnd, remarkably, the wood answers.\n\nI’m Mara Ellison, and this is “Material Witness,” the podcast about ordinary substances that expose extraordinary crimes. Today: the hidden geography inside a tree—and the forensic race to map the world’s forests before they disappear. <sigh> Because once the last tree is cut, even perfect evidence arrives too late.",
        "voice": "Gacrux"
      },
      "settings": {
        "style": "Deliver as an intimate, cinematic investigative-podcast host: measured and quietly urgent, with crisp factual authority, restrained emotion, and deliberate pauses that let each revelation land."
      }
    }
  ]'
runware run google:gemini@3.8-flash-tts \
  speech.text="A shipping container arrives at the Port of Rotterdam carrying thirty tons of tropical hardwood. The paperwork says plantation-grown teak. Legal. Traceable. Unremarkable.

But inside a government laboratory, Dr. Lena Vos lifts one splinter from the shipment and places it beneath a mass spectrometer. <short pause> The machine finds something the paperwork forgot to mention: rain. Not last week’s rain, but decades of it—stored in the wood as a chemical signature. The pattern points thousands of kilometers away from the declared plantation, toward a protected forest where logging is forbidden.

That splinter is now evidence.

<short pause> We tend to imagine timber crime happening deep in the jungle: chainsaws, trucks, men working by moonlight. But the decisive moment may come months later, in a silent lab, when a scientist asks a piece of wood where it grew.

And, remarkably, the wood answers.

I’m Mara Ellison, and this is “Material Witness,” the podcast about ordinary substances that expose extraordinary crimes. Today: the hidden geography inside a tree—and the forensic race to map the world’s forests before they disappear. <sigh> Because once the last tree is cut, even perfect evidence arrives too late." \
  speech.voice=Gacrux \
  settings.style="Deliver as an intimate, cinematic investigative-podcast host: measured and quietly urgent, with crisp factual authority, restrained emotion, and deliberate pauses that let each revelation land."
{
  "taskType": "audioInference",
  "taskUUID": "b0bd0ac5-f325-4a14-876d-0b62c07bd09a",
  "model": "google:gemini@3.8-flash-tts",
  "speech": {
    "text": "A shipping container arrives at the Port of Rotterdam carrying thirty tons of tropical hardwood. The paperwork says plantation-grown teak. Legal. Traceable. Unremarkable.\n\nBut inside a government laboratory, Dr. Lena Vos lifts one splinter from the shipment and places it beneath a mass spectrometer. <short pause> The machine finds something the paperwork forgot to mention: rain. Not last week’s rain, but decades of it—stored in the wood as a chemical signature. The pattern points thousands of kilometers away from the declared plantation, toward a protected forest where logging is forbidden.\n\nThat splinter is now evidence.\n\n<short pause> We tend to imagine timber crime happening deep in the jungle: chainsaws, trucks, men working by moonlight. But the decisive moment may come months later, in a silent lab, when a scientist asks a piece of wood where it grew.\n\nAnd, remarkably, the wood answers.\n\nI’m Mara Ellison, and this is “Material Witness,” the podcast about ordinary substances that expose extraordinary crimes. Today: the hidden geography inside a tree—and the forensic race to map the world’s forests before they disappear. <sigh> Because once the last tree is cut, even perfect evidence arrives too late.",
    "voice": "Gacrux"
  },
  "settings": {
    "style": "Deliver as an intimate, cinematic investigative-podcast host: measured and quietly urgent, with crisp factual authority, restrained emotion, and deliberate pauses that let each revelation land."
  }
}
Response
{
  "taskType": "audioInference",
  "taskUUID": "b0bd0ac5-f325-4a14-876d-0b62c07bd09a",
  "audioUUID": "d10cb6f9-042d-4eb6-b6aa-fb3980d382ff",
  "audioURL": "https://am.runware.ai/audio/os/a05d22/ws/5/ai/d10cb6f9-042d-4eb6-b6aa-fb3980d382ff.mp3",
  "cost": 0.040711
}

multi-speaker-dialogue

Backcountry Forecast Segment Stinger$0.00668~8s
0:00

[Nia] Beacon checked? [Owen] Checked. Probe and shovel? [Nia] Packed. Now, the forecast. [Owen] New snow, rising wind, changing risk. [Nia] So before we chase fresh tracks— [Owen] —we read the mountain. <short pause> [Nia] This is the Backcountry Conditions Report.

Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'google:gemini@3.8-flash-tts',
  speech: {
    text: '[Nia] Beacon checked?\n[Owen] Checked. Probe and shovel?\n[Nia] Packed. Now, the forecast.\n[Owen] New snow, rising wind, changing risk.\n[Nia] So before we chase fresh tracks—\n[Owen] —we read the mountain. <short pause>\n[Nia] This is the Backcountry Conditions Report.',
    voices: [
      {
        speaker: 'Nia',
        voice: 'Kore'
      },
      {
        speaker: 'Owen',
        voice: 'Algieba'
      }
    ]
  },
  settings: {
    style: 'Deliver as a polished podcast segment stinger: crisp, confident, safety-minded, and naturally conversational, with brisk pacing and subtle rhythmic interplay rather than an announcer voice.'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "google:gemini@3.8-flash-tts",
            "speech": {
                "text": "[Nia] Beacon checked?\n[Owen] Checked. Probe and shovel?\n[Nia] Packed. Now, the forecast.\n[Owen] New snow, rising wind, changing risk.\n[Nia] So before we chase fresh tracks—\n[Owen] —we read the mountain. <short pause>\n[Nia] This is the Backcountry Conditions Report.",
                "voices": [
                    {
                        "speaker": "Nia",
                        "voice": "Kore"
                    },
                    {
                        "speaker": "Owen",
                        "voice": "Algieba"
                    }
                ]
            },
            "settings": {
                "style": "Deliver as a polished podcast segment stinger: crisp, confident, safety-minded, and naturally conversational, with brisk pacing and subtle rhythmic interplay rather than an announcer voice."
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "audioInference",
      "taskUUID": "491ec7f3-2737-463f-bc6e-a1a9ad00fdaf",
      "model": "google:gemini@3.8-flash-tts",
      "speech": {
        "text": "[Nia] Beacon checked?\n[Owen] Checked. Probe and shovel?\n[Nia] Packed. Now, the forecast.\n[Owen] New snow, rising wind, changing risk.\n[Nia] So before we chase fresh tracks—\n[Owen] —we read the mountain. <short pause>\n[Nia] This is the Backcountry Conditions Report.",
        "voices": [
          {
            "speaker": "Nia",
            "voice": "Kore"
          },
          {
            "speaker": "Owen",
            "voice": "Algieba"
          }
        ]
      },
      "settings": {
        "style": "Deliver as a polished podcast segment stinger: crisp, confident, safety-minded, and naturally conversational, with brisk pacing and subtle rhythmic interplay rather than an announcer voice."
      }
    }
  ]'
runware run google:gemini@3.8-flash-tts \
  speech.text="[Nia] Beacon checked?
[Owen] Checked. Probe and shovel?
[Nia] Packed. Now, the forecast.
[Owen] New snow, rising wind, changing risk.
[Nia] So before we chase fresh tracks—
[Owen] —we read the mountain. <short pause>
[Nia] This is the Backcountry Conditions Report." \
  speech.voices.0.speaker=Nia \
  speech.voices.0.voice=Kore \
  speech.voices.1.speaker=Owen \
  speech.voices.1.voice=Algieba \
  settings.style="Deliver as a polished podcast segment stinger: crisp, confident, safety-minded, and naturally conversational, with brisk pacing and subtle rhythmic interplay rather than an announcer voice."
{
  "taskType": "audioInference",
  "taskUUID": "491ec7f3-2737-463f-bc6e-a1a9ad00fdaf",
  "model": "google:gemini@3.8-flash-tts",
  "speech": {
    "text": "[Nia] Beacon checked?\n[Owen] Checked. Probe and shovel?\n[Nia] Packed. Now, the forecast.\n[Owen] New snow, rising wind, changing risk.\n[Nia] So before we chase fresh tracks—\n[Owen] —we read the mountain. <short pause>\n[Nia] This is the Backcountry Conditions Report.",
    "voices": [
      {
        "speaker": "Nia",
        "voice": "Kore"
      },
      {
        "speaker": "Owen",
        "voice": "Algieba"
      }
    ]
  },
  "settings": {
    "style": "Deliver as a polished podcast segment stinger: crisp, confident, safety-minded, and naturally conversational, with brisk pacing and subtle rhythmic interplay rather than an announcer voice."
  }
}
Response
{
  "taskType": "audioInference",
  "taskUUID": "491ec7f3-2737-463f-bc6e-a1a9ad00fdaf",
  "audioUUID": "92ee2484-f1a7-4e5d-a0b0-8c506fbe8a86",
  "audioURL": "https://am.runware.ai/audio/os/a01d21/ws/5/ai/92ee2484-f1a7-4e5d-a0b0-8c506fbe8a86.mp3",
  "cost": 0.006678
}

multi-speaker-dialogue

Flood-Damaged Archive Training Dialogue$0.0527~14s
0:00

[Mara] The sprinkler line has stopped, but these records are still absorbing water. Eli, what do you do first? [Eli] Keep everyone out until facilities confirms the area is electrically safe. Then I put on nitrile gloves, photograph the room, and record where each box was found. [Mara] Good. Documentation preserves context. Now you have three groups: damp folders, soaked bound volumes, and glossy photographs stuck together. Which group gets immediate attention? [Eli] The photographs. If their emulsions dry while touching, they may bond permanently. I keep them wet in clean, cool water until a conservator can separate them. [Mara] Exactly. Never peel them apart. What about the damp folders? [Eli] If there are only a few, I move them to a clean, ventilated space. I stand folders upright, fan the pages gently, and place absorbent paper beneath them. I change that paper as it becomes wet. [Mara] And no direct heat. It can distort paper and accelerate damage. <short pause> The soaked volumes are too numerous to air-dry within forty-eight hours. Your next step? [Eli] Pack them for freezing. I wrap each volume in freezer paper, spine down, without forcing it open. Then I label the package with its collection and box number. [Mara] Why the forty-eight-hour deadline? [Eli] Mold can begin growing quickly in warm, humid conditions. Freezing buys time and stabilizes the material until vacuum freeze-drying is available. [Mara] One last check: you notice a gray, fuzzy patch on a carton. [Eli] I stop handling it, isolate the carton, and notify the response lead. I do not brush or vacuum suspected mold without the right containment and protective equipment. [Mara] Correct. In a records emergency, the priorities are safety, documentation, stabilization, and traceable decisions—not speed at any cost.

Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'google:gemini@3.8-flash-tts',
  speech: {
    text: '[Mara] The sprinkler line has stopped, but these records are still absorbing water. Eli, what do you do first?\n[Eli] Keep everyone out until facilities confirms the area is electrically safe. Then I put on nitrile gloves, photograph the room, and record where each box was found.\n[Mara] Good. Documentation preserves context. Now you have three groups: damp folders, soaked bound volumes, and glossy photographs stuck together. Which group gets immediate attention?\n[Eli] The photographs. If their emulsions dry while touching, they may bond permanently. I keep them wet in clean, cool water until a conservator can separate them.\n[Mara] Exactly. Never peel them apart. What about the damp folders?\n[Eli] If there are only a few, I move them to a clean, ventilated space. I stand folders upright, fan the pages gently, and place absorbent paper beneath them. I change that paper as it becomes wet.\n[Mara] And no direct heat. It can distort paper and accelerate damage. <short pause> The soaked volumes are too numerous to air-dry within forty-eight hours. Your next step?\n[Eli] Pack them for freezing. I wrap each volume in freezer paper, spine down, without forcing it open. Then I label the package with its collection and box number.\n[Mara] Why the forty-eight-hour deadline?\n[Eli] Mold can begin growing quickly in warm, humid conditions. Freezing buys time and stabilizes the material until vacuum freeze-drying is available.\n[Mara] One last check: you notice a gray, fuzzy patch on a carton.\n[Eli] I stop handling it, isolate the carton, and notify the response lead. I do not brush or vacuum suspected mold without the right containment and protective equipment.\n[Mara] Correct. In a records emergency, the priorities are safety, documentation, stabilization, and traceable decisions—not speed at any cost.',
    voices: [
      {
        speaker: 'Mara',
        voice: 'Gacrux'
      },
      {
        speaker: 'Eli',
        voice: 'Charon'
      }
    ]
  },
  settings: {
    style: 'Deliver as a calm, realistic workplace training conversation: measured pace, clear instructional emphasis, and understated urgency without sounding theatrical.'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "google:gemini@3.8-flash-tts",
            "speech": {
                "text": "[Mara] The sprinkler line has stopped, but these records are still absorbing water. Eli, what do you do first?\n[Eli] Keep everyone out until facilities confirms the area is electrically safe. Then I put on nitrile gloves, photograph the room, and record where each box was found.\n[Mara] Good. Documentation preserves context. Now you have three groups: damp folders, soaked bound volumes, and glossy photographs stuck together. Which group gets immediate attention?\n[Eli] The photographs. If their emulsions dry while touching, they may bond permanently. I keep them wet in clean, cool water until a conservator can separate them.\n[Mara] Exactly. Never peel them apart. What about the damp folders?\n[Eli] If there are only a few, I move them to a clean, ventilated space. I stand folders upright, fan the pages gently, and place absorbent paper beneath them. I change that paper as it becomes wet.\n[Mara] And no direct heat. It can distort paper and accelerate damage. <short pause> The soaked volumes are too numerous to air-dry within forty-eight hours. Your next step?\n[Eli] Pack them for freezing. I wrap each volume in freezer paper, spine down, without forcing it open. Then I label the package with its collection and box number.\n[Mara] Why the forty-eight-hour deadline?\n[Eli] Mold can begin growing quickly in warm, humid conditions. Freezing buys time and stabilizes the material until vacuum freeze-drying is available.\n[Mara] One last check: you notice a gray, fuzzy patch on a carton.\n[Eli] I stop handling it, isolate the carton, and notify the response lead. I do not brush or vacuum suspected mold without the right containment and protective equipment.\n[Mara] Correct. In a records emergency, the priorities are safety, documentation, stabilization, and traceable decisions—not speed at any cost.",
                "voices": [
                    {
                        "speaker": "Mara",
                        "voice": "Gacrux"
                    },
                    {
                        "speaker": "Eli",
                        "voice": "Charon"
                    }
                ]
            },
            "settings": {
                "style": "Deliver as a calm, realistic workplace training conversation: measured pace, clear instructional emphasis, and understated urgency without sounding theatrical."
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "audioInference",
      "taskUUID": "efc1772e-201b-4905-9846-996529d8212a",
      "model": "google:gemini@3.8-flash-tts",
      "speech": {
        "text": "[Mara] The sprinkler line has stopped, but these records are still absorbing water. Eli, what do you do first?\n[Eli] Keep everyone out until facilities confirms the area is electrically safe. Then I put on nitrile gloves, photograph the room, and record where each box was found.\n[Mara] Good. Documentation preserves context. Now you have three groups: damp folders, soaked bound volumes, and glossy photographs stuck together. Which group gets immediate attention?\n[Eli] The photographs. If their emulsions dry while touching, they may bond permanently. I keep them wet in clean, cool water until a conservator can separate them.\n[Mara] Exactly. Never peel them apart. What about the damp folders?\n[Eli] If there are only a few, I move them to a clean, ventilated space. I stand folders upright, fan the pages gently, and place absorbent paper beneath them. I change that paper as it becomes wet.\n[Mara] And no direct heat. It can distort paper and accelerate damage. <short pause> The soaked volumes are too numerous to air-dry within forty-eight hours. Your next step?\n[Eli] Pack them for freezing. I wrap each volume in freezer paper, spine down, without forcing it open. Then I label the package with its collection and box number.\n[Mara] Why the forty-eight-hour deadline?\n[Eli] Mold can begin growing quickly in warm, humid conditions. Freezing buys time and stabilizes the material until vacuum freeze-drying is available.\n[Mara] One last check: you notice a gray, fuzzy patch on a carton.\n[Eli] I stop handling it, isolate the carton, and notify the response lead. I do not brush or vacuum suspected mold without the right containment and protective equipment.\n[Mara] Correct. In a records emergency, the priorities are safety, documentation, stabilization, and traceable decisions—not speed at any cost.",
        "voices": [
          {
            "speaker": "Mara",
            "voice": "Gacrux"
          },
          {
            "speaker": "Eli",
            "voice": "Charon"
          }
        ]
      },
      "settings": {
        "style": "Deliver as a calm, realistic workplace training conversation: measured pace, clear instructional emphasis, and understated urgency without sounding theatrical."
      }
    }
  ]'
runware run google:gemini@3.8-flash-tts \
  speech.text="[Mara] The sprinkler line has stopped, but these records are still absorbing water. Eli, what do you do first?
[Eli] Keep everyone out until facilities confirms the area is electrically safe. Then I put on nitrile gloves, photograph the room, and record where each box was found.
[Mara] Good. Documentation preserves context. Now you have three groups: damp folders, soaked bound volumes, and glossy photographs stuck together. Which group gets immediate attention?
[Eli] The photographs. If their emulsions dry while touching, they may bond permanently. I keep them wet in clean, cool water until a conservator can separate them.
[Mara] Exactly. Never peel them apart. What about the damp folders?
[Eli] If there are only a few, I move them to a clean, ventilated space. I stand folders upright, fan the pages gently, and place absorbent paper beneath them. I change that paper as it becomes wet.
[Mara] And no direct heat. It can distort paper and accelerate damage. <short pause> The soaked volumes are too numerous to air-dry within forty-eight hours. Your next step?
[Eli] Pack them for freezing. I wrap each volume in freezer paper, spine down, without forcing it open. Then I label the package with its collection and box number.
[Mara] Why the forty-eight-hour deadline?
[Eli] Mold can begin growing quickly in warm, humid conditions. Freezing buys time and stabilizes the material until vacuum freeze-drying is available.
[Mara] One last check: you notice a gray, fuzzy patch on a carton.
[Eli] I stop handling it, isolate the carton, and notify the response lead. I do not brush or vacuum suspected mold without the right containment and protective equipment.
[Mara] Correct. In a records emergency, the priorities are safety, documentation, stabilization, and traceable decisions—not speed at any cost." \
  speech.voices.0.speaker=Mara \
  speech.voices.0.voice=Gacrux \
  speech.voices.1.speaker=Eli \
  speech.voices.1.voice=Charon \
  settings.style="Deliver as a calm, realistic workplace training conversation: measured pace, clear instructional emphasis, and understated urgency without sounding theatrical."
{
  "taskType": "audioInference",
  "taskUUID": "efc1772e-201b-4905-9846-996529d8212a",
  "model": "google:gemini@3.8-flash-tts",
  "speech": {
    "text": "[Mara] The sprinkler line has stopped, but these records are still absorbing water. Eli, what do you do first?\n[Eli] Keep everyone out until facilities confirms the area is electrically safe. Then I put on nitrile gloves, photograph the room, and record where each box was found.\n[Mara] Good. Documentation preserves context. Now you have three groups: damp folders, soaked bound volumes, and glossy photographs stuck together. Which group gets immediate attention?\n[Eli] The photographs. If their emulsions dry while touching, they may bond permanently. I keep them wet in clean, cool water until a conservator can separate them.\n[Mara] Exactly. Never peel them apart. What about the damp folders?\n[Eli] If there are only a few, I move them to a clean, ventilated space. I stand folders upright, fan the pages gently, and place absorbent paper beneath them. I change that paper as it becomes wet.\n[Mara] And no direct heat. It can distort paper and accelerate damage. <short pause> The soaked volumes are too numerous to air-dry within forty-eight hours. Your next step?\n[Eli] Pack them for freezing. I wrap each volume in freezer paper, spine down, without forcing it open. Then I label the package with its collection and box number.\n[Mara] Why the forty-eight-hour deadline?\n[Eli] Mold can begin growing quickly in warm, humid conditions. Freezing buys time and stabilizes the material until vacuum freeze-drying is available.\n[Mara] One last check: you notice a gray, fuzzy patch on a carton.\n[Eli] I stop handling it, isolate the carton, and notify the response lead. I do not brush or vacuum suspected mold without the right containment and protective equipment.\n[Mara] Correct. In a records emergency, the priorities are safety, documentation, stabilization, and traceable decisions—not speed at any cost.",
    "voices": [
      {
        "speaker": "Mara",
        "voice": "Gacrux"
      },
      {
        "speaker": "Eli",
        "voice": "Charon"
      }
    ]
  },
  "settings": {
    "style": "Deliver as a calm, realistic workplace training conversation: measured pace, clear instructional emphasis, and understated urgency without sounding theatrical."
  }
}
Response
{
  "taskType": "audioInference",
  "taskUUID": "efc1772e-201b-4905-9846-996529d8212a",
  "audioUUID": "782cbcbc-e99c-4ba6-9d48-ab136535ac05",
  "audioURL": "https://am.runware.ai/audio/os/a02d21/ws/5/ai/782cbcbc-e99c-4ba6-9d48-ab136535ac05.mp3",
  "cost": 0.052664
}