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

Clarity Upscaler

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

मॉडल id clarity-upscaler
# 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/clarity-upscaler?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "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.126 126 API क्रेडिट चलाने से पहले आपकी फ़ाइलों को मापा जाता है इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Clarity AI अपस्केल #upscaling

क्रिएटिविटी और समानता नियंत्रण वाला डिफ्यूज़न इमेज अपस्केलर, जो 1x से 4x तक स्केल करता है

Clarity AI · इमेज

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

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

अनुरोध बनाएँ

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

डिफ़ॉल्ट masterpiece, best qua...

जिस इमेज को आप बनाना चाहते हैं उसका अधिकतम विवरण के साथ वर्णन करें, ताकि सर्वोत्तम परिणाम मिल सकें।

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

अपस्केलिंग के लिए source इमेज की ओर संकेत करने वाला URL।

डिफ़ॉल्ट 2

अपस्केलिंग के लिए उपयोग किया जाने वाला multiplier।

उन्नत negative_prompt · creativity · resemblance · guidance_scale · num_inference_steps · seed · enable_safety_checker
डिफ़ॉल्ट (worst quality, low q...

इमेज से हटाए जाने वाले विवरण निर्दिष्ट करने वाला negative प्रॉम्प्ट।

डिफ़ॉल्ट 0.35

मॉडल की रचनात्मकता, sampling denoise strength द्वारा नियंत्रित। अधिक मान प्रॉम्प्ट से अधिक विचलन की अनुमति देते हैं।

डिफ़ॉल्ट 0.6

अपस्केल किए गए परिणाम की source से समानता, ControlNet strength द्वारा नियंत्रित। अधिक मान मॉडल को मूल इमेज का अधिक हिस्सा सुरक्षित रखने देते हैं।

डिफ़ॉल्ट 4

इमेज चयन के लिए प्रॉम्प्ट-अनुरूपता की शक्ति, CFG (Classifier Free Guidance) के रूप में व्यक्त।

डिफ़ॉल्ट 18

चलाए जाने वाले inference चरणों की संख्या।

Stable Diffusion में इमेज पुनरुत्पादन के लिए seed। मॉडल संस्करण, प्रॉम्प्ट और seed अपरिवर्तित रखकर हर रन में इमेज को बिल्कुल पुनरुत्पादित किया जा सकता है।

POST /run/clarity-upscaler?wait=20 कोटेशन → $0.126
# 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/clarity-upscaler?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "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 कुंजी प्राप्त करें

Clarity Upscaler के बारे में

इमेज को 1 से 4 के गुणक से अपस्केल करता है। `creativity` (0 से 1) तय करता है कि मॉडल कितना नया विवरण जोड़ सकता है, जबकि `resemblance` (0 से 1) परिणाम को मूल के करीब रखता है। `prompt` और `negative_prompt` जोड़े गए विवरण का मार्गदर्शन करते हैं। `guidance_scale`, `num_inference_steps` (4 से 50) और सीड समायोजित किए जा सकते हैं।

पैरामीटर

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

नामप्रकार डिफ़ॉल्टअनुमत विवरण
image_urlआवश्यक image
प्रकारurl · image
अपस्केलिंग के लिए source इमेज की ओर संकेत करने वाला URL।
promptवैकल्पिक
प्रकारstring
डिफ़ॉल्टmasterpiece, best quality, highres
जिस इमेज को आप बनाना चाहते हैं उसका अधिकतम विवरण के साथ वर्णन करें, ताकि सर्वोत्तम परिणाम मिल सकें।
upscale_factorवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट2
1 – 4
अपस्केलिंग के लिए उपयोग किया जाने वाला multiplier।
negative_promptवैकल्पिक
प्रकारstring
डिफ़ॉल्ट(worst quality, low quality, normal quality:2)
इमेज से हटाए जाने वाले विवरण निर्दिष्ट करने वाला negative प्रॉम्प्ट।
creativityवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट0.35
0 – 1
मॉडल की रचनात्मकता, sampling denoise strength द्वारा नियंत्रित। अधिक मान प्रॉम्प्ट से अधिक विचलन की अनुमति देते हैं।
resemblanceवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट0.6
0 – 1
अपस्केल किए गए परिणाम की source से समानता, ControlNet strength द्वारा नियंत्रित। अधिक मान मॉडल को मूल इमेज का अधिक हिस्सा सुरक्षित रखने देते हैं।
guidance_scaleवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट4
0 – 20
इमेज चयन के लिए प्रॉम्प्ट-अनुरूपता की शक्ति, CFG (Classifier Free Guidance) के रूप में व्यक्त।
num_inference_stepsवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट18
4 – 50
चलाए जाने वाले inference चरणों की संख्या।
seedवैकल्पिक
प्रकारinteger | null
≥ 0
Stable Diffusion में इमेज पुनरुत्पादन के लिए seed। मॉडल संस्करण, प्रॉम्प्ट और seed अपरिवर्तित रखकर हर रन में इमेज को बिल्कुल पुनरुत्पादित किया जा सकता है।
enable_safety_checkerवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
सुरक्षा जाँच टॉगल; इसे false पर सेट करने से जाँच अक्षम हो जाती है।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

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

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "clarity-upscaler",
  "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": 126,
    "usd": "0.126",
    "charged": 126,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "image": {
      "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,
    "timings": {}
  },
  "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 मॉडल का अपना परिणाम ऑब्जेक्ट है।
आउटपुट के फ़ील्ड
image
object {url, content_type, file_name, file_size, width, height}निर्मित इमेज की ओर संकेत करने वाला URL।
seed
integerइमेज निर्माण के दौरान उपयोग किया गया seed।
timings
objectवर्कफ़्लो के अलग-अलग चरणों की समय-संबंधी जानकारी।

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