কনটেন্টে যান

Kling O1 Reference Image to Video [Pro]

ইন্টিগ্রেট করুন

মডেল id kling-video/o1/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/o1/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"

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

API কী পান
Kling রেফারেন্স থেকে ভিডিও রেফারেন্স ইনপুট৩–১০ s

Pro reference-to-video, যা চরিত্র ও অবজেক্টের সামঞ্জস্য বজায় রাখে, 3 থেকে 10 সেকেন্ড, কোনো ইনপুট ভিডিও নেই

Doitong-এ তৈরি

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

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

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

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

•আবশ্যক 88 / 2500

ক্রমবদ্ধ রেফারেন্সে উপাদানের জন্য @Element1, @Element2 ইত্যাদি এবং ছবির জন্য @Image1, @Image2 ইত্যাদি ব্যবহার করুন।

duration ৫ s

সেকেন্ডে পরিমাপ করা ভিডিওর দৈর্ঘ্য।

aspect_ratio ডিফল্ট 16:9

জেনারেট করা ভিডিওর ফ্রেমের প্রস্থ-উচ্চতা অনুপাত।

অ্যাডভান্সড images · enable_safety_checker · elements
image_urls
একটি ফাইল ড্রপ করুন, অথবা

স্টাইল বা চেহারা নির্দেশকারী অতিরিক্ত ছবি, প্রম্পটে @Image1, @Image2 ইত্যাদি দিয়ে উল্লেখ করা হয়। Elements, reference ছবি এবং starting ছবি মিলিয়ে 7টির বেশি হতে পারবে না। প্রতিটি ফাইল সর্বোচ্চ 50 MB, প্রস্থ ও উচ্চতা উভয়ই কমপক্ষে 300 px এবং aspect ratio 0.40 থেকে 2.50-এর মধ্যে হতে হবে।

ভিডিওতে প্রদর্শিত চরিত্র বা বস্তু, প্রম্পটে @Element1, @Element2 ইত্যাদি দিয়ে উল্লেখ করা হয়। Elements, reference ছবি এবং the starting ছবি মিলিয়ে 7টির বেশি হতে পারবে না।

POST /run/kling-video/o1/reference-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/o1/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-তে পাঠানো হয় এবং Remember টিক দিলে কেবল localStorage-এ সংরক্ষিত হয়। একটি API কী পান

Kling O1 Reference Image to Video [Pro] সম্পর্কে

সর্বোচ্চ 2500 অক্ষরের আবশ্যিক `prompt` থেকে একটি ক্লিপ জেনারেট করে। সরবরাহ করা `elements`-কে @Element1 এবং `image_urls`-কে @Image1 হিসেবে উল্লেখ করুন; সর্বোচ্চ 7টি element ও রেফারেন্স ছবি একসঙ্গে ব্যবহার করা যায়। দৈর্ঘ্য 3 থেকে 10 সেকেন্ড (ডিফল্ট 5) এবং অ্যাসপেক্ট রেশিও 16:9, 9:16 বা 1:1।

প্যারামিটার

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

নামধরন ডিফল্টঅনুমোদিত বিবরণ
enable_safety_checkerঐচ্ছিক
ধরনboolean
ডিফল্টtrue
অ্যাকাউন্ট অনুমোদন থাকলেই কেবল সেফটি চেক নিষ্ক্রিয় করা যায়; অনুমোদনহীন রিকোয়েস্টে সবসময় চেক করা হয়।
promptআবশ্যক
ধরনstring
≤ ২,৫০০টি অক্ষর
ক্রমবদ্ধ রেফারেন্সে উপাদানের জন্য @Element1, @Element2 ইত্যাদি এবং ছবির জন্য @Image1, @Image2 ইত্যাদি ব্যবহার করুন।
image_urlsঐচ্ছিক images
ধরনurl[] · image
স্টাইল বা চেহারা নির্দেশকারী অতিরিক্ত ছবি, প্রম্পটে @Image1, @Image2 ইত্যাদি দিয়ে উল্লেখ করা হয়। Elements, reference ছবি এবং starting ছবি মিলিয়ে 7টির বেশি হতে পারবে না। প্রতিটি ফাইল সর্বোচ্চ 50 MB, প্রস্থ ও উচ্চতা উভয়ই কমপক্ষে 300 px এবং aspect ratio 0.40 থেকে 2.50-এর মধ্যে হতে হবে।
elementsঐচ্ছিক
ধরনobject[]
ভিডিওতে প্রদর্শিত চরিত্র বা বস্তু, প্রম্পটে @Element1, @Element2 ইত্যাদি দিয়ে উল্লেখ করা হয়। Elements, reference ছবি এবং the starting ছবি মিলিয়ে 7টির বেশি হতে পারবে না।
elements[].frontal_image_urlআবশ্যক
ধরনurl · image
উপাদানের প্রধান দৃশ্য সরবরাহকারী সামনের দিকের ছবি, সর্বোচ্চ 50 MB। প্রস্থ ও উচ্চতা উভয়ই কমপক্ষে 300 px হতে হবে এবং aspect ratio 0.40 থেকে 2.50-এর মধ্যে হতে হবে। টাইমআউট 20 সেকেন্ড।
elements[].reference_image_urlsঐচ্ছিক
ধরনurl[] · image
ভিন্ন কোণ দেখানো 1–3টি অতিরিক্ত reference ছবি দিন। প্রতিটি ছবির aspect ratio 0.40 থেকে 2.50-এর মধ্যে, উভয় ডাইমেনশন কমপক্ষে 300px এবং আকার সর্বোচ্চ 50.0MB হতে হবে।
durationঐচ্ছিক
ধরনenum
ডিফল্ট5
345678910
সেকেন্ডে পরিমাপ করা ভিডিওর দৈর্ঘ্য।
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/o1/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": 560,
    "usd": "0.56",
    "charged": 560,
    "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-মাস অনুযায়ী অর্থপ্রদত্ত) অথবা অ্যাকাউন্ট সেটিংস বা ?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/o1/reference-to-video.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt