အကောင်းဆုံး ရုပ်ပုံ၊ ဗီဒီယိုနှင့် အသံမော်ဒယ်များအတွက် API တစ်ခု
မော်ဒယ်တိုင်းအတွက် တူညီသော တောင်းဆိုချက်ပုံစံ။ မလုပ်ဆောင်မီ အတိအကျသိနိုင်သော စျေးနှုန်း။ ဖိုင်များကို အမြဲတမ်း သို့မဟုတ် ၇ ရက် အခမဲ့ သိမ်းထားနိုင်ပြီး သင့်ရွေးချယ်မှုအတိုင်း အသုံးပြုနိုင်သည်။
POSTapi.doitong.com/v1/run/{model_id}
ကီးမှ ပြီးစီးသည့် ဗီဒီယိုအထိ တောင်းဆိုချက်တစ်ခုတည်းဖြင့်
# Keys start with doitong_
export DOITONG_API_KEY="doitong_..."
# Check it works: returns your API credit balance
curl https://api.doitong.com/v1/account \
-H "Authorization: Bearer $DOITONG_API_KEY"
# 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/kling-video/v3/pro/image-to-video?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "The banana manager turns to the camera, smiles and waves while coworkers keep typing, gentle handheld camera",
"image": "https://content.doitong.com/images/gp/image_20260610003801_541d9719_316882.png",
"duration": 5
}'
# 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"
{
"id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
"model": "kling-video/v3/pro/image-to-video",
"status": "succeeded",
"cost": {
"credits": 840,
"usd": "0.84",
"charged": 840,
"refunded": 0
},
"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
}
]
}
မော်ဒယ်တစ်ခုချင်းစီက ဘာဖန်တီးပေးသည်ကို ကြည့်ရန်
ဓာတ်ခွဲခန်းအလိုက် ကြည့်ရန်
ဓာတ်ခွဲခန်းအားလုံး (84)- Alibaba Endpoint များ: 142
- Black Forest Labs Endpoint များ: 135
- Lightricks Endpoint များ: 102
- MiniMax Endpoint များ: 64
- Kling Endpoint များ: 62
- ByteDance Endpoint များ: 57
- Bria AI Endpoint များ: 54
- Stability AI Endpoint များ: 48
- PixVerse Endpoint များ: 42
- Google Endpoint များ: 41
- Ideogram Endpoint များ: 36
- Tencent Endpoint များ: 33
- Microsoft Endpoint များ: 27
- NVIDIA Endpoint များ: 25
- Meta Endpoint များ: 24
- Recraft Endpoint များ: 24
- Vidu Endpoint များ: 22
- xAI Endpoint များ: 19
တောင်းဆိုချက်တစ်ခုကို လေ့လာပါ။ မော်ဒယ်တိုင်းကို အသုံးပြုပါ။
ပေါင်းစည်းထားသော ပါရာမီတာများ
မော်ဒယ်တိုင်းတွင် image၊ duration နှင့် aspect_ratio သည် အဓိပ္ပာယ်တူသည်။ မော်ဒယ်မူရင်းအမည်များကို alias အဖြစ် ဆက်လက်အသုံးပြုနိုင်သည်။
"image": "…", "duration": 5
မော်ဒယ်တိုင်းအတွက် တောင်းဆိုချက် URL တစ်ခုတည်း
Path ကိုပြောင်းခြင်းဖြင့် မော်ဒယ်များကို ပြောင်းသုံးပါ။ Auth၊ body နှင့် response များသည် တူညီနေမည်။
POST /run/{model_id}
Quote = ကုန်ကျငွေ
POST /quote/{model_id} သည် သင့်ထည့်သွင်းချက်အတွက် အတိအကျစျေးနှုန်းကို ပြန်ပေးသည်။ သင်ပေးရမည့်ငွေမှာ ထိုပမာဏသာဖြစ်ပြီး ပိုမည်မဟုတ်ပါ။
→ { "credits": 560, "usd": "0.56" }
လိုအပ်သလောက်ကြာအောင် ဖိုင်များကို သိမ်းဆည်းထားပါ
ထွက်ရလဒ်တိုင်းကို ကျွန်ုပ်တို့၏ သိုလှောင်မှုသို့ ကူးယူသည်။ တစ်လလျှင် GB တစ်ခုအတွက် ၀.၁၀ $ ဖြင့် အမြဲတမ်း သိမ်းထားနိုင်သည်၊ သို့မဟုတ် ၇ ရက် အခမဲ့ သိမ်းထားနိုင်သည်။ သင့်အကောင့်တွင် သို့မဟုတ် တောင်းဆိုချက်တစ်ခုချင်းစီအတွက် ခလုတ်တစ်ချက်ဖြင့် ရွေးချယ်နိုင်သည်။
?storage=permanent | temporary
အမှားပုံစံတစ်ခုတည်း
မော်ဒယ်တိုင်းတွင် ကျရှုံးမှုတိုင်းအတွက် ပါရာမီတာ၊ အကြောင်းပြချက်နှင့် စာရွက်စာတမ်းလင့်ခ်တို့ကို ဖော်ပြပေးပါသည်။ မမှန်ကန်သော ထည့်သွင်းချက်များအတွက် မည်သည့်အခါမျှ အခကြေးငွေ မကောက်ခံပါ။
"param": "duration", "code": "out_of_range"
ကီးတစ်ခုချင်းစီအတွက် ဘတ်ဂျက် + MCP
API ကီးတစ်ခုစီအတွက် သုံးစွဲမှုကို ကန့်သတ်ပြီး ထို API ကီးကို MCP server မှတစ်ဆင့် အေးဂျင့်ထံ ပေးပါ။
api.doitong.com/v1/mcp
သင့်အေးဂျင့်က မော်ဒယ်ရွေး၊ စျေးနှုန်းတွက်ပြီး လုပ်ဆောင်ပါစေ
REST အတွက် အသုံးပြုသည့် API ကီးတစ်ခုတည်းဖြင့် Claude၊ ChatGPT သို့မဟုတ် Cursor ကို Doitong MCP server နှင့် ချိတ်ဆက်ပါ။ စာရွက်စာတမ်းများ စာမျက်နှာတိုင်းကို Markdown အဖြစ်လည်း ရရှိနိုင်သောကြောင့် အေးဂျင့်များသည် သင်ဖတ်သည့်အတိုင်း အတိအကျ ဖတ်ရှုနိုင်သည်။
- လုပ်ဆောင်မှုတိုင်းမတိုင်မီ Quote ရရှိသဖြင့် အေးဂျင့်များသည် ဘတ်ဂျက်အတွင်း ရှိနေသည်
- အေးဂျင့်ပြင်ဆင်ရမည့် ပါရာမီတာကို အမှားများက ဖော်ပြသည်
- Context window များအတွက် စာမျက်နှာတိုင်း၏ Markdown ဗားရှင်း
၎င်းကို Claude၊ ChatGPT သို့မဟုတ် Cursor ထဲသို့ ကူးထည့်ပြီး သင်တည်ဆောက်လိုသည်ကို ဖော်ပြပါ။
ပရောမ့်ကို ပြရန်
You can generate images, video, audio and 3D with the Doitong API.
Read https://doitong.com/developers/llms.txt first, then the .md page of each model you plan to use.
Base URL: https://api.doitong.com/v1. Authenticate with the header "Authorization: Bearer $DOITONG_API_KEY".
List models with GET /models and read one model's schema with GET /models/{model_id}.
Always call POST /quote/{model_id} with the input first and tell me the price (1000 API credits = 1 USD).
Then call POST /run/{model_id}?wait=20 with the same JSON body and an Idempotency-Key header.
If the status is still queued or running, poll GET /requests/{id}?wait=20.
Use outputs[].url from the response; files are kept forever unless the account keeps them 7 days
(pass ?storage=temporary for throwaway runs). Use only parameters from the model schema.
claude mcp add --transport http doitong-models https://api.doitong.com/v1/mcp \
--header "Authorization: Bearer YOUR_API_KEY"
// .cursor/mcp.json
{
"mcpServers": {
"doitong-models": {
"url": "https://api.doitong.com/v1/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
// claude_desktop_config.json
{
"mcpServers": {
"doitong-models": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.doitong.com/v1/mcp",
"--header",
"Authorization: Bearer YOUR_API_KEY"
]
}
}
}
သင့် project folder တွင် တစ်ကြိမ်သာ လုပ်ဆောင်ပါ။ REST API နှင့် Bearer API ကီးတူညီသည်။
သိမ်းဆည်းပြီးနောက် Cursor ကို ပြန်စတင်ပါ။ Settings ရှိ MCP အောက်တွင် server ပေါ်လာမည်။
Settings → Developer → Edit config သို့သွားပြီး Claude Desktop ကို ပြန်စတင်ပါ။ Node.js လိုအပ်သည်။