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

Krea 3 Edit

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

मॉडल id krea/v3/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/krea/v3/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",
    "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.026 26 API क्रेडिट इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Krea इमेज एडिटिंग #image-editing#multi-reference#image-to-image#krea

Krea 3 इमेज एडिटिंग, जो टेक्स्ट निर्देशों से 1 से 8 रेफ़रेंस इमेज संपादित या संयोजित करती है

Krea · इमेज

आपका पहला परिणाम यहाँ आएगा

नीचे एक अनुरोध बनाएँ और उसे अपनी API कुंजी से चलाएँ। आउटपुट हमारे स्टोरेज में कॉपी किए जाते हैं और हमेशा के लिए या 7 दिन तक मुफ़्त में रखे जाते हैं।

अनुरोध बनाएँ

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

•आवश्यक 88 / 5000

वांछित आउटपुट इमेज का विवरण।

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

संपादित या संयोजित की जाने वाली 1–8 इमेज का क्रमबद्ध संग्रह, जिसमें पोज़िशन <image-N> टैग असाइन करती हैं।

image_size डिफ़ॉल्ट auto

आउटपुट आयाम, या `auto` ताकि प्रॉम्प्ट एक्सपैंडर लगभग 2048×2048 के अनुपात चुने। आयाम 16 के गुणज तक ऊपर की ओर राउंड किए जाते हैं, कुल 4,220,160 पिक्सेल (1680×2512) की सीमा के अधीन।

उन्नत negative_prompt · model · reasoning_level · output_format · seed · enable_safety_checker
0 / 1024

इमेज से बाहर रखने वाली सामग्री; केवल berry इस इनपुट का उपयोग करता है।

model डिफ़ॉल्ट berry

मॉडल वैरिएंट चयन: berry गुणवत्ता को प्राथमिकता देता है, जबकि jam गति को प्राथमिकता देता है।

reasoning_level डिफ़ॉल्ट medium

हार्नेस के लिए एडिटिंग-टास्क रीजनिंग प्रयास, जहाँ अधिक सेटिंग पर अधिक रीजनिंग के बदले निर्माण समय लंबा होता है।

output_format डिफ़ॉल्ट png

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

पहले जनरेट किए गए आउटपुट के प्रत्येक अतिरिक्त संपादन के लिए नया latent-noise सीड चुनें।

POST /run/krea/v3/edit?wait=20 कोटेशन → $0.026
# 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/krea/v3/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",
    "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 कुंजी प्राप्त करें

Krea 3 Edit के बारे में

`image_urls` में दी गई एक से आठ इमेज को अधिकतम 5000 वर्णों वाले `prompt` के निर्देश पर संपादित या मर्ज करता है। `model` berry (गुणवत्ता) या jam (गति) चुनता है। `reasoning_level` low से ultra तक होता है और `image_size` प्रीसेट या auto स्वीकार करता है, अधिकतम 4,220,160 पिक्सेल तक। `negative_prompt` केवल berry पर लागू होता है।

पैरामीटर

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

नामप्रकार डिफ़ॉल्टअनुमत विवरण
promptआवश्यक
प्रकारstring
≤ 5,000 अक्षर
वांछित आउटपुट इमेज का विवरण।
image_urlsआवश्यक images
प्रकारurl[] · image
≤ 8 आइटम
संपादित या संयोजित की जाने वाली 1–8 इमेज का क्रमबद्ध संग्रह, जिसमें पोज़िशन <image-N> टैग असाइन करती हैं।
modelवैकल्पिक
प्रकारenum
डिफ़ॉल्टberry
berryjam
मॉडल वैरिएंट चयन: berry गुणवत्ता को प्राथमिकता देता है, जबकि jam गति को प्राथमिकता देता है।
image_sizeवैकल्पिक
प्रकारobject
डिफ़ॉल्टauto
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto
आउटपुट आयाम, या `auto` ताकि प्रॉम्प्ट एक्सपैंडर लगभग 2048×2048 के अनुपात चुने। आयाम 16 के गुणज तक ऊपर की ओर राउंड किए जाते हैं, कुल 4,220,160 पिक्सेल (1680×2512) की सीमा के अधीन।
reasoning_levelवैकल्पिक
प्रकारenum
डिफ़ॉल्टmedium
lowmediumhighultra
हार्नेस के लिए एडिटिंग-टास्क रीजनिंग प्रयास, जहाँ अधिक सेटिंग पर अधिक रीजनिंग के बदले निर्माण समय लंबा होता है।
negative_promptवैकल्पिक
प्रकारstring
डिफ़ॉल्ट
≤ 1,024 अक्षर
इमेज से बाहर रखने वाली सामग्री; केवल berry इस इनपुट का उपयोग करता है।
seedवैकल्पिक
प्रकारinteger | null
पहले जनरेट किए गए आउटपुट के प्रत्येक अतिरिक्त संपादन के लिए नया latent-noise सीड चुनें।
output_formatवैकल्पिक
प्रकारenum
डिफ़ॉल्टpng
pngjpeg
परिणामी इमेज का फ़ॉर्मैट।
enable_safety_checkerवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
आउटपुट इमेज के लिए असुरक्षित-सामग्री स्क्रीनिंग। इसे अक्षम करने के लिए अकाउंट प्राधिकरण आवश्यक है।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

फ़ाइल पैरामीटर में सार्वजनिक https:// URL, 10 MB तक का data: URI, या अपलोड का file_url लिया जाता है। फ़ाइलें

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "krea/v3/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": 26,
    "usd": "0.026",
    "charged": 26,
    "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
      }
    ],
    "seed": 42,
    "prompt": "string",
    "timings": {},
    "has_nsfw_concepts": [
      false
    ]
  },
  "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}निर्माण से तैयार की गई इमेज।
seed
integerनिर्माण के दौरान latent noise प्रदान करने वाला सीड।
prompt
stringआउटपुट जनरेट करने के लिए उपयोग किया गया विस्तारित प्रॉम्प्ट।
timings
objectसेकंड में मापी गई प्रति-चरण निर्माण अवधि, जिसमें `inference` के अंतर्गत कुल GPU सैंपलिंग समय शामिल है।
has_nsfw_concepts
array of booleanप्रति-इमेज सुरक्षा आकलन।

और मॉडल: इमेज एडिटिंग

AI एजेंट के लिए: इस पेज का Markdown यहाँ है https://doitong.com/hi/developers/models/krea/v3/edit.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt