কনটেন্টে যান

Kling O3 Edit Video [Standard]

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

মডেল id kling-video/o3/standard/video-to-video/edit
# 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/video-to-video/edit?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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 ভিডিও থেকে ভিডিও রেফারেন্স ইনপুট #video-to-video

স্ট্যান্ডার্ড-টিয়ার O3 ভিডিও এডিটিং, প্রম্পট, ইমেজ ও এলিমেন্ট রেফারেন্স এবং অডিও সংরক্ষণসহ

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

ভিডিও জেনারেট করার টেক্সট নির্দেশনা। reference ভিডিও উল্লেখ করতে @Video1 ব্যবহার করুন।

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

.mp4 বা .mov ফরম্যাটের reference ভিডিও নির্দেশকারী URL, সর্বোচ্চ 200MB। উভয় ডাইমেনশন 720px থেকে 3840px-এর মধ্যে, ফ্রেম rate 23.0–60.0 FPS এবং দৈর্ঘ্য 3–15 সেকেন্ড (সর্বোচ্চ 15.05 সেকেন্ড) হতে হবে।

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

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

ডিফল্ট customize

multi-shot ভিডিও জেনারেট করতে ব্যবহৃত মোড।

অন্তর্ভুক্ত করার চরিত্র বা বস্তু, প্রম্পটে @Element1 এবং @Element2 দিয়ে উল্লেখ করা হয়।

POST /run/kling-video/o3/standard/video-to-video/edit?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/o3/standard/video-to-video/edit?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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 O3 Edit Video [Standard] সম্পর্কে

সোর্সকে @Video1 হিসেবে নির্দেশ করা একটি প্রম্পট ব্যবহার করে ইনপুট ভিডিও পরিবর্তন করে। `video_url` অবশ্যই .mp4 অথবা .mov হতে হবে, দৈর্ঘ্য 3-15 সেকেন্ড, রেজোলিউশন 720-3840px এবং আকার সর্বাধিক 200MB হতে হবে। চেহারা নির্দেশনার জন্য `image_urls` অথবা `elements` যোগ করুন, মোট সর্বাধিক 4টি। `keep_audio` ডিফল্টভাবে চালু থাকে, তাই মূল সাউন্ড বজায় থাকে।

প্যারামিটার

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

নামধরন ডিফল্টঅনুমোদিত বিবরণ
enable_safety_checkerঐচ্ছিক
ধরনboolean
ডিফল্টtrue
অ্যাকাউন্ট অনুমোদন থাকলেই কেবল সেফটি চেক নিষ্ক্রিয় করা যায়; অনুমোদনহীন রিকোয়েস্টে সবসময় চেক করা হয়।
promptআবশ্যক
ধরনstring
≤ ২,৫০০টি অক্ষর
ভিডিও জেনারেট করার টেক্সট নির্দেশনা। reference ভিডিও উল্লেখ করতে @Video1 ব্যবহার করুন।
video_urlআবশ্যক video
ধরনurl · video
.mp4 বা .mov ফরম্যাটের reference ভিডিও নির্দেশকারী URL, সর্বোচ্চ 200MB। উভয় ডাইমেনশন 720px থেকে 3840px-এর মধ্যে, ফ্রেম rate 23.0–60.0 FPS এবং দৈর্ঘ্য 3–15 সেকেন্ড (সর্বোচ্চ 15.05 সেকেন্ড) হতে হবে।
image_urlsঐচ্ছিক images
ধরনurl[] · image
স্টাইল বা চেহারা নির্দেশকারী ছবি, প্রম্পটে @Image1, @Image2 ইত্যাদি দিয়ে উল্লেখ করা হয়। ভিডিও ইনপুটের ক্ষেত্রে elements এবং reference ছবি মিলিয়ে 4টির বেশি হতে পারবে না। প্রতিটি ফাইল সর্বোচ্চ 50 MB, প্রস্থ ও উচ্চতা উভয়ই কমপক্ষে 300 px এবং aspect ratio 0.40 থেকে 2.50-এর মধ্যে হতে হবে।
keep_audioঐচ্ছিক
ধরনboolean
ডিফল্টtrue
reference ভিডিও-র মূল অডিও রাখা হবে কি না তা নিয়ন্ত্রণ করে।
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 হতে হবে।
shot_typeঐচ্ছিক
ধরনstring
ডিফল্টcustomize
multi-shot ভিডিও জেনারেট করতে ব্যবহৃত মোড।
আবশ্যক ক্যানোনিকাল নাম, এটিও গ্রহণযোগ্য

ফাইল প্যারামিটার হিসেবে একটি পাবলিক https:// URL, 10 MB পর্যন্ত একটি data: URI, অথবা আপলোডের file_url গ্রহণ করা হয়। ফাইল

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/o3/standard/video-to-video/edit",
  "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": 1260,
    "usd": "1.26",
    "charged": 1260,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "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/o3/standard/video-to-video/edit.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt