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

Sonilo V1.1 Video to Video Sound Effects

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

မော်ဒယ် id sonilo/v1.1/video-to-video-sound-effects
# 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/sonilo/v1.1/video-to-video-sound-effects?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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 ကီး ရယူရန်
Sonilo ဗီဒီယိုမှ အသံ မူရင်းအသံ #sfx#audio#effects

ထည့်သွင်းဗီဒီယိုကို ဖန်တီးထားသော အသံအကျိုးသက်ရောက်မှုများနှင့် ရောစပ်ပြီး ပြန်ပေးကာ အကျိုးသက်ရောက်မှုများကို သီးခြားဖိုင်အဖြစ်လည်း ပေးသည်

Sonilo · ဗီဒီယို

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

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

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

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

အလိုအလျောက်ဗီဒီယိုစာတန်းထိုးခြင်းအစား scene အားလုံးတွင် အသုံးပြုမည့် ရွေးချယ်နိုင်သော အသံလမ်းညွှန်ချက်။ လိုချင်သော အသံကို ဖော်ပြပါ သို့မဟုတ် အလိုအလျောက်စာတန်းများ အသုံးပြုရန် အလွတ်ထားပါ။

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

ဖိုင် upload သို့မဟုတ် အများပြည်သူသုံး URL ဖြင့် ပေးထားသော အသံဖန်တီးရန် ဗီဒီယို။ ၎င်း၏အရှည်က ဖန်တီးမည့် အသံအရှည်ကို သတ်မှတ်သည်။

အဆင့်မြင့် audio_format · keep_speech_vocal · segments
audio_format မူလ aac

wav၊ mp3၊ aac သို့မဟုတ် flac အဖြစ် ရွေးချယ်နိုင်သော သီးခြားအသံဖော်မတ်။ မူလတန်ဖိုးမှာ aac ဖြစ်သည်။ ဤရွေးချယ်မှုသည် ဗီဒီယို၏ အသံ encoding ကို မပြောင်းလဲဘဲ ၎င်းမှာ အမြဲ AAC ဖြစ်သည်။

တစ်ခုချင်းစီ၏ အသံဖော်ပြချက်များနှင့် အချိန်အပိုင်းအခြားများအဖြစ် သတ်မှတ်ထားသော ရွေးချယ်နိုင်သည့် လက်ဖြင့် scene ပိုင်းခြားမှု။ အလွတ်တန်ဖိုးသည် အလိုအလျောက် scene ရှာဖွေမှုကို အသုံးပြုသည်။

POST /run/sonilo/v1.1/video-to-video-sound-effects?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/sonilo/v1.1/video-to-video-sound-effects?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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 ကီး ရယူရန်

Sonilo V1.1 Video to Video Sound Effects အကြောင်း

