Dža ko lil

Gemini 3.8 Flash TTS

Integriruj

Modelosko id google/gemini-3.8-flash-tts
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/google/gemini-3.8-flash-tts?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Hello from Doitong. This is a short test sentence."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Kava mangipen: ≈$0.045 45 API krediti Phir les kate

Lel API klidin
Google Teksto ko Lav Sig #text-to-speech#audio#dialogue#voiceover

Standard Gemini 3.8 Flash tekst-tar-vorbipen naracijake vaj duj-vorbengo dialogoske, 30 glasa

Google · Audio

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

Teksto savo musaj te vakerel pes čačes jekh vakerutneske; labar speakers thaj turns vaš dialogo thaj muk prompto avri. Laba style_instructions vaš bičhalipasko vodipen, thaj markir vokalno događaja inline la <laugh> vaj <sigh>. O provider na mukel buter 8,192 tokeno ande savoro inputo.

Lučhe style_instructions · voice · enable_safety_checker · speakers · turns

Standardno bičhalipasko vodipen vaš sako turn, savoske šaj te del overrides; kadala instrukcije na keren kotor le vakerde transkriptosko.

standardno Kore

Preset voja savo pes labarel vaš jekh-vakerutnesko vakeripen.

Dialogosko vakerutnesko konfiguracia savo si točno duj aver aliasa, sako phandlo jekha prebuilt vojaça.

Sekvencia dialogoske turnengi, sako jekh vakerutnesa savo si konfigurime.

POST /run/google/gemini-3.8-flash-tts?wait=20 hesab → $0.045
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/google/gemini-3.8-flash-tts?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Hello from Doitong. This is a short test sentence."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Gemini 3.8 Flash TTS

Kerel WAV audio andar jekh `prompt`, përdarindoj jekhe andar 30 prebuildime voci, vaj andar duj `speakers` thaj jekh lista `turns` vaš dialogo. `style_instructions` merel o pheripe separatno katar o transkripto thaj šaj te aplicirinelpe sa e turnenge. Inline vokalno događaja sar <laugh> thaj <sigh> si mukle.

Parametra

NavTip standardnoMuklo Vakeripe
promptopcionalno
Tipstring | null
Teksto savo musaj te vakerel pes čačes jekh vakerutneske; labar speakers thaj turns vaš dialogo thaj muk prompto avri. Laba style_instructions vaš bičhalipasko vodipen, thaj markir vokalno događaja inline la <laugh> vaj <sigh>. O provider na mukel buter 8,192 tokeno ande savoro inputo.
style_instructionsopcionalno
Tipstring | null
Standardno bičhalipasko vodipen vaš sako turn, savoske šaj te del overrides; kadala instrukcije na keren kotor le vakerde transkriptosko.
voiceopcionalno
Tipenum
standardnoKore
AchernarAchirdAlgenibAlgiebaAlnilamAoedeAutonoeCallirrhoeCharonDespinaEnceladusErinomeFenrirGacruxIapetusKore
+14 averLaomedeiaLedaOrusPulcherrimaPuckRasalgethiSadachbiaSadaltagerSchedarSulafatUmbrielVindemiatrixZephyrZubenelgenubi
Preset voja savo pes labarel vaš jekh-vakerutnesko vakeripen.
speakersopcionalno
Tipobject[]
≤ 2 artiklura≥ 2 artiklura
Dialogosko vakerutnesko konfiguracia savo si točno duj aver aliasa, sako phandlo jekha prebuilt vojaça.
speakers[].speaker_idtrubul
Tipstring
≥ 1 characters
Alias savo identifikarel le vakerutnes ande sako turn.
speakers[].voicetrubul
Tipenum
AchernarAchirdAlgenibAlgiebaAlnilamAoedeAutonoeCallirrhoeCharonDespinaEnceladusErinomeFenrirGacruxIapetusKore
+14 averLaomedeiaLedaOrusPulcherrimaPuckRasalgethiSadachbiaSadaltagerSchedarSulafatUmbrielVindemiatrixZephyrZubenelgenubi
Preset voja dindi kadale vakerutneske.
turnsopcionalno
Tipobject[]
Sekvencia dialogoske turnengi, sako jekh vakerutnesa savo si konfigurime.
turns[].speaker_idtrubul
Tipstring
≥ 1 characters
Alias savo identifikarel jekhe vakerutnes andar konfiguracia.
turns[].texttrubul
Tipstring
≥ 1 characters
Čačesko transkripto savo musaj te vakerel pes ande kado turn.
turns[].style_instructionsopcionalno
Tipstring | null
Opcionalno stilo le vakeripasko ande kado turn.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Screening šaj te avel relaksirime te postavil pes false, numa kana o manglo si autorizuime.
trubul

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "google/gemini-3.8-flash-tts",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 45,
    "usd": "0.045",
    "charged": 45,
    "refunded": 0
  },
  "input": {
    "prompt": "Hello from Doitong. This is a short test sentence."
  },
  "output": {
    "audio": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_name": "0-output.mp3",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "audio",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_size": 1843200,
      "duration": 12,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
audio
object {url, content_type, file_name, file_size}Audio rezultato ande WAV forma.

Bute modeli: Teksto ko Lav

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/google/gemini-3.8-flash-tts.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt