কনটেন্টে যান

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"

এই অনুরোধ: ০.৫৬$ ৫৬০ API ক্রেডিট এই পেজে চালান

API কী পান
Kling ছবি থেকে ভিডিও নেটিভ অডিওরেফারেন্স ইনপুট৩–১৫ s #audio#cinematic#multi-shot

নেটিভ সাউন্ড, ঐচ্ছিক শেষ ফ্রেম এবং multi-shot promptsসহ একটি স্থির ছবিকে 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.

৫ sgenerate_audio: false০.৫৬$ · ৫৬০ API ক্রেডিট

একটি অনুরোধ তৈরি করুন

মডেল স্কিমা থেকে কন্ট্রোল তৈরি করা হয়। এগুলো পরিবর্তন করলে কোড ও মূল্য আপডেট হয়।

154 / 2500

ভিডিও জেনারেট করতে ব্যবহৃত টেক্সট নির্দেশনা। প্রম্পট অথবা multi_prompt-এর মধ্যে ঠিক একটি দিন।

•আবশ্যক start_image_url
একটি ফাইল ড্রপ করুন, অথবা

ভিডিও জেনারেশনে ব্যবহৃত ছবির URL। ফাইলের আকার সর্বোচ্চ 50 MB; প্রস্থ ও উচ্চতা উভয়ই কমপক্ষে 300px এবং aspect ratio 0.40 থেকে 2.50-এর মধ্যে হতে হবে।

duration ৫ s

আউটপুট ভিডিওর দৈর্ঘ্য, সেকেন্ডে পরিমাপ করা হয়।

অ্যাডভান্সড negative_prompt · end_image · shot_type · cfg_scale · multi_prompt · elements
0 / 2500
end_image_url
একটি ফাইল ড্রপ করুন, অথবা

ভিডিওর শেষে ব্যবহৃত ছবির URL। ফাইলের আকার 50 MB-এর বেশি হওয়া যাবে না; প্রস্থ ও উচ্চতা উভয়ই কমপক্ষে 300px হতে হবে এবং অ্যাসপেক্ট রেশিও 0.40 থেকে 2.50-এর মধ্যে হতে হবে।

shot_type ডিফল্ট customize

multi-shot জেনারেশন কীভাবে শট পরিকল্পনা করবে তা নির্বাচন করুন; 'intelligent' নির্বাচন করলে শটের কাঠামো মডেলের ওপর ছেড়ে দেওয়া হয়।

ডিফল্ট 0.5

CFG ব্যবহার করে জেনারেশন আপনার প্রম্পট কতটা অনুসরণ করবে তা নির্ধারণ করুন; CFG-এর পূর্ণরূপ Classifier Free Guidance।

সরবরাহ করা হলে ভিডিওকে একাধিক শটে ভাগ করে এমন প্রম্পটের তালিকা।

ভিডিওর উপাদান হিসেবে অন্তর্ভুক্ত চরিত্র বা বস্তু, যেগুলো প্রম্পটে @Element1, @Element2 ইত্যাদি ব্যবহার করে উল্লেখ করা হয়। প্রতিটি উদাহরণের জন্য একটি ভিডিও অথবা সামনের দিকের ছবি ও রেফারেন্স ছবির সমন্বয়ে একটি সেট দিন।

POST /run/kling-video/v3/pro/image-to-video?wait=20 মূল্য → ০.৫৬$
# 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-তে পাঠানো হয় এবং Remember টিক দিলে কেবল localStorage-এ সংরক্ষিত হয়। একটি API কী পান

Doitong-এ তৈরি

Doitong কমিউনিটির Kling v3 দিয়ে তৈরি পাবলিক কাজ। এক ক্লিকে একটি প্রম্পট পুনরায় ব্যবহার করুন।

দেখানো পাবলিক কাজ: 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...

Kling 3.0 Pro Image to Video সম্পর্কে

Kling-এর ফ্ল্যাগশিপ ছবি-থেকে-ভিডিও মডেলটি শুরুর ছবির বিষয়বস্তু স্থির রাখার পাশাপাশি স্বাভাবিক নড়াচড়া, ক্যামেরা মুভমেন্ট এবং ডিফল্টভাবে মিলযুক্ত শব্দ ও কথা যোগ করে। শটটি কোথায় শেষ হবে তা নিয়ন্ত্রণ করতে একটি শেষ ছবি দিন, প্রতি-শট প্রম্পট দিয়ে একটি জেনারেশনকে কয়েকটি শটে ভাগ করুন, অথবা বারবার ব্যবহৃত চরিত্র ও বস্তু রেফারেন্স elements দিয়ে নির্দিষ্ট করুন। ফ্রেমের আকার শুরুর ছবির অনুসরণ করে।