မြင်ရသော လှုပ်ရှားမှုနှင့် အချိန်ကိုက် အသံအကျိုးသက်ရောက်မှုများကို ထည့်ပေးပြီး အသံပါဝင်သော mp4 နှင့် ဖန်တီးထားသော အသံကို သီးခြားဖိုင်အဖြစ် ပြန်ပေးသည်။ အထွေထွေညွှန်ကြားချက်အတွက် `prompt` သို့မဟုတ် အချိန်အပိုင်းအခြားတစ်ခုစီအတွက် `segments` ကို အသုံးပြုပါ။ `audio_format` သည် သီးခြားဖိုင်ဖော်မတ် (wav၊ mp3၊ aac သို့မဟုတ် flac) ကို သတ်မှတ်ပြီး `keep_speech_vocal` သည် မူရင်းစကားသံကို ထိန်းသိမ်းသည်။

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

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

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
video_urlလိုအပ်သည် video
အမျိုးအစားurl · video
ဖိုင် upload သို့မဟုတ် အများပြည်သူသုံး URL ဖြင့် ပေးထားသော အသံဖန်တီးရန် ဗီဒီယို။ ၎င်း၏အရှည်က ဖန်တီးမည့် အသံအရှည်ကို သတ်မှတ်သည်။
promptရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
အလိုအလျောက်ဗီဒီယိုစာတန်းထိုးခြင်းအစား scene အားလုံးတွင် အသုံးပြုမည့် ရွေးချယ်နိုင်သော အသံလမ်းညွှန်ချက်။ လိုချင်သော အသံကို ဖော်ပြပါ သို့မဟုတ် အလိုအလျောက်စာတန်းများ အသုံးပြုရန် အလွတ်ထားပါ။
segmentsရွေးချယ်နိုင်သည်
အမျိုးအစားobject[]
တစ်ခုချင်းစီ၏ အသံဖော်ပြချက်များနှင့် အချိန်အပိုင်းအခြားများအဖြစ် သတ်မှတ်ထားသော ရွေးချယ်နိုင်သည့် လက်ဖြင့် scene ပိုင်းခြားမှု။ အလွတ်တန်ဖိုးသည် အလိုအလျောက် scene ရှာဖွေမှုကို အသုံးပြုသည်။
segments[].startရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး0
≥ ၀
ပထမအပိုင်းအတွက် segment start သည် 0 ဖြစ်ရမည်။ စတင်ချိန်အားလုံးကို ဗီဒီယိုအစမှ စက္ကန့်ဖြင့် တိုင်းတာသည်။
segments[].endရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး0
≥ ၀
Segment အဆုံးနေရာကို စက္ကန့်ဖြင့် သတ်မှတ်ပြီး နောက်ဆုံး segment အတွက် ဗီဒီယိုအရှည်ထက် မကျော်ရပါ။ အစောပိုင်း segment တစ်ခုစီအတွက် နောက်လိုက် segment ၏ စတင်နေရာနှင့် တူညီရမည်ဖြစ်သဖြင့် ကြားလပ်မှု သို့မဟုတ် ထပ်နေမှု မရှိပါ။
segments[].promptရွေးချယ်နိုင်သည်
အမျိုးအစားstring
မူလတန်ဖိုး
Segment ၏ အသံအကျိုးသက်ရောက်မှုများ သို့မဟုတ် foley ဖော်ပြချက်။
audio_formatရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးaac
wavmp3aacflac
wav၊ mp3၊ aac သို့မဟုတ် flac အဖြစ် ရွေးချယ်နိုင်သော သီးခြားအသံဖော်မတ်။ မူလတန်ဖိုးမှာ aac ဖြစ်သည်။ ဤရွေးချယ်မှုသည် ဗီဒီယို၏ အသံ encoding ကို မပြောင်းလဲဘဲ ၎င်းမှာ အမြဲ AAC ဖြစ်သည်။
keep_speech_vocalရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးfalse
အသံနှင့် ဗီဒီယို ထွက်ရလဒ်နှစ်ခုလုံးကို သက်ရောက်သည့် စကားပြော/အသံ ထိန်းသိမ်းမှု ခလုတ်။ မူလအားဖြင့် ပိတ်ထားပြီး ထွက်ရလဒ်တွင် ဖန်တီးထားသော အသံသာ ကျန်ရှိသည်။ ဖွင့်ပါက music source separation ဖြင့် မူရင်းစကားသံကို သီးခြားထုတ်ယူကာ မူရင်းတေးဂီတနှင့် နောက်ခံအသံကို ဖယ်ရှားပြီး ဖန်တီးထားသော အသံကို မပြောင်းလဲသော စကားသံနှင့် ရောစပ်သည်။ အသံအဆင့်ကို စကားသံနှင့် ကိုက်ညီအောင် ပြုလုပ်သည်။
လိုအပ်သည် စံအမည်၊ ထို့အပြင် လက်ခံသည်

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

ထွက်ရလဒ်

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "sonilo/v1.1/video-to-video-sound-effects",
  "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": 90,
    "usd": "0.09",
    "charged": 90,
    "refunded": 0
  },
  "input": {
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    },
    "videos": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
        "content_type": "video/mp4",
        "file_name": "0-output.mp4",
        "file_size": 1843200
      }
    ],
    "audio": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "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 များ
video
object {url, content_type, file_name, file_size}ဖန်တီးထားသော အသံနှင့် ပေးထားပါက မူရင်းဗီဒီယိုပါဝင်သော MP4။ မူရင်းဗီဒီယိုမရှိပါက mp4 တွင် အသံသာ ပါဝင်သည်။
videos
array of object {url, content_type, file_name, file_size}ထွက်ရလဒ် mp4 ဗီဒီယိုများ၏ အပြည့်အစုံစုစည်းမှု။ sample တစ်ခုစီအတွက် တစ်ခု ပါဝင်သည်။
audio
object {url, content_type, file_name, file_size}ဖန်တီးထားသော အသံပါဝင်သည့် သီးခြားအသံဖိုင်။

နောက်ထပ် မော်ဒယ်များ: ဗီဒီယိုမှ အသံ

AI အေးဂျင့်များအတွက်- ဤစာမျက်နှာ၏ Markdown ကို ဤနေရာတွင် ရရှိနိုင်သည် https://doitong.com/my/developers/models/sonilo/v1.1/video-to-video-sound-effects.md. မော်ဒယ်များနှင့် လမ်းညွှန်များအားလုံး: https://doitong.com/developers/llms.txt