مواد پر جائیں

Kling O3 Reference to Video [Standard]

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

ماڈل id kling-video/o3/standard/reference-to-video
# 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/o3/standard/reference-to-video?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.42⁩ 420 API کریڈٹس اس صفحے پر چلائیں

API کلید حاصل کریں

Doitong پر بنایا گیا

Doitong کمیونٹی کے Kling O3 سے بنائے گئے عوامی کام۔ ایک کلک میں پرامپٹ دوبارہ استعمال کریں۔

دکھائے گئے عوامی کام: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... ویڈیو

Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while speaking, with realistic facial expressions and synchronized lip movements, as if she is promoting something to the viewer. She maintains eye contact with the camera, smiles slightly, and uses subtle...

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her ey... ویڈیو

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her eyes and cheeks, as if the blurry image on the screen is changing. Her eyes move slightly as she studies the screen, and she takes one slow, tense breath. Behind her, shadows of the snowstorm move...

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. I... ویڈیو

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. Its huge dark leathery wings beat twice with slow, heavy strokes, sending snow swirling off the cliff in big clouds. Then it folds its wings and settles on the rock, the giant elk still held in its...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... ویڈیو

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jeng... ویڈیو

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jenga tower. As the block comes out, the tower naturally loses balance and realistically collapses onto the table. Frustrated, he angrily sweeps all the fallen wooden blocks off the table with both hands....

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold ... ویڈیو

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold rock, a huge orange-white heat shape hidden inside a rock crevice, two small bright amber spots glowing like eyes, faint noise grain. Cinematic videorealistic, ultra detailed, 16:9, volumetric light,...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... ویڈیو

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... ویڈیو

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

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

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

88 / 2500

ویڈیو تخلیق کرنے کے لیے متنی ہدایات۔ `prompt` یا multi_prompt میں سے بالکل ایک فراہم کریں۔

duration 5 s

ویڈیو کی لمبائی، 3 سے 15 سیکنڈ تک۔

aspect_ratio ڈیفالٹ 16:9

تخلیق کردہ ویڈیو کے فریموں کے لیے چوڑائی اور اونچائی کا تناسب۔

ایڈوانسڈ image · end_image · images · shot_type · enable_safety_checker · multi_prompt · elements
start_image_url
فائل ڈراپ کریں، یا

ویڈیو کے ابتدائی فریم کے لیے استعمال ہونے والی تصویر۔ فائل سائز 50 MB سے زیادہ نہ ہو؛ چوڑائی اور اونچائی دونوں کم از کم 300px ہوں، اور aspect ratio 0.40 سے 2.50 کے درمیان ہو۔

end_image_url
فائل ڈراپ کریں، یا

ویڈیو کا آخری فریم فراہم کرنے والی تصویر، زیادہ سے زیادہ 50 MB تک۔ چوڑائی اور اونچائی دونوں کم از کم 300 px ہوں، اور aspect ratio 0.40 سے 2.50 تک ہو۔

image_urls
فائل ڈراپ کریں، یا

انداز یا ظاہری شکل کی رہنمائی کرنے والی تصاویر، جن کا پرامپٹ میں @Image1، @Image2 وغیرہ کے ذریعے حوالہ دیا جاتا ہے۔ ویڈیو ان پٹ کے ساتھ عناصر اور حوالہ تصاویر ملا کر 4 اندراجات سے زیادہ نہیں ہو سکتے۔ ہر فائل زیادہ سے زیادہ 50 MB کی ہو، چوڑائی اور اونچائی دونوں کم از کم 300 px ہوں، اور aspect ratio 0.40 سے 2.50 تک ہو۔

shot_type ڈیفالٹ customize

منتخب کریں کہ multi-shot تخلیق اپنے shots کی منصوبہ بندی کیسے کرے؛ 'intelligent' منتخب کرنے پر shot کا ڈھانچہ ماڈل کے سپرد کیا جاتا ہے۔

متعدد shots والی ویڈیو تخلیق کرنے کے لیے استعمال ہونے والی پرامپٹ فہرست۔

شامل کیے جانے والے کردار یا اشیا، جن کا پرامپٹ میں @Element1 اور @Element2 کے ذریعے حوالہ دیا جاتا ہے۔

POST /run/kling-video/o3/standard/reference-to-video?wait=20 قیمت → ⁨$0.42⁩
# 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/o3/standard/reference-to-video?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 کلید حاصل کریں

Kling O3 Reference to Video [Standard] کے بارے میں

ایک ایسی ویڈیو بناتا ہے جو `image_urls` اور `elements` کا استعمال کرتے ہوئے کرداروں، اشیاء اور سیٹنگز کو مستقل رکھتی ہے، جن کا پرامپٹ میں @Image1 یا @Element1 کے طور پر حوالہ دیا جاتا ہے (زیادہ سے زیادہ 4 کا مجموعہ)۔ اختیاری `start_image_url` اور `end_image_url` پہلے اور آخری فریم کو فکس کرتے ہیں۔ دورانیہ 3 سے 15 سیکنڈ ہے، پہلو کا تناسب 16:9، 9:16 یا 1:1 ہے، اور آڈیو اختیاری ہے۔

پیرامیٹرز

معیاری نام یا مقامی نام میں سے صرف ایک بھیجیں، دونوں نہیں۔ معیاری نام

نامقسم ڈیفالٹمجاز تفصیل
enable_safety_checkerاختیاری
قسمboolean
ڈیفالٹtrue
حفاظتی جانچ صرف اکاؤنٹ کی اجازت کے ساتھ غیر فعال کی جا سکتی ہے؛ بغیر اجازت کی درخواستوں کی ہمیشہ جانچ ہوتی ہے۔
promptاختیاری
قسمstring | null
≤ 2,500 کریکٹرز
ویڈیو تخلیق کرنے کے لیے متنی ہدایات۔ `prompt` یا multi_prompt میں سے بالکل ایک فراہم کریں۔
multi_promptاختیاری
قسمobject[]
متعدد shots والی ویڈیو تخلیق کرنے کے لیے استعمال ہونے والی پرامپٹ فہرست۔
multi_prompt[].promptلازمی
قسمstring
موجودہ shot کے لیے متنی ہدایات۔
multi_prompt[].durationاختیاری
قسمenum
ڈیفالٹ5
123456789101112131415
موجودہ shot کی لمبائی، سیکنڈ میں۔
start_image_urlاختیاری image
قسمurl · image
ویڈیو کے ابتدائی فریم کے لیے استعمال ہونے والی تصویر۔ فائل سائز 50 MB سے زیادہ نہ ہو؛ چوڑائی اور اونچائی دونوں کم از کم 300px ہوں، اور aspect ratio 0.40 سے 2.50 کے درمیان ہو۔
end_image_urlاختیاری end_image
قسمurl · image
ویڈیو کا آخری فریم فراہم کرنے والی تصویر، زیادہ سے زیادہ 50 MB تک۔ چوڑائی اور اونچائی دونوں کم از کم 300 px ہوں، اور aspect ratio 0.40 سے 2.50 تک ہو۔
image_urlsاختیاری images
قسمurl[] · image
انداز یا ظاہری شکل کی رہنمائی کرنے والی تصاویر، جن کا پرامپٹ میں @Image1، @Image2 وغیرہ کے ذریعے حوالہ دیا جاتا ہے۔ ویڈیو ان پٹ کے ساتھ عناصر اور حوالہ تصاویر ملا کر 4 اندراجات سے زیادہ نہیں ہو سکتے۔ ہر فائل زیادہ سے زیادہ 50 MB کی ہو، چوڑائی اور اونچائی دونوں کم از کم 300 px ہوں، اور aspect ratio 0.40 سے 2.50 تک ہو۔
elementsاختیاری
قسمobject[]
شامل کیے جانے والے کردار یا اشیا، جن کا پرامپٹ میں @Element1 اور @Element2 کے ذریعے حوالہ دیا جاتا ہے۔
elements[].frontal_image_urlاختیاری
قسمurl · image
عنصر کا مرکزی منظر دکھانے والی سامنے سے لی گئی تصویر۔ فائل سائز 50 MB سے زیادہ نہ ہو؛ چوڑائی اور اونچائی دونوں کم از کم 300px ہوں، اور aspect ratio 0.40 سے 2.50 کے درمیان ہو۔
elements[].reference_image_urlsاختیاری
قسمurl[] · image
مختلف زاویے دکھانے والی 1–3 اضافی حوالہ تصاویر فراہم کریں۔ ہر تصویر کا aspect ratio 0.40 سے 2.50 کے درمیان، دونوں ابعاد کم از کم 300px، اور فائل سائز زیادہ سے زیادہ 50.0MB ہو۔
elements[].video_urlاختیاری
قسمurl · video
عنصر کی ویڈیو کی طرف اشارہ کرنے والا URL؛ ہر درخواست میں صرف ایک عنصر میں ویڈیو شامل ہو سکتی ہے۔ فائل زیادہ سے زیادہ 200 MB کی ہو، چوڑائی اور اونچائی دونوں 720px اور 2160px کے درمیان ہوں۔ دورانیہ 3 سیکنڈ سے 10.05 سیکنڈ تک، اور FPS 24.0 سے 60.0 تک ہو۔
elements[].voice_idاختیاری
قسمstring | null
عنصر کو تفویض کردہ Voice ID۔ اس عنصر کے حوالہ جات میں اس کی تفویض کردہ آواز استعمال ہوتی ہے۔
generate_audioاختیاری
قسمboolean
ڈیفالٹfalse
یہ کنٹرول کرتا ہے کہ ویڈیو کے ساتھ native آڈیو بھی تخلیق کی جائے یا نہیں۔
durationاختیاری
قسمenum
ڈیفالٹ5
3456789101112131415
ویڈیو کی لمبائی، 3 سے 15 سیکنڈ تک۔
shot_typeاختیاری
قسمenum
ڈیفالٹcustomize
customizeintelligent
منتخب کریں کہ multi-shot تخلیق اپنے shots کی منصوبہ بندی کیسے کرے؛ 'intelligent' منتخب کرنے پر shot کا ڈھانچہ ماڈل کے سپرد کیا جاتا ہے۔
aspect_ratioاختیاری
قسمenum
ڈیفالٹ16:9
16:99:161:1
تخلیق کردہ ویڈیو کے فریموں کے لیے چوڑائی اور اونچائی کا تناسب۔
لازمی معیاری نام، یہ بھی قبول ہے

فائل پیرامیٹرز عوامی https:// URL، 10 MB تک کی data: URI، یا اپ لوڈ کے file_url کو قبول کرتے ہیں۔ فائلیں

آؤٹ پٹ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/o3/standard/reference-to-video",
  "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": 420,
    "usd": "0.42",
    "charged": 420,
    "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
    }
  },
  "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}ماڈل کی تیار کردہ ویڈیو۔

مزید ماڈلز: حوالہ سے ویڈیو

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