কনটেন্টে যান

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
**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...

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты вн... ভিডিও

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты внешности, возраст, причёски и одежду. Мужчины слегка поворачивают головы, естественно моргают и едва заметно улыбаются. Женщина слева спокойно смотрит в камеру и мягко моргает. Маленький ребёнок слегка...

Create a realistic 30-second vertical 9:16 video showing two construction workers installing larg... ভিডিও

Create a realistic 30-second vertical 9:16 video showing two construction workers installing large white patio tiles in a modern backyard. Show the entire construction process in a smooth timelapse. Gradually transform the unfinished backyard into a luxurious outdoor living space with an L-shaped...

Create a warm, emotional 8–10 second cinematic video showing the difference between a young child... ভিডিও

Create a warm, emotional 8–10 second cinematic video showing the difference between a young child playing alone and playing with their mother. Scene 1: A toddler sits on the floor playing with toys independently. The child is calm and focused, exploring and learning through independent play. The...

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

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

•আবশ্যক 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