Dža ko lil

Mirelo SFX2.0 · Text to Audio

Integriruj

Modelosko id mirelo-ai/sfx2.0/text-to-audio
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/mirelo-ai/sfx2.0/text-to-audio?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

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

Fajlo sar o misalo: $0.60 600 API krediti · ≈ ₽64.39 tire fajlo si merime angl-o phiripen Phir les kate

Lel API klidin
Mirelo AI Audio 0.1–600 s #text-to-audio#sfx

Zvukoske efekti tekstoskatar, negative promptosa, lungipnasa thaj but sample-sa

Mirelo AI · 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 88 / 2000

Deskripcija e kamle zvukoske efektošće.

standardno 30

Mangluno zvukosko dživipen, merimo sekundenca; trubul te fitinel andro deployment-specific maximum vaš text-to-SFX.

standardno 2

Gino samplešengo vaš keripe andro jekh batched forward pass.

Lučhe negative_prompt · upload_audio_format · upload_audio_bitrate_kbps · seed
0 / 1000

Zvukura save trubul te avol čhivde avri e rezultatoske.

upload_audio_format standardno wav

Formato savo labarolpes vaš sako audio-fajlo.

Upload bitrate override andro kbps; odelpes kana upload_audio_format si lossless. Kana na setos, ačhavel LAME V0 VBR vaš mp3 vaj 256 kbps-cilo vaš aac. Vaš mp3, alosar eksakto constant rate katar 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320. Vaš aac, vrednosti 32 dži 256 si encoder-cilo, na garantime rate; mono vaj sparse audio šaj te avel telal les.

Seed e anglune samplešće; random seed labarolpes vaš -1 vaj kana na delpes.

POST /run/mirelo-ai/sfx2.0/text-to-audio?wait=20 hesab → $0.60
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/mirelo-ai/sfx2.0/text-to-audio?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/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 Mirelo SFX2.0 · Text to Audio

Kerel zvukoske efekto andar jekh `prompt` dži 2000 karakterura, `negative_prompt`-asa te avrićharel zvukura. `duration` hino andar 0.1 dži 600 sekunda (standardno 30), thaj `num_samples` kerel 1 dži 4 varijacije, sako jekha peske semenoha. E forma e rezultatosi šaj te avel wav, mp3, aac vaj flac prekal `upload_audio_format`, opcionalno bitrate-asa vaš mp3 thaj aac.

Parametra

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
≤ 2,000 simbolura
Deskripcija e kamle zvukoske efektošće.
negative_promptopcionalno
Tipstring | null
≤ 1,000 simbolura
Zvukura save trubul te avol čhivde avri e rezultatoske.
durationopcionalno
Tipnumber
standardno30
0.1 – 600
Mangluno zvukosko dživipen, merimo sekundenca; trubul te fitinel andro deployment-specific maximum vaš text-to-SFX.
seedopcionalno
Tipinteger | null
-1 – 9,223,372,036,854,776,000
Seed e anglune samplešće; random seed labarolpes vaš -1 vaj kana na delpes.
num_samplesopcionalno
Tipinteger
standardno2
1 – 4
Gino samplešengo vaš keripe andro jekh batched forward pass.
upload_audio_formatopcionalno
Tipenum
standardnowav
wavmp3aacflac
Formato savo labarolpes vaš sako audio-fajlo.
upload_audio_bitrate_kbpsopcionalno
Tipinteger | null
32 – 320
Upload bitrate override andro kbps; odelpes kana upload_audio_format si lossless. Kana na setos, ačhavel LAME V0 VBR vaš mp3 vaj 256 kbps-cilo vaš aac. Vaš mp3, alosar eksakto constant rate katar 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320. Vaš aac, vrednosti 32 dži 256 si encoder-cilo, na garantime rate; mono vaj sparse audio šaj te avel telal les.
trubul

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "mirelo-ai/sfx2.0/text-to-audio",
  "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": 600,
    "usd": "0.60",
    "charged": 600,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "model": "sfx-2.0",
    "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
      }
    ],
    "seeds": [
      42
    ]
  },
  "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/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
model
stringSFX-modeloski release savo kerel e rezultatos.
audio
array of object {url, content_type, file_name, file_size}Kerdi zvukoske efekti, jekh rezultato vaš sako sample.
seeds
array of integerSeedura save si phandle e sampleenca, rindo ačhavde.

Bute modeli: Audio

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/mirelo-ai/sfx2.0/text-to-audio.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt