مواد پر جائیں

MAGI-1 (Distilled)

انٹیگریٹ کریں

ماڈل id magi-distilled
# 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/magi-distilled?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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

مثال جیسی فائلیں: ⁨$0.32⁩ 320 API کریڈٹس آپ کی فائلیں رن سے پہلے ناپی جاتی ہیں اس صفحے پر چلائیں

API کلید حاصل کریں
Sand AI متن سے ویڈیو تیز720p تک #text-to-video

ڈسٹلڈ MAGI-1 متن سے ویڈیو، 480p یا 720p آؤٹ پٹ اور 4 سے 32 منتخب مراحل کے ساتھ

Sand AI · ویڈیو

آپ کا پہلا نتیجہ یہاں آئے گا

ذیل میں درخواست بنائیں اور اپنی API کلید کے ساتھ چلائیں۔ آؤٹ پٹس ہمارے اسٹوریج میں کاپی ہو جاتے ہیں، ہمیشہ کے لیے یا مفت میں 7 دن تک محفوظ رہتے ہیں۔

درخواست بنائیں

کنٹرولز ماڈل اسکیما سے تیار ہوتے ہیں۔ آپ کے بدلنے کے ساتھ کوڈ اور قیمت اپ ڈیٹ ہوتے ہیں۔

•لازمی

ویڈیو تخلیق کی رہنمائی کرنے والی متنی ہدایات۔

resolution ڈیفالٹ 720p

آؤٹ پٹ ویڈیو ریزولوشن، 480p یا 720p۔

num_inference_steps ڈیفالٹ 16

sampling steps کی تعداد، جس میں تعداد بڑھنے کے ساتھ زیادہ پروسیسنگ وقت کے بدلے بہتر معیار ملتا ہے۔

aspect_ratio ڈیفالٹ auto

تخلیق شدہ ویڈیو کے proportions، 'auto' پر سیٹ ہونے کی صورت میں ان پٹ تصویر سے خودکار طور پر منتخب ہوتے ہیں۔

ڈیفالٹ 96

آؤٹ پٹ فریم count؛ کم از کم 96 اور زیادہ سے زیادہ 192۔

ایڈوانسڈ seed · enable_safety_checker

تخلیق کو قابلِ تکرار بنانے والا سیڈ۔ اسے None پر سیٹ کرنے سے سیڈ تصادفی طور پر منتخب ہوتا ہے۔

POST /run/magi-distilled?wait=20 قیمت → ⁨$0.32⁩
# 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/magi-distilled?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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

یہ درخواست چلائیں

آپ کی key اسی براؤزر میں رہتی ہے: یہ صرف Doitong API کو بھیجی جاتی ہے اور صرف اس صورت میں localStorage میں محفوظ ہوتی ہے جب آپ Remember منتخب کریں۔ API کلید حاصل کریں

MAGI-1 (Distilled) کے بارے میں

ٹیکسٹ `prompt` سے ویڈیو تخلیق کرتا ہے۔ `num_frames` 96 سے 192 تک ہے، `resolution` 480p یا 720p ہے، اور `aspect_ratio` auto، 16:9، 9:16 یا 1:1 ہو سکتا ہے۔ `num_inference_steps` 4، 8، 16 یا 32 قبول کرتا ہے، جو معیار اور رفتار کے درمیان توازن پیدا کرتے ہیں۔ `seed` قابلِ تکرار نتائج کی اجازت دیتا ہے۔

پیرامیٹرز

نامقسم ڈیفالٹمجاز تفصیل
promptلازمی
قسمstring
ویڈیو تخلیق کی رہنمائی کرنے والی متنی ہدایات۔
num_framesاختیاری
قسمinteger | null
ڈیفالٹ96
96 – 192
آؤٹ پٹ فریم count؛ کم از کم 96 اور زیادہ سے زیادہ 192۔
seedاختیاری
قسمinteger | null
تخلیق کو قابلِ تکرار بنانے والا سیڈ۔ اسے None پر سیٹ کرنے سے سیڈ تصادفی طور پر منتخب ہوتا ہے۔
resolutionاختیاری
قسمenum
ڈیفالٹ720p
480p720p
آؤٹ پٹ ویڈیو ریزولوشن، 480p یا 720p۔
num_inference_stepsاختیاری
قسمenum
ڈیفالٹ16
481632
sampling steps کی تعداد، جس میں تعداد بڑھنے کے ساتھ زیادہ پروسیسنگ وقت کے بدلے بہتر معیار ملتا ہے۔
enable_safety_checkerاختیاری
قسمboolean
ڈیفالٹtrue
Safety-checking switch؛ off setting کے لیے account authorization ضروری ہے۔ authorization کے بغیر setting سے قطع نظر ہر درخواست check کی جاتی ہے؛ true checker فعال کرتا ہے۔
aspect_ratioاختیاری
قسمenum
ڈیفالٹauto
auto16:99:161:1
تخلیق شدہ ویڈیو کے proportions، 'auto' پر سیٹ ہونے کی صورت میں ان پٹ تصویر سے خودکار طور پر منتخب ہوتے ہیں۔
لازمی

آؤٹ پٹ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "magi-distilled",
  "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": 320,
    "usd": "0.32",
    "charged": 320,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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
    },
    "seed": 42
  },
  "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
آپ کی فائلیں، آپ کا انتخابہر outputs[].url ہمارے اسٹوریج میں ایک کاپی ہے: ہمیشہ کے لیے محفوظ (فی GB-ماہ ادائیگی) یا مفت میں 7 دن تک، آپ کی اکاؤنٹ سیٹنگ یا ?storage= کے مطابق۔
ہر ماڈل میں ایک جیسی ساختtype، url، content_type، width، height اور duration، تصاویر، ویڈیو اور آڈیو سب کے لیے یکساں۔ output ماڈل کا اپنا نتیجہ آبجیکٹ ہے۔
آؤٹ پٹ کے فیلڈز
video
object {url, content_type, file_name, file_size}تخلیق سے تیار کردہ ویڈیو فائل۔
seed
integerتخلیق کے دوران لاگو ہونے والی سیڈ قدر۔

مزید ماڈلز: متن سے ویڈیو

AI ایجنٹس کے لیے: یہ صفحہ Markdown میں یہاں موجود ہے https://doitong.com/ur/developers/models/magi-distilled.md. تمام ماڈلز اور گائیڈز: https://doitong.com/developers/llms.txt