কনটেন্টে যান

Kling O1 Edit Video [Standard]

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

মডেল id kling-video/o1/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/o1/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 ভিডিও থেকে ভিডিও রেফারেন্স ইনপুট

Standard টিয়ারের প্রাকৃতিক ভাষার ভিডিও এডিটিং, যা গতি বজায় রেখে বিষয়, পরিবেশ বা স্টাইল পরিবর্তন করে

Doitong-এ তৈরি

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

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

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

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

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

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

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

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

POST /run/kling-video/o1/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/o1/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 O1 Edit Video [Standard] সম্পর্কে

সর্বোচ্চ 2500 অক্ষরের একটি টেক্সট নির্দেশনা অনুসরণ করে বিদ্যমান 3 থেকে 10 সেকেন্ডের .mp4 অথবা .mov ভিডিও সম্পাদনা করে (720 থেকে 2160px, সর্বোচ্চ 200MB)। রেফারেন্স ছবি ও element যোগ করা যায়, মোট সর্বোচ্চ 4টি। মূল শব্দ রাখা হবে কি না তা `keep_audio` নির্ধারণ করে; ডিফল্টভাবে এটি বন্ধ থাকে। Standard সংস্করণ।

প্যারামিটার

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

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

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

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/o1/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/o1/standard/video-to-video/edit.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt