အကြောင်းအရာသို့ ကျော်ရန်

Mirelo SFX2.0 · Text to Audio

ပေါင်းစည်းရန်

မော်ဒယ် 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"

နမူနာကဲ့သို့ ဖိုင်များ: ၀.၆၀ $ ၆၀၀ API ခရက်ဒစ် · ≈ ၆၄.၃၉ ₽ လုပ်ဆောင်မီ သင့်ဖိုင်များကို တိုင်းတာသည် ဤစာမျက်နှာတွင် လုပ်ဆောင်ရန်

API ကီး ရယူရန်
Mirelo AI အသံ ၀.၁–၆၀၀ s #text-to-audio#sfx

စာသားဖော်ပြချက်မှ အသံအကျိုးသက်ရောက်မှုများ၊ အနုတ်လက္ခဏာပရောမ့်၊ ကြာချိန်နှင့် နမူနာအမျိုးမျိုး

Mirelo AI · အသံ

သင့်ပထမဆုံးရလဒ် ဤနေရာတွင် ပေါ်လာမည်

အောက်တွင် တောင်းဆိုချက်တစ်ခု တည်ဆောက်ပြီး သင့် API ကီးဖြင့် လုပ်ဆောင်ပါ။ ထွက်ရလဒ်များကို ကျွန်ုပ်တို့၏ သိုလှောင်မှုသို့ ကူးယူပြီး အမြဲတမ်း သို့မဟုတ် ၇ ရက် အခမဲ့ သိမ်းထားသည်။

တောင်းဆိုမှုတစ်ခု တည်ဆောက်ရန်

ထိန်းချုပ်မှုများကို မော်ဒယ် schema မှ အလိုအလျောက်ဖန်တီးသည်။ ၎င်းတို့ကို ပြောင်းလဲသည်နှင့် code နှင့် စျေးနှုန်းတို့လည်း ပြောင်းလဲမည်။

•လိုအပ်သည် 88 / 2000

လိုချင်သည့် sound effect ၏ ဖော်ပြချက်။

မူလ 30

တောင်းဆိုထားသော အသံကြာချိန်ကို စက္ကန့်ဖြင့် သတ်မှတ်ပြီး text-to-SFX အတွက် deployment-specific အများဆုံးတန်ဖိုးအတွင်း ဝင်ရမည်။

မူလ 2

တစ်ကြိမ်တည်း batched forward pass အတွင်း ဖန်တီးမည့် sample အရေအတွက်။

အဆင့်မြင့် negative_prompt · upload_audio_format · upload_audio_bitrate_kbps · seed
0 / 1000

ထွက်ရလဒ်မှ ဖယ်ရှားရန် အသံများ။

upload_audio_format မူလ wav

အသံဖိုင်တစ်ခုစီအတွက် အသုံးပြုသည့် format။

upload_audio_format သည် lossless ဖြစ်ပါက ပယ်ချမည့် kbps ဖြင့် upload bitrate override။ မသတ်မှတ်ထားပါက mp3 အတွက် LAME V0 VBR သို့မဟုတ် aac အတွက် 256 kbps target ကို ထိန်းသိမ်းသည်။ mp3 အတွက် 32၊ 40၊ 48၊ 56၊ 64၊ 80၊ 96၊ 112၊ 128၊ 160၊ 192၊ 224၊ 256၊ 320 ထဲမှ တိကျသော constant rate တစ်ခုကို ရွေးပါ။ aac အတွက် 32 မှ 256 တန်ဖိုးများသည် အာမခံထားသော rate မဟုတ်ဘဲ encoder target ကို သတ်မှတ်သောကြောင့် mono သို့မဟုတ် sparse အသံ သည် ၎င်းအောက် ရောက်နိုင်သည်။

ကနဦး sample ၏ seed။ -1 ဖြစ်စေ မထည့်ထားပါက random seed ကို အသုံးပြုသည်။

POST /run/mirelo-ai/sfx2.0/text-to-audio?wait=20 ကုန်ကျစရိတ် → ၀.၆၀ $
# 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"

ဤတောင်းဆိုချက်ကို လုပ်ဆောင်ရန်

သင့် key သည် ဤဘရောက်ဇာထဲတွင်သာ ရှိမည်ဖြစ်ပြီး Doitong API သို့သာ ပို့မည်။ Remember ကို အမှန်ခြစ်ထားမှသာ (localStorage) တွင် သိမ်းမည်။ API ကီး ရယူရန်

Mirelo SFX2.0 · Text to Audio အကြောင်း

အများဆုံး အက္ခရာ 2000 ရှိ `prompt` မှ အသံအကျိုးသက်ရောက်မှုများကို ဖန်တီးပြီး အသံများကို ဖယ်ထုတ်ရန် `negative_prompt` ကို အသုံးပြုသည်။ `duration` သည် 0.1 မှ 600 စက္ကန့် (မူလတန်ဖိုး 30) ဖြစ်ပြီး `num_samples` သည် မူကွဲ 1 မှ 4 ခုကို ဖန်တီးကာ တစ်ခုစီတွင် ကိုယ်ပိုင် စီးဒ်ရှိသည်။ ထွက်ရလဒ်ဖော်မတ်သည် `upload_audio_format` မှတစ်ဆင့် wav၊ mp3၊ aac သို့မဟုတ် flac ဖြစ်ပြီး mp3 နှင့် aac အတွက် bitrate ရွေးချယ်နိုင်သည်။

ပါရာမီတာများ

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
promptလိုအပ်သည်
အမျိုးအစားstring
စာလုံး ၂,၀၀၀ လုံးထက် မပိုပါ
လိုချင်သည့် sound effect ၏ ဖော်ပြချက်။
negative_promptရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
စာလုံး ၁,၀၀၀ လုံးထက် မပိုပါ
ထွက်ရလဒ်မှ ဖယ်ရှားရန် အသံများ။
durationရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး30
၀.၁ – ၆၀၀
တောင်းဆိုထားသော အသံကြာချိန်ကို စက္ကန့်ဖြင့် သတ်မှတ်ပြီး text-to-SFX အတွက် deployment-specific အများဆုံးတန်ဖိုးအတွင်း ဝင်ရမည်။
seedရွေးချယ်နိုင်သည်
အမျိုးအစားinteger | null
-၁ – ၉,၂၂၃,၃၇၂,၀၃၆,၈၅၄,၇၇၆,၀၀၀
ကနဦး sample ၏ seed။ -1 ဖြစ်စေ မထည့်ထားပါက random seed ကို အသုံးပြုသည်။
num_samplesရွေးချယ်နိုင်သည်
အမျိုးအစားinteger
မူလတန်ဖိုး2
၁ – ၄
တစ်ကြိမ်တည်း batched forward pass အတွင်း ဖန်တီးမည့် sample အရေအတွက်။
upload_audio_formatရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးwav
wavmp3aacflac
အသံဖိုင်တစ်ခုစီအတွက် အသုံးပြုသည့် format။
upload_audio_bitrate_kbpsရွေးချယ်နိုင်သည်
အမျိုးအစားinteger | null
၃၂ – ၃၂၀
upload_audio_format သည် lossless ဖြစ်ပါက ပယ်ချမည့် kbps ဖြင့် upload bitrate override။ မသတ်မှတ်ထားပါက mp3 အတွက် LAME V0 VBR သို့မဟုတ် aac အတွက် 256 kbps target ကို ထိန်းသိမ်းသည်။ mp3 အတွက် 32၊ 40၊ 48၊ 56၊ 64၊ 80၊ 96၊ 112၊ 128၊ 160၊ 192၊ 224၊ 256၊ 320 ထဲမှ တိကျသော constant rate တစ်ခုကို ရွေးပါ။ aac အတွက် 32 မှ 256 တန်ဖိုးများသည် အာမခံထားသော rate မဟုတ်ဘဲ encoder target ကို သတ်မှတ်သောကြောင့် mono သို့မဟုတ် sparse အသံ သည် ၎င်းအောက် ရောက်နိုင်သည်။
လိုအပ်သည်

ထွက်ရလဒ်

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"
  }
}
သင့်ဖိုင်များ၊ သင့်ရွေးချယ်မှုoutputs[].url တိုင်းသည် ကျွန်ုပ်တို့၏ သိုလှောင်မှုရှိ မိတ္တူဖြစ်သည်- အမြဲတမ်း (GB-month အလိုက် ငွေပေးရသည်) သို့မဟုတ် ၇ ရက် အခမဲ့၊ သင့်အကောင့်ဆက်တင် သို့မဟုတ် ?storage= ဖြင့် သိမ်းထားသည်။
မော်ဒယ်တိုင်းတွင် ပုံစံတူပုံ၊ ဗီဒီယိုနှင့် အသံတို့အတွက် type၊ url၊ content_type၊ width၊ height နှင့် duration။ output သည် မော်ဒယ်ကိုယ်တိုင်၏ ရလဒ် object ဖြစ်သည်။
ထွက်ရလဒ်၏ Fields များ
model
stringထွက်ရလဒ်ကို ထုတ်လုပ်ရန် အသုံးပြုသည့် SFX မော်ဒယ် release။
audio
array of object {url, content_type, file_name, file_size}ဖန်တီးထားသော sound effects များ၊ sample တစ်ခုစီအတွက် result တစ်ခုစီ ပါသည်။
seeds
array of integersample များနှင့် သက်ဆိုင်သော seeds များကို မူလအစီအစဉ်အတိုင်း ထိန်းသိမ်းထားသည်။

နောက်ထပ် မော်ဒယ်များ: အသံ

AI အေးဂျင့်များအတွက်- ဤစာမျက်နှာ၏ Markdown ကို ဤနေရာတွင် ရရှိနိုင်သည် https://doitong.com/my/developers/models/mirelo-ai/sfx2.0/text-to-audio.md. မော်ဒယ်များနှင့် လမ်းညွှန်များအားလုံး: https://doitong.com/developers/llms.txt