কনটেন্টে যান

Kling O1 Image

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

মডেল id kling-image/o1
# 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-image/o1?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",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# 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 ছবি সম্পাদনা রেফারেন্স ইনপুট2K পর্যন্ত #edit#realism#typography

সর্বোচ্চ 10টি ছবি, @Image ট্যাগ ও এলিমেন্ট, 1K বা 2K এবং সর্বোচ্চ 9টি আউটপুটসহ রেফারেন্স-নির্ভর ইমেজ এডিটিং

Doitong-এ তৈরি

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

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

ছবি-জেনারেশন প্রম্পট, সর্বোচ্চ 2500 অক্ষর। ছবির উল্লেখ করতে @Image1, @Image2 ইত্যাদি, অথবা একটি ছবির জন্য @Image ব্যবহার করুন।

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

রেফারেন্স ছবির তালিকা, সর্বোচ্চ 10টি ছবি; প্রম্পটে @Image1, @Image2 ইত্যাদি হিসেবে উল্লেখ করুন, নম্বর 1 থেকে শুরু করে। প্রতিটি ফাইল সর্বোচ্চ 10.0 MB হতে পারবে, প্রস্থ ও উচ্চতা উভয়ই কমপক্ষে 300px এবং অ্যাসপেক্ট রেশিও 0.40 থেকে 2.50 হতে হবে।

resolution ডিফল্ট 1K

আউটপুট ছবির রেজোলিউশন: স্ট্যান্ডার্ডের জন্য 1K অথবা উচ্চ রেজোলিউশনের জন্য 2K।

aspect_ratio ডিফল্ট auto

জেনারেট করা ছবির অ্যাসপেক্ট রেশিও; 'auto' সেট করা হলে ইনপুট কনটেন্ট থেকে স্বয়ংক্রিয়ভাবে নির্বাচন করা হয়।

num_images ডিফল্ট 1

আউটপুট ছবির সংখ্যা, 1 থেকে 9।

অ্যাডভান্সড output_format · enable_safety_checker · elements
output_format ডিফল্ট png

ফলাফল ছবির ফাইল ফরম্যাট।

উপাদান হিসেবে অন্তর্ভুক্ত চরিত্র বা অবজেক্ট; রেফারেন্স ছবির সঙ্গে মিলিয়ে মোট সীমা 10। প্রম্পটে @Element1, @Element2 ইত্যাদি ব্যবহার করে উল্লেখ করা হয়।

POST /run/kling-image/o1?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-image/o1?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",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# 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 Image সম্পর্কে

সর্বোচ্চ 2500 অক্ষরের একটি `prompt` থেকে ছবি এডিট বা পুনর্গঠন করে। @Image1, @Image2 ইত্যাদি ব্যবহার করে ইনপুট নির্দেশ করুন; `image_urls`-এ সর্বোচ্চ 10টি ছবি দেওয়া যায়। `elements` অক্ষর বা অবজেক্ট যোগ করে, সম্মিলিত সর্বোচ্চ সংখ্যা 10। `resolution` হলো 1K বা 2K, `num_images` হলো 1 থেকে 9, এবং `aspect_ratio`-এর মধ্যে auto, 21:9 ও 3:2 রয়েছে। আউটপুট png, jpeg বা webp।

প্যারামিটার

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

নামধরন ডিফল্টঅনুমোদিত বিবরণ
promptআবশ্যক
ধরনstring
≤ ২,৫০০টি অক্ষর
ছবি-জেনারেশন প্রম্পট, সর্বোচ্চ 2500 অক্ষর। ছবির উল্লেখ করতে @Image1, @Image2 ইত্যাদি, অথবা একটি ছবির জন্য @Image ব্যবহার করুন।
image_urlsআবশ্যক images
ধরনurl[] · image
রেফারেন্স ছবির তালিকা, সর্বোচ্চ 10টি ছবি; প্রম্পটে @Image1, @Image2 ইত্যাদি হিসেবে উল্লেখ করুন, নম্বর 1 থেকে শুরু করে। প্রতিটি ফাইল সর্বোচ্চ 10.0 MB হতে পারবে, প্রস্থ ও উচ্চতা উভয়ই কমপক্ষে 300px এবং অ্যাসপেক্ট রেশিও 0.40 থেকে 2.50 হতে হবে।
elementsঐচ্ছিক
ধরনobject[]
উপাদান হিসেবে অন্তর্ভুক্ত চরিত্র বা অবজেক্ট; রেফারেন্স ছবির সঙ্গে মিলিয়ে মোট সীমা 10। প্রম্পটে @Element1, @Element2 ইত্যাদি ব্যবহার করে উল্লেখ করা হয়।
elements[].frontal_image_urlঐচ্ছিক
ধরনurl · image
ঐচ্ছিক সামনের দিকের ছবি, যা উপাদানটির প্রধান দৃশ্য সরবরাহ করে। ফাইলের আকার 10.0 MB-এর বেশি হতে পারবে না; প্রস্থ ও উচ্চতা উভয়ই কমপক্ষে 300px এবং অ্যাসপেক্ট রেশিও 0.40 থেকে 2.50 হতে হবে।
elements[].reference_image_urlsঐচ্ছিক
ধরনurl[] · image
ঐচ্ছিক 0–3টি অতিরিক্ত ছবি, যাতে অন্যান্য কোণ দেখানো হয়। প্রতিটি ফাইল সর্বোচ্চ 10.0 MB হতে পারবে, প্রস্থ ও উচ্চতা উভয়ই কমপক্ষে 300px এবং অ্যাসপেক্ট রেশিও 0.40 থেকে 2.50 হতে হবে।
resolutionঐচ্ছিক
ধরনenum
ডিফল্ট1K
1K2K
আউটপুট ছবির রেজোলিউশন: স্ট্যান্ডার্ডের জন্য 1K অথবা উচ্চ রেজোলিউশনের জন্য 2K।
num_imagesঐচ্ছিক num_outputs
ধরনinteger
ডিফল্ট1
১ – ৯
আউটপুট ছবির সংখ্যা, 1 থেকে 9।
aspect_ratioঐচ্ছিক
ধরনenum
ডিফল্টauto
auto16:99:161:14:33:43:22:321:9
জেনারেট করা ছবির অ্যাসপেক্ট রেশিও; 'auto' সেট করা হলে ইনপুট কনটেন্ট থেকে স্বয়ংক্রিয়ভাবে নির্বাচন করা হয়।
output_formatঐচ্ছিক
ধরনenum
ডিফল্টpng
jpegpngwebp
ফলাফল ছবির ফাইল ফরম্যাট।
enable_safety_checkerঐচ্ছিক
ধরনboolean
ডিফল্টtrue
কলকারী অনুমোদিত হলে false সেট করে স্ক্রিনিং শিথিল করা যায়।
আবশ্যক ক্যানোনিকাল নাম, এটিও গ্রহণযোগ্য

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

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-image/o1",
  "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": 28,
    "usd": "0.028",
    "charged": 28,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ]
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "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 হলো মডেলের নিজস্ব ফলাফল অবজেক্ট।
আউটপুটের ফিল্ড
images
array of object {url, content_type, file_name, file_size, width, height}মডেল দ্বারা তৈরি ছবি।

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