Dža ko lil

Clarity Upscaler

Integriruj

Modelosko 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.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Fajlo sar o misalo: $0.126 126 API krediti · ≈ ₽13.29 tire fajlo si merime angl-o phiripen Phir les kate

Lel API klidin
Clarity AI Buter rezolucia #upscaling

Diffusion-imidžosko upscaler kreativnostasa thaj podobnostake kontrolenca, bararindoj 1x dži 4x

Clarity AI · Kip

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

standardno masterpiece, best qua...

Phen o kipo savo kames te kerel pes, use but detail sar šaj te avel maj lačho rezultato.

•trubul image_url
Čhiv jekh fajl, vaj

URL savo sikavel o source kipo vaš upscaling.

standardno 2

Multiplikator upotreblomo vaš upscaling.

Lučhe negative_prompt · creativity · resemblance · guidance_scale · num_inference_steps · seed · enable_safety_checker
standardno (worst quality, low q...

Negative prompto savo phenel save detaila te na aven ande kipo.

standardno 0.35

Kreativitet e modelesko, kontrolirime denoising zorasa e sampling-aki. Maj bare valora mukhen maj bari departura katar o prompto.

standardno 0.6

Sličnost e upscaling rezultatoski pesko source, kontrolirime ControlNet zorasa. Maj bare valora keren kaj o modelo maj but te šunel o originalo kipo.

standardno 4

Zor e promptoske pačajipaski vaś izbor e kiposko, sikavdi sar CFG (Classifier Free Guidance).

standardno 18

Gin inference steps pala te kerel.

Seed vaš reprodukcia e kipengo ande Stable Diffusion. O kipo šaj te reprodukčarel pes ekzaktno pe sa keripena te mukhes isto o modelesko version, prompto thaj seed.

POST /run/clarity-upscaler?wait=20 hesab → $0.126
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Clarity Upscaler

Kerel upscale jekhe kiposko e faktorosa katar 1 dži 4. `creativity` (0 dži 1) setinel keci detalura šaj o modelo te inventirinel, thaj `resemblance` (0 dži 1) anel o rezultato maj pašal ko originalo. Jekh `prompt` thaj `negative_prompt` lidžaren e neve detalura. `guidance_scale`, `num_inference_steps` (4 dži 50) thaj jekh bić šaj te ajustineren pes.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
image_urltrubul image
Tipurl · image
URL savo sikavel o source kipo vaš upscaling.
promptopcionalno
Tipstring
standardnomasterpiece, best quality, highres
Phen o kipo savo kames te kerel pes, use but detail sar šaj te avel maj lačho rezultato.
upscale_factoropcionalno
Tipnumber
standardno2
1 – 4
Multiplikator upotreblomo vaš upscaling.
negative_promptopcionalno
Tipstring
standardno(worst quality, low quality, normal quality:2)
Negative prompto savo phenel save detaila te na aven ande kipo.
creativityopcionalno
Tipnumber
standardno0.35
0 – 1
Kreativitet e modelesko, kontrolirime denoising zorasa e sampling-aki. Maj bare valora mukhen maj bari departura katar o prompto.
resemblanceopcionalno
Tipnumber
standardno0.6
0 – 1
Sličnost e upscaling rezultatoski pesko source, kontrolirime ControlNet zorasa. Maj bare valora keren kaj o modelo maj but te šunel o originalo kipo.
guidance_scaleopcionalno
Tipnumber
standardno4
0 – 20
Zor e promptoske pačajipaski vaś izbor e kiposko, sikavdi sar CFG (Classifier Free Guidance).
num_inference_stepsopcionalno
Tipinteger
standardno18
4 – 50
Gin inference steps pala te kerel.
seedopcionalno
Tipinteger | null
≥ 0
Seed vaš reprodukcia e kipengo ande Stable Diffusion. O kipo šaj te reprodukčarel pes ekzaktno pe sa keripena te mukhes isto o modelesko version, prompto thaj seed.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Preklopnik e sigurnostone proveripnaske; te keres les false, phandel o proveripen.
trubul Kanonikano nav, vi akceptime

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
image
object {url, content_type, file_name, file_size, width, height}URL savo sikavel o kerdo kipo.
seed
integerSeed upotreblovano ande kipo keripe.
timings
objectInformacia e timingoski vaš jekhe-jekhe workflow stepa.

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/clarity-upscaler.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt