مواد پر جائیں

Kling 3.0 Pro Image to Video

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

ماڈل id kling-video/v3/pro/image-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/v3/pro/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "The paper boat drifts forward with the current, raindrops ripple around it, neon reflections shimmer on the wet street, the camera follows at water level.",
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_rrqclmu39lveihzpwxufalbn/0-oGMt1xgBCGjIy2tBNDIKy_MSH2rhkY.png",
    "duration": 5,
    "generate_audio": false
  }'

# 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.56⁩ 560 API کریڈٹس اس صفحے پر چلائیں

API کلید حاصل کریں
Kling تصویر سے ویڈیو مقامی آڈیوحوالہ جاتی ان پٹس3–15 s #audio#cinematic#multi-shot

ایک ساکن تصویر کو مقامی آواز، ایک اختیاری آخری فریم اور ملٹی شاٹ پرامپٹس کے ساتھ 3 سے 15 سیکنڈ کے کلپ میں اینیمیٹ کرتا ہے۔

مثالیں

ان پٹ
آؤٹ پٹ · ~157 s

پرامپٹThe paper boat drifts forward with the current, raindrops ripple around it, neon reflections shimmer on the wet street, the camera follows at water level.

5 sgenerate_audio: false⁨$0.56⁩ · 560 API کریڈٹس

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

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

154 / 2500

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

•لازمی start_image_url
فائل ڈراپ کریں، یا

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

duration 5 s

آؤٹ پٹ ویڈیو کی لمبائی، سیکنڈ میں۔

ایڈوانسڈ negative_prompt · end_image · shot_type · cfg_scale · multi_prompt · elements
0 / 2500
end_image_url
فائل ڈراپ کریں، یا

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

shot_type ڈیفالٹ customize

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

ڈیفالٹ 0.5

CFG کے ذریعے متعین کریں کہ تخلیق آپ کے پرامپٹ کی کتنی قریب سے پیروی کرے؛ CFG کا مطلب Classifier Free Guidance ہے۔

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

ویڈیو elements کے طور پر شامل کردار یا اشیا، جن کا پرامپٹ میں @Element1، @Element2 وغیرہ کے ذریعے حوالہ دیا جاتا ہے۔ ہر مثال کے لیے یا تو ویڈیو فراہم کریں یا سامنے سے لی گئی تصویر اور حوالہ تصاویر پر مشتمل set فراہم کریں۔

POST /run/kling-video/v3/pro/image-to-video?wait=20 قیمت → ⁨$0.56⁩
# 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 paper boat drifts forward with the current, raindrops ripple around it, neon reflections shimmer on the wet street, the camera follows at water level.",
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_rrqclmu39lveihzpwxufalbn/0-oGMt1xgBCGjIy2tBNDIKy_MSH2rhkY.png",
    "duration": 5,
    "generate_audio": false
  }'

# 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 کلید حاصل کریں

Doitong پر بنایا گیا

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

دکھائے گئے عوامی کام: 16
**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...

**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...

**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...

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе... ویڈیو

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе с панорамными окнами. Внутри деревянный интерьер, мягкие диваны и живые цветы. Они садятся за столик, перед ними стоят дымящиеся чашки чая. Мягкий свет ламп создает уют. Средний план, уровень глаз. (...

**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...

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты вн... ویڈیو

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты внешности, возраст, причёски и одежду. Мужчины слегка поворачивают головы, естественно моргают и едва заметно улыбаются. Женщина слева спокойно смотрит в камеру и мягко моргает. Маленький ребёнок слегка...

A five-second orbital camera move circling completely around a red-haired woman in a yellow rainc... ویڈیو

A five-second orbital camera move circling completely around a red-haired woman in a yellow raincoat standing in an autumn forest holding a vintage lantern, she remains stationary facing forward while the camera circles 180 degrees from her left side to her right side at eye level, golden fallen...

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a w... ویڈیو

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a wooden cutting board in a bright kitchen, camera suddenly swings in a rapid blur motion panning right at high speed creating motion blur, ending sharply focused on a barista pouring latte art in a...

Kling 3.0 Pro Image to Video کے بارے میں

Kling کا فلیگ شپ تصویر-سے-ویڈیو ماڈل ابتدائی تصویر کے موضوع کو مستحکم رکھتے ہوئے قدرتی حرکت، کیمرہ موومنٹس اور ڈیفالٹ طور پر ہم آہنگ آواز اور گفتگو شامل کرتا ہے۔ شاٹ کے اختتام کو کنٹرول کرنے کے لیے اختتامی تصویر دیں، فی شاٹ پرامپٹس کے ذریعے ایک تخلیق کو کئی شاٹس میں تقسیم کریں، یا ریفرنس عناصر کے ساتھ بار بار آنے والے کرداروں اور اشیا کو مقرر کریں۔ فریم کی شکل ابتدائی تصویر کے مطابق ہوتی ہے۔

پیرامیٹرز

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

نامقسم ڈیفالٹمجاز تفصیل
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
ویڈیو تخلیق کے لیے استعمال ہونے والی تصویر کی طرف اشارہ کرنے والا URL۔ فائل سائز 50 MB سے زیادہ نہ ہو؛ چوڑائی اور اونچائی دونوں کم از کم 300px ہوں، اور aspect ratio 0.40 سے 2.50 کے درمیان ہو۔
durationاختیاری
قسمenum
ڈیفالٹ5
3456789101112131415
آؤٹ پٹ ویڈیو کی لمبائی، سیکنڈ میں۔
generate_audioاختیاری
قسمboolean
ڈیفالٹtrue
Native ویڈیو آڈیو تخلیق ٹوگل، جو چینی یا انگریزی آوازوں کو سپورٹ کرتا ہے اور کسی بھی دوسری زبان کو خودکار طور پر انگریزی میں ترجمہ کرتا ہے۔ انگریزی گفتار کے لیے acronyms اور proper nouns بڑے حروف میں، جبکہ باقی سب چھوٹے حروف میں لکھیں۔
end_image_urlاختیاری end_image
قسمurl · image
ویڈیو کے اختتام پر استعمال ہونے والی تصویر کی طرف اشارہ کرنے والا URL۔ فائل سائز 50 MB سے زیادہ نہ ہو؛ چوڑائی اور اونچائی دونوں کم از کم 300px ہوں، اور aspect ratio 0.40 سے 2.50 کے درمیان ہو۔
elementsاختیاری
قسمobject[]
ویڈیو elements کے طور پر شامل کردار یا اشیا، جن کا پرامپٹ میں @Element1، @Element2 وغیرہ کے ذریعے حوالہ دیا جاتا ہے۔ ہر مثال کے لیے یا تو ویڈیو فراہم کریں یا سامنے سے لی گئی تصویر اور حوالہ تصاویر پر مشتمل set فراہم کریں۔
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۔ اس عنصر کے حوالہ جات میں اس کی تفویض کردہ آواز استعمال ہوتی ہے۔
shot_typeاختیاری
قسمenum
ڈیفالٹcustomize
customizeintelligent
منتخب کریں کہ multi-shot تخلیق اپنے shots کی منصوبہ بندی کیسے کرے؛ 'intelligent' منتخب کرنے پر shot کا ڈھانچہ ماڈل کے سپرد کیا جاتا ہے۔
negative_promptاختیاری
قسمstring
ڈیفالٹblur, distort, and low quality
≤ 2,500 کریکٹرز
cfg_scaleاختیاری
قسمnumber
ڈیفالٹ0.5
0 – 1
CFG کے ذریعے متعین کریں کہ تخلیق آپ کے پرامپٹ کی کتنی قریب سے پیروی کرے؛ CFG کا مطلب Classifier Free Guidance ہے۔
لازمی معیاری نام، یہ بھی قبول ہے

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

آؤٹ پٹ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/v3/pro/image-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": 560,
    "usd": "0.56",
    "charged": 560,
    "refunded": 0
  },
  "input": {
    "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
  },
  "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/v3/pro/image-to-video.md. تمام ماڈلز اور گائیڈز: https://doitong.com/developers/llms.txt