প্যারামিটার

ক্যানোনিকাল নাম অথবা নেটিভ নাম—দুটো একসঙ্গে নয়—পাঠান। ক্যানোনিকাল নামগুলো

নামধরন ডিফল্টঅনুমোদিত বিবরণ
promptঐচ্ছিক
ধরনstring | null
≤ ২,৫০০টি অক্ষর
ভিডিও জেনারেট করতে ব্যবহৃত টেক্সট নির্দেশনা। প্রম্পট অথবা multi_prompt-এর মধ্যে ঠিক একটি দিন।
multi_promptঐচ্ছিক
ধরনobject[]
সরবরাহ করা হলে ভিডিওকে একাধিক শটে ভাগ করে এমন প্রম্পটের তালিকা।
multi_prompt[].promptআবশ্যক
ধরনstring
বর্তমান শটের টেক্সট নির্দেশনা।
multi_prompt[].durationঐচ্ছিক
ধরনenum
ডিফল্ট5
123456789101112131415
বর্তমান শটের দৈর্ঘ্য, সেকেন্ডে পরিমাপ করা হয়।
start_image_urlআবশ্যক image
ধরনurl · image
ভিডিও জেনারেশনে ব্যবহৃত ছবির URL। ফাইলের আকার সর্বোচ্চ 50 MB; প্রস্থ ও উচ্চতা উভয়ই কমপক্ষে 300px এবং aspect ratio 0.40 থেকে 2.50-এর মধ্যে হতে হবে।
durationঐচ্ছিক
ধরনenum
ডিফল্ট5
3456789101112131415
আউটপুট ভিডিওর দৈর্ঘ্য, সেকেন্ডে পরিমাপ করা হয়।
generate_audioঐচ্ছিক
ধরনboolean
ডিফল্টtrue
নেটিভ ভিডিও অডিও জেনারেশনের টগল, যা Chinese বা English ভয়েস সমর্থন করে এবং অন্য যেকোনো ভাষাকে স্বয়ংক্রিয়ভাবে English-এ অনুবাদ করে। English স্পিচের ক্ষেত্রে acronym ও proper noun বড় হাতের অক্ষরে এবং বাকি সব ছোট হাতের অক্ষরে লিখুন।
end_image_urlঐচ্ছিক end_image
ধরনurl · image
ভিডিওর শেষে ব্যবহৃত ছবির URL। ফাইলের আকার 50 MB-এর বেশি হওয়া যাবে না; প্রস্থ ও উচ্চতা উভয়ই কমপক্ষে 300px হতে হবে এবং অ্যাসপেক্ট রেশিও 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টি অতিরিক্ত reference ছবি দিন। প্রতিটি ছবির 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 জেনারেশন কীভাবে শট পরিকল্পনা করবে তা নির্বাচন করুন; 'intelligent' নির্বাচন করলে শটের কাঠামো মডেলের ওপর ছেড়ে দেওয়া হয়।
negative_promptঐচ্ছিক
ধরনstring
ডিফল্টblur, distort, and low quality
≤ ২,৫০০টি অক্ষর
cfg_scaleঐচ্ছিক
ধরনnumber
ডিফল্ট0.5
০ – ১
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-মাস অনুযায়ী অর্থপ্রদত্ত) অথবা অ্যাকাউন্ট সেটিংস বা ?storage= অনুযায়ী বিনামূল্যে ৭ দিন পর্যন্ত।
প্রতিটি মডেলে একই গঠনছবি, ভিডিও এবং অডিও—সব ক্ষেত্রেই type, url, content_type, width, height এবং duration। output হলো মডেলের নিজস্ব ফলাফল অবজেক্ট।
আউটপুটের ফিল্ড
video
object {url, content_type, file_name, file_size}মডেল দ্বারা তৈরি ভিডিও।

আরও মডেল: ছবি থেকে ভিডিও

AI এজেন্টদের জন্য: এই পৃষ্ঠাটি Markdown হিসেবে এখানে আছে https://doitong.com/bn/developers/models/kling-video/v3/pro/image-to-video.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt