Peke ki ngā ihirangi

Mirelo SFX2.0 · Text to Audio

Whakauru

id tauira 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"

Ngā kōnae pēnei i te tauira: $ 0.60 600 whiwhinga API · ≈ ₽ 64.39 ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
Mirelo AI Ororongo 0.1–600 s #text-to-audio#sfx

Ngā pānga oro mai i tētahi whakaahuatanga kuputuhi, me te tono tōraro, te roanga me ngā tauira maha

Mirelo AI · Ororongo

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana 88 / 2000

Whakaahuatanga o te pānga oro e hiahiatia ana.

taunoa 30

Te roa oro i tonoa, ka inehia ki ngā hēkona, me uru ki te mōrahi motuhake mō te tohutohu-ki-SFX.

taunoa 2

Te tatau tauira mō te whakaputanga i roto i tētahi tukunga whakamua whakarōpū kotahi.

Arā atu negative_prompt · upload_audio_format · upload_audio_bitrate_kbps · seed
0 / 1000

Ngā oro hei aukati i te putanga.

upload_audio_format taunoa wav

Hōputu mō ia kōnae ororongo.

He whakakapinga mō te moka-auau tukuake i te kbps, ka whakakāhoretia mēnā he kōpeketanga ngaro-kore tō upload_audio_format; ki te waiho kia kāore i tautuhia, ka mau tonu te LAME V0 VBR mō mp3, te whāinga 256 kbps rānei mō aac. Mō mp3, kōwhiria he auau pūmau pū i ēnei: 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320. Mō aac, ko ngā uara mai i te 32 ki te 256 e tohu ana i te whāinga a te pūwaehere, ehara i te auau kua whakaūngia, nō reira ka heke pea te ororongo hongere-tahi, te ororongo ruarua rānei ki raro iho i taua whāinga.

Kākano o te tauira tuatahi; ka whakamahia he kākano matapōkere mō -1, ina kore rānei e tukuna.

POST /run/mirelo-ai/sfx2.0/text-to-audio?wait=20 utu → $ 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"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Mirelo SFX2.0 · Text to Audio

Ka whakaputa pānga oro mai i tētahi `prompt` kia 2000 pūāhua te mōrahi, me `negative_prompt` hei aukati i ngā oro. Ka haere `duration` mai i te 0.1 ki te 600 hēkona (taunoa 30), ā, ka whakaputa `num_samples` kia 1 ki te 4 ngā rerekētanga, me tōna ake kākano. Ko te hōputu putanga wav, mp3, aac, flac rānei mā `upload_audio_format`, me te bitrate hei kōwhiringa mō mp3 me aac.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
≤ 2,000 pūāhua
Whakaahuatanga o te pānga oro e hiahiatia ana.
negative_promptkōwhiringa
Momostring | null
≤ 1,000 pūāhua
Ngā oro hei aukati i te putanga.
durationkōwhiringa
Momonumber
Taunoa30
0.1 – 600
Te roa oro i tonoa, ka inehia ki ngā hēkona, me uru ki te mōrahi motuhake mō te tohutohu-ki-SFX.
seedkōwhiringa
Momointeger | null
-1 – 9,223,372,036,854,776,000
Kākano o te tauira tuatahi; ka whakamahia he kākano matapōkere mō -1, ina kore rānei e tukuna.
num_sampleskōwhiringa
Momointeger
Taunoa2
1 – 4
Te tatau tauira mō te whakaputanga i roto i tētahi tukunga whakamua whakarōpū kotahi.
upload_audio_formatkōwhiringa
Momoenum
Taunoawav
wavmp3aacflac
Hōputu mō ia kōnae ororongo.
upload_audio_bitrate_kbpskōwhiringa
Momointeger | null
32 – 320
He whakakapinga mō te moka-auau tukuake i te kbps, ka whakakāhoretia mēnā he kōpeketanga ngaro-kore tō upload_audio_format; ki te waiho kia kāore i tautuhia, ka mau tonu te LAME V0 VBR mō mp3, te whāinga 256 kbps rānei mō aac. Mō mp3, kōwhiria he auau pūmau pū i ēnei: 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320. Mō aac, ko ngā uara mai i te 32 ki te 256 e tohu ana i te whāinga a te pūwaehere, ehara i te auau kua whakaūngia, nō reira ka heke pea te ororongo hongere-tahi, te ororongo ruarua rānei ki raro iho i taua whāinga.
e hiahiatia ana

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
model
stringPutanga tauira SFX i whakamahia hei whakaputa i te putanga.
audio
array of object {url, content_type, file_name, file_size}Ngā pānga oro kua whakaputaina, kotahi putanga mō ia tauira.
seeds
array of integerNgā kākano e hāngai ana ki ngā tauira, e pupuri ana i tō rātou raupapa.

Ētahi atu tauira: Ororongo

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/mirelo-ai/sfx2.0/text-to-audio.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt