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

Workflow Utilities Audio Compressor

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

မော်ဒယ် id workflow-utilities/audio-compressor
# 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/workflow-utilities/audio-compressor?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "audio": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  }'

# 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"

လုပ်ဆောင်မှုတစ်ကြိမ်လျှင် ၁.၈၀ $ အထိ အမှန်တကယ် အသုံးပြုမှုအလိုက် ကောက်ခံပြီး ကျန်ငွေကို ငွေပြန်အမ်းသည် ဤစာမျက်နှာတွင် လုပ်ဆောင်ရန်

API ကီး ရယူရန်
Utility · အသံ

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

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

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

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

•လိုအပ်သည် audio_url
ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

ချုံ့ရန် အသံသို့ ညွှန်ပြသော URL။

အဆင့်မြင့် output_bitrate · threshold · ratio · attack · release · makeup · knee
output_bitrate မူလ 192k

ရရှိလာသော အသံ၏ bitrate။

မူလ -18

ချုံ့မှုစတင်သည့် အဆင့်၊ -60 မှ 0 dB အထိ ချိန်ညှိနိုင်သည်။ ချုံ့မှုသက်ရောက်ရန် signal level သည် ဤတန်ဖိုးထက် ကျော်ရမည်။

မူလ 3

ချုံ့မှုအချိုး - 1 သည် အသံကို မချုံ့ဘဲထားပြီး ပိုကြီးသောတန်ဖိုးများသည် ချုံ့မှုကို တိုးစေသည်။

မူလ 5

ချုံ့မှုစတင်သည့် အမြန်နှုန်း၊ မီလီစက္ကန့်ဖြင့် attack time အဖြစ် ဖော်ပြသည်။

မူလ 50

ချုံ့မှုအဆုံးသတ်သည့် အမြန်နှုန်း၊ မီလီစက္ကန့်ဖြင့် release time အဖြစ် ဖော်ပြသည်။

မူလ 8

အသံအတိုးအကျယ် လျော့ကျမှုကို ဖြည့်ဆည်းပေးသည့် dB ဖြင့် တိုင်းတာသော makeup gain။

မူလ 2.83

dB ဖြင့် တိုင်းတာသော soft-knee ချုံ့မှုအကျယ်၊ 0 သည် hard knee ကို သတ်မှတ်သည်။

POST /run/workflow-utilities/audio-compressor?wait=20 ကုန်ကျစရိတ် → ၁.၈၀ $
# 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/workflow-utilities/audio-compressor?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "audio": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  }'

# 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"

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

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

Workflow Utilities Audio Compressor အကြောင်း

အသံဖိုင်တွင် ပြောင်းလဲနေသော အကွာအဝေး ဖိသိပ်ခြင်းကို အသုံးပြုသည်။ `threshold` (-60 မှ 0 dB)၊ `ratio` (1 မှ 20)၊ `attack`၊ `release`၊ `makeup` အမြတ် (0 မှ 64 dB) နှင့် `knee` တို့ကို ချိန်ညှိနိုင်သည်။ ရလဒ်ကို 128k၊ 192k၊ 256k သို့မဟုတ် 320k ဘစ်နှုန်းဖြင့် ကုဒ်သွင်းသည်။

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

စံအမည် သို့မဟုတ် မူရင်းအမည် တစ်ခုခုကိုသာ ပို့ပါ၊ နှစ်ခုလုံး မပို့ပါနှင့်။ စံအမည်များ

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
audio_urlလိုအပ်သည် audio
အမျိုးအစားurl · audio
ချုံ့ရန် အသံသို့ ညွှန်ပြသော URL။
thresholdရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး-18
-၆၀ – ၀
ချုံ့မှုစတင်သည့် အဆင့်၊ -60 မှ 0 dB အထိ ချိန်ညှိနိုင်သည်။ ချုံ့မှုသက်ရောက်ရန် signal level သည် ဤတန်ဖိုးထက် ကျော်ရမည်။
ratioရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး3
၁ – ၂၀
ချုံ့မှုအချိုး - 1 သည် အသံကို မချုံ့ဘဲထားပြီး ပိုကြီးသောတန်ဖိုးများသည် ချုံ့မှုကို တိုးစေသည်။
attackရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး5
၀.၀၁ – ၂,၀၀၀
ချုံ့မှုစတင်သည့် အမြန်နှုန်း၊ မီလီစက္ကန့်ဖြင့် attack time အဖြစ် ဖော်ပြသည်။
releaseရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး50
၀.၀၁ – ၉,၀၀၀
ချုံ့မှုအဆုံးသတ်သည့် အမြန်နှုန်း၊ မီလီစက္ကန့်ဖြင့် release time အဖြစ် ဖော်ပြသည်။
makeupရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး8
၀ – ၆၄
အသံအတိုးအကျယ် လျော့ကျမှုကို ဖြည့်ဆည်းပေးသည့် dB ဖြင့် တိုင်းတာသော makeup gain။
kneeရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး2.83
၁ – ၈
dB ဖြင့် တိုင်းတာသော soft-knee ချုံ့မှုအကျယ်၊ 0 သည် hard knee ကို သတ်မှတ်သည်။
output_bitrateရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး192k
128k192k256k320k
ရရှိလာသော အသံ၏ bitrate။
လိုအပ်သည် စံအမည်၊ ထို့အပြင် လက်ခံသည်

ဖိုင်ပါရာမီတာများသည် အများပြည်သူသုံး https:// URL၊ 10 MB အထိ data: URI သို့မဟုတ် အပ်လုဒ်လုပ်ထားသောဖိုင်၏ file_url ကို လက်ခံသည်။ ဖိုင်များ

ထွက်ရလဒ်

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "workflow-utilities/audio-compressor",
  "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": 1800,
    "usd": "1.80",
    "charged": 1800,
    "refunded": 0
  },
  "input": {
    "audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  },
  "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"
  }
}
သင့်ဖိုင်များ၊ သင့်ရွေးချယ်မှုoutputs[].url တိုင်းသည် ကျွန်ုပ်တို့၏ သိုလှောင်မှုရှိ မိတ္တူဖြစ်သည်- အမြဲတမ်း (GB-month အလိုက် ငွေပေးရသည်) သို့မဟုတ် ၇ ရက် အခမဲ့၊ သင့်အကောင့်ဆက်တင် သို့မဟုတ် ?storage= ဖြင့် သိမ်းထားသည်။
မော်ဒယ်တိုင်းတွင် ပုံစံတူပုံ၊ ဗီဒီယိုနှင့် အသံတို့အတွက် type၊ url၊ content_type၊ width၊ height နှင့် duration။ output သည် မော်ဒယ်ကိုယ်တိုင်၏ ရလဒ် object ဖြစ်သည်။
ထွက်ရလဒ်၏ Fields များ
audio
object {url, content_type, file_name, file_size}ချုံ့ပြီးနောက် ရရှိလာသော အသံဖိုင်။

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

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