Dža ko lil

Maya1

Integriruj

Modelosko id maya
# 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/maya?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Hello from Doitong. This is a short test sentence.",
    "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.049 49 API krediti Phir les kate

Lel API klidin
Maya Research Teksto ko Lav #text-to-speech#tts

Ekspresivno text-to-speech voice deskripciaça thaj inline emotion tag-enca

Maya Research · 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.

•trubul 50 / 5000

Teksto vaš speech synthesis, savo mukel emotion tags ande forma <emotion_name> ande sako than, sar ande 'Hello world! <excited> This is amazing!' vaj 'I can't believe this <sigh> happened again.'. Podržime emocie si curious, sarcastic, giggle, gulp, exhale, snort, sing, scream, cry, whisper, excited, angry, gasp, chuckle, sigh, laugh_harder, thaj laugh.

•trubul 50 / 500

Traits e vocesko vaj character-esko save trubun te opišinen, sar intensity, tone, pacing, timbre, pitch, accent, thaj age.

Lučhe sample_rate · output_format · temperature · top_p · max_tokens · repetition_penalty · enable_safety_checker
sample_rate standardno 48 kHz

Audio sample-rate choice maškar faster processing ko 24 kHz thaj higher-quality rezultato ko 48 kHz.

output_format standardno wav

Audio fajlosko formato përdolpe vaš sintetizirime duma.

standardno 0.4

Sampling temperature savo kontrolinel audio variation: kana bararelpe, anel buter varietato; o teluno range 0.2–0.5 preferinel stability thaj consistency.

standardno 0.9

Nucleus sampling setting savo adjustinel o diversity e token-selection-esko.

standardno 2000

SNAC tokenosko budžeto savo limitinel e audioski durata, kalkulirime sar 7 tokeno vaš sako kadro.

standardno 1.1

Penalty savo lagelpe ko tokenosko repetition. Kana bararelpe, čhinel repetition artifacts.

POST /run/maya?wait=20 hesab → $0.049
# 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/maya?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Hello from Doitong. This is a short test sentence.",
    "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 Maya1

Konvertinela teksto dži ko 5000 karaktera andre vakeriben. Jekh mangimo `prompt` dži ko 500 karaktera vakerel palal e glasa, sar phuroipen, akcento thaj ton. Emocijake tagura sar laugh vaj whisper šaj te aven ande teksto. Alosar 48 kHz vaj 24 kHz sample rate thaj wav vaj mp3 rezultato; `max_tokens` limitinela audio-sko lundžipen

Parametra

NavTip standardnoMuklo Vakeripe
texttrubul
Tipstring
≤ 5,000 simbolura
Teksto vaš speech synthesis, savo mukel emotion tags ande forma <emotion_name> ande sako than, sar ande 'Hello world! <excited> This is amazing!' vaj 'I can't believe this <sigh> happened again.'. Podržime emocie si curious, sarcastic, giggle, gulp, exhale, snort, sing, scream, cry, whisper, excited, angry, gasp, chuckle, sigh, laugh_harder, thaj laugh.
prompttrubul
Tipstring
≤ 500 simbolura
Traits e vocesko vaj character-esko save trubun te opišinen, sar intensity, tone, pacing, timbre, pitch, accent, thaj age.
temperatureopcionalno
Tipnumber
standardno0.4
0 – 2
Sampling temperature savo kontrolinel audio variation: kana bararelpe, anel buter varietato; o teluno range 0.2–0.5 preferinel stability thaj consistency.
top_popcionalno
Tipnumber
standardno0.9
0 – 1
Nucleus sampling setting savo adjustinel o diversity e token-selection-esko.
max_tokensopcionalno
Tipinteger
standardno2000
28 – 4,000
SNAC tokenosko budžeto savo limitinel e audioski durata, kalkulirime sar 7 tokeno vaš sako kadro.
repetition_penaltyopcionalno
Tipnumber
standardno1.1
1 – 2
Penalty savo lagelpe ko tokenosko repetition. Kana bararelpe, čhinel repetition artifacts.
sample_rateopcionalno
Tipenum
standardno48 kHz
48 kHz24 kHz
Audio sample-rate choice maškar faster processing ko 24 kHz thaj higher-quality rezultato ko 48 kHz.
output_formatopcionalno
Tipenum
standardnowav
wavmp3
Audio fajlosko formato përdolpe vaš sintetizirime duma.
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": "maya",
  "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": 49,
    "usd": "0.049",
    "charged": 49,
    "refunded": 0
  },
  "input": {
    "text": "Hello from Doitong. This is a short test sentence.",
    "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
    },
    "duration": 5,
    "sample_rate": "48 kHz",
    "generation_time": 2.3,
    "rtf": 0.51
  },
  "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}Generirime duma fajlo ande WAV vaj MP3, mono audio ko 24 kHz vaj 48 kHz, sar odol džanel o upsampler.
duration
numberDužina e audiosko rezultatoski, merime ande sekunda.
sample_rate
stringSampling rate e audiosko rezultatosko.
generation_time
numberVakti e audioski keripesko, merime ande sekunda.
rtf
numberReal-time factor kalkulirime sar generation_time divided by audio_duration; teleder vrednosti sikaven feder performance.

Bute modeli: Teksto ko Lav

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/maya.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt