सामग्री पर जाएँ

Kling Image · O3 · Image to Image

इंटीग्रेट करें

मॉडल id kling-image/o3/image-to-image
# 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/o3/image-to-image?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"

यह अनुरोध: $0.028 28 API क्रेडिट इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Kling इमेज एडिटिंग 4K आउटपुटरेफ़रेंस इनपुट4K तक #image-to-image

अधिकतम 10 संदर्भ इमेज से O3 इमेज संपादन, 1K-4K आउटपुट और सीरीज़ मोड के साथ

Doitong पर बनाया गया

Doitong समुदाय द्वारा Kling Image से बनाए गए सार्वजनिक कार्य। एक क्लिक में प्रॉम्प्ट का पुनः उपयोग करें।

दिखाए गए सार्वजनिक कार्य: 16
**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...

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

Моя первая глобальная цель — 10.000 подписчиков. Я хочу расти вместе с вами, делать сериалы ещё к... वीडियो

Моя первая глобальная цель — 10.000 подписчиков. Я хочу расти вместе с вами, делать сериалы ещё круче, масштабнее и в итоге превратить это в полноценный проект, чтобы в дальнейшем монетизировать свой блог. Путь к первой десятке объявляю открытым. Идём со мной? Мне нужно такое видео в трёх кадрах...

Оживи старую чёрно-белую свадебную фотографию. Молодожёны стоят рядом друг с другом. Жених нежно ... वीडियो

Оживи старую чёрно-белую свадебную фотографию. Молодожёны стоят рядом друг с другом. Жених нежно и с любовью смотрит на невесту, слегка улыбается и бережно касается её руки. Невеста мягко улыбается, немного поворачивает голову к жениху и смотрит на него с теплотой. Их движения естественные,...

The woman in the reference photo smiles naturally at the camera. Golden magical sparks begin swir... वीडियो

The woman in the reference photo smiles naturally at the camera. Golden magical sparks begin swirling around her body. Her eyes briefly glow with warm golden light. A beautiful black witch hat appears on her head, and her clothes magically transform into an elegant black-and-gold witch costume...

Кролик открывает дверь девушке, девушка дает чаевые кролику и говорит « спасибо, мой ушастый друг... वीडियो

Кролик открывает дверь девушке, девушка дает чаевые кролику и говорит « спасибо, мой ушастый друг», он закрывает за ней дверь и говорит «Пожалуйста, красотка» после того как она села в машину за руль, кролик немного отходит, девушка в дрифте уезжает, все в одной сцене. Съемка кинематографичная....

अनुरोध बनाएँ

कंट्रोल मॉडल स्कीमा से जनरेट होते हैं। इन्हें बदलने पर कोड और कीमत अपडेट होती है।

•आवश्यक 88 / 2500

2500 वर्णों तक सीमित इमेज-निर्माण प्रॉम्प्ट। इमेज के लिए @Image1, @Image2 आदि, या एकल इमेज के लिए @Image का संदर्भ दें।

•आवश्यक image_urls
फ़ाइल ड्रॉप करें, या

संदर्भ इमेज की सूची, अधिकतम 10 इमेज; प्रॉम्प्ट में @Image1, @Image2 आदि के रूप में संदर्भ दें, जिनकी संख्या 1 से शुरू हो। प्रत्येक फ़ाइल 10.0 MB से बड़ी नहीं होनी चाहिए, चौड़ाई और ऊँचाई दोनों कम से कम 300px होनी चाहिए और आस्पेक्ट रेशियो 0.40 से 2.50 के बीच होना चाहिए।

resolution डिफ़ॉल्ट 1K

आउटपुट इमेज रिज़ॉल्यूशन: मानक के लिए 1K, उच्च के लिए 2K या अति-उच्च रिज़ॉल्यूशन के लिए 4K।

aspect_ratio डिफ़ॉल्ट auto

निर्मित इमेज का आस्पेक्ट रेशियो, `auto` पर सेट होने पर इनपुट सामग्री से स्वचालित रूप से चुना जाता है।

num_images डिफ़ॉल्ट 1

आउटपुट इमेज की संख्या, 1 से 9 तक; केवल तभी लागू होती है जब `result_type` `single` हो।

उन्नत result_type · output_format · series_amount · enable_safety_checker · elements
result_type डिफ़ॉल्ट single

आउटपुट प्रकार: `single` एक इमेज बनाता है, जबकि `series` कई संबंधित इमेज बनाता है।

output_format डिफ़ॉल्ट png

परिणामी इमेज का फ़ाइल फ़ॉर्मैट।

सीरीज़ इमेज की संख्या, 2 से 9 तक; केवल तभी लागू होती है जब `result_type` `series` हो।

वैकल्पिक face-control तत्व, जो वर्णों या ऑब्जेक्ट का प्रतिनिधित्व करते हैं और प्रॉम्प्ट में @Element1, @Element2 आदि से संबोधित किए जाते हैं।

POST /run/kling-image/o3/image-to-image?wait=20 कोटेशन → $0.028
# 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/o3/image-to-image?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 को भेजा जाता है और केवल तभी (localStorage) में सेव किया जाता है जब आप Remember चुनते हैं। API कुंजी प्राप्त करें

Kling Image · O3 · Image to Image के बारे में

प्रॉम्प्ट में @Image1, @Image2 आदि के रूप में संदर्भित इमेज (`image_urls`, अधिकतम 10) को रूपांतरित या संयोजित करता है। `resolution` 1K, 2K या 4K है, और `aspect_ratio` में auto के साथ 21:9 तक के आठ निश्चित अनुपात शामिल हैं। `num_images` से 1-9 एकल इमेज बनाएँ, या `result_type` series और `series_amount` से 2-9 संबंधित इमेज का सेट बनाएँ। आउटपुट jpeg, png या webp होता है।

पैरामीटर

कैनोनिकल नाम या नेटिव नाम में से कोई एक भेजें, दोनों नहीं। कैनोनिकल नाम

नामप्रकार डिफ़ॉल्टअनुमत विवरण
promptआवश्यक
प्रकारstring
≤ 2,500 अक्षर
2500 वर्णों तक सीमित इमेज-निर्माण प्रॉम्प्ट। इमेज के लिए @Image1, @Image2 आदि, या एकल इमेज के लिए @Image का संदर्भ दें।
image_urlsआवश्यक images
प्रकारurl[] · image
संदर्भ इमेज की सूची, अधिकतम 10 इमेज; प्रॉम्प्ट में @Image1, @Image2 आदि के रूप में संदर्भ दें, जिनकी संख्या 1 से शुरू हो। प्रत्येक फ़ाइल 10.0 MB से बड़ी नहीं होनी चाहिए, चौड़ाई और ऊँचाई दोनों कम से कम 300px होनी चाहिए और आस्पेक्ट रेशियो 0.40 से 2.50 के बीच होना चाहिए।
elementsवैकल्पिक
प्रकारobject[]
वैकल्पिक face-control तत्व, जो वर्णों या ऑब्जेक्ट का प्रतिनिधित्व करते हैं और प्रॉम्प्ट में @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
1K2K4K
आउटपुट इमेज रिज़ॉल्यूशन: मानक के लिए 1K, उच्च के लिए 2K या अति-उच्च रिज़ॉल्यूशन के लिए 4K।
result_typeवैकल्पिक
प्रकारenum
डिफ़ॉल्टsingle
singleseries
आउटपुट प्रकार: `single` एक इमेज बनाता है, जबकि `series` कई संबंधित इमेज बनाता है।
num_imagesवैकल्पिक num_outputs
प्रकारinteger
डिफ़ॉल्ट1
1 – 9
आउटपुट इमेज की संख्या, 1 से 9 तक; केवल तभी लागू होती है जब `result_type` `single` हो।
series_amountवैकल्पिक
प्रकारinteger | null
2 – 9
सीरीज़ इमेज की संख्या, 2 से 9 तक; केवल तभी लागू होती है जब `result_type` `series` हो।
aspect_ratioवैकल्पिक
प्रकारenum
डिफ़ॉल्टauto
16:99:161:14:33:43:22:321:9auto
निर्मित इमेज का आस्पेक्ट रेशियो, `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/o3/image-to-image",
  "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-माह भुगतान) या 7 दिन तक मुफ़्त में, आपके अकाउंट की सेटिंग या ?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/hi/developers/models/kling-image/o3/image-to-image.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt