Peke ki ngā ihirangi

Clarity Upscaler

Whakauru

id tauira 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"

Ngā kōnae pēnei i te tauira: $ 0.126 126 whiwhinga API · ≈ ₽ 13.29 ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
Clarity AI Whakakaha Kounga #upscaling

He kaiwhakahaumanu atahanga diffusion me ngā mana auahatanga me te ōritenga, ka whakanuia mai i te 1x ki te 4x

Clarity AI · Atahanga

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

taunoa masterpiece, best qua...

Whakaahuatia te atahanga e hiahia ana koe kia whakaputaina, kia nui rawa ngā taipitopito mō ngā putanga pai.

•e hiahiatia ana image_url
Whakataka he kōnae,

URL ki te atahanga pūtake mō te whakarahinga taumira.

taunoa 2

Kaitauine whakarea ka whakamahia mō te whakarahinga taumira.

Arā atu negative_prompt · creativity · resemblance · guidance_scale · num_inference_steps · seed · enable_safety_checker
taunoa (worst quality, low q...

Tohutohu tōraro e tohu ana i ngā taipitopito hei aukati mai i te atahanga.

taunoa 0.35

Te auahatanga o te tauira, ka whakahaerehia e te kaha tango haruru o te tauira. Mā ngā uara teitei ka nui ake te wehe atu i te tohutohu.

taunoa 0.6

Te ōritetanga o te putanga kua whakarahia ki tōna pūtake, ka whakahaerehia e te kaha ControlNet. Mā ngā uara teitei ka nui ake te pupuri a te tauira i te atahanga taketake.

taunoa 4

Te kaha ū ki te tohutohu mō te kōwhiringa atahanga, kua whakaaturia hei CFG (Classifier Free Guidance).

taunoa 18

Tau o ngā hipanga whakatauira hei whakahaere.

Kākano hei tukurua i ngā atahanga i Stable Diffusion. Ka taea te whakaputa anō i tētahi atahanga kia tino ōrite i ia oma mā te pupuri i te putanga tauira, te tohutohu me te kākano kia kore e whakarerekē.

POST /run/clarity-upscaler?wait=20 utu → $ 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"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Clarity Upscaler

Ka whakakaha kounga i tētahi atahanga mā tētahi tauwehe mai i te 1 ki te 4. Mā `creativity` (0 ki te 1) e whakarite te nui o ngā taipitopito ka waihangatia e te tauira, ā, mā `resemblance` (0 ki te 1) e akiaki kia piri tonu te putanga ki te taketake. Mā `prompt` me `negative_prompt` e ārahi ngā taipitopito tāpiri. Ka taea te whakarite `guidance_scale`, `num_inference_steps` (4 ki te 50) me te kākano.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
image_urle hiahiatia ana image
Momourl · image
URL ki te atahanga pūtake mō te whakarahinga taumira.
promptkōwhiringa
Momostring
Taunoamasterpiece, best quality, highres
Whakaahuatia te atahanga e hiahia ana koe kia whakaputaina, kia nui rawa ngā taipitopito mō ngā putanga pai.
upscale_factorkōwhiringa
Momonumber
Taunoa2
1 – 4
Kaitauine whakarea ka whakamahia mō te whakarahinga taumira.
negative_promptkōwhiringa
Momostring
Taunoa(worst quality, low quality, normal quality:2)
Tohutohu tōraro e tohu ana i ngā taipitopito hei aukati mai i te atahanga.
creativitykōwhiringa
Momonumber
Taunoa0.35
0 – 1
Te auahatanga o te tauira, ka whakahaerehia e te kaha tango haruru o te tauira. Mā ngā uara teitei ka nui ake te wehe atu i te tohutohu.
resemblancekōwhiringa
Momonumber
Taunoa0.6
0 – 1
Te ōritetanga o te putanga kua whakarahia ki tōna pūtake, ka whakahaerehia e te kaha ControlNet. Mā ngā uara teitei ka nui ake te pupuri a te tauira i te atahanga taketake.
guidance_scalekōwhiringa
Momonumber
Taunoa4
0 – 20
Te kaha ū ki te tohutohu mō te kōwhiringa atahanga, kua whakaaturia hei CFG (Classifier Free Guidance).
num_inference_stepskōwhiringa
Momointeger
Taunoa18
4 – 50
Tau o ngā hipanga whakatauira hei whakahaere.
seedkōwhiringa
Momointeger | null
≥ 0
Kākano hei tukurua i ngā atahanga i Stable Diffusion. Ka taea te whakaputa anō i tētahi atahanga kia tino ōrite i ia oma mā te pupuri i te putanga tauira, te tohutohu me te kākano kia kore e whakarerekē.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Whakakā/whakaweto kaiwhakamātau haumaru; mā te tautuhi ki false ka whakawetohia te tirotiro.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
image
object {url, content_type, file_name, file_size, width, height}URL ki te atahanga kua whakaputaina.
seed
integerKākano ka whakamahia i te whakaputanga atahanga.
timings
objectHe pārongo wā mō ngā hīkoi takitahi o te rerengamahi.

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/clarity-upscaler.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt