Peke ki ngā ihirangi

Topaz Upscale Image Generative

Whakauru

id tauira topaz/upscale/image/generative
# 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/topaz/upscale/image/generative?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"

Ngā kōnae pēnei i te tauira: $ 0.08 80 whiwhinga API ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
Topaz Labs Whakakaha Kounga #upscale#image

Kaiwhakanuia taumira atahanga whakaputa me ngā tauira maha, te whakarei kanohi me te aratau Redefine e ārahina ana e te tohutohu

Topaz Labs · 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.

0 / 1024

Kuputuhi aratohu mō te whakanuinga whakaputa, ka herea ki te 1024 pūāhua, ā, e tautokona ana e Redefine anake.

•e hiahiatia ana image_url
Whakataka he kōnae,

URL atahanga pūtake mō te whakanuinga taumira.

taunoa Wonder 3

Kōwhiringa tauira whakanuinga whakaputa: ka hanga anō a Recovery me Recovery V2 i ngā atahanga taumira-iti rawa; ka whakamahi a Redefine i ngā tohutohu hei ārahi i ngā taipitopito auaha; ka aro a Standard MAX ki te tika me te kounga teitei; ka hanga anō a Recover 3 i ngā taipitopito māori. I roto i te whānau Wonder, ko Wonder me Wonder 2 kei mua i Wonder 3, te tauira whakaputa tino matatau mō te whakaahua-tūturu; ko te putanga hou, Wonder 3.5, he taipitopito pai ake, he iti ake te tukurua tauira.

taunoa 2

Whakarea whakarahinga atahanga; hei tauira, mā 2.0 ka rearua ngā ahunga e rua.

Arā atu output_format · subject_detection · enhancement_strength · face_enhancement_creativity · face_enhancement_strength · creativity · texture · sharpen · denoise · detail · crop_to_fill · face_enhancement · autoprompt · enable_safety_checker
output_format taunoa jpeg

Hōputu mō te atahanga kua whakanuia.

subject_detection taunoa All

Ka whakahaere me pēhea te kimi kaupapa ina whakarei atahanga ki Recovery V2, Wonder 3, Recovery rānei.

enhancement_strength

Te kaha whakarei whakanuinga whakaputa; ka whirihora aunoa mēnā kāore i whakaritea. Ko ngā tauira tautoko ko Wonder 3.5 me Wonder 3.

taunoa 0

Mana auahatanga whakarei kanohi, ka hohe anake ina whakahohea te whakarei kanohi: whakaritea ki te 1.0 mō te auahatanga mōrahi, ki te 0.0 rānei mō te kore.

taunoa 0.8

Mana kaha whakarei kanohi, ka hohe anake ina whakahohea te whakarei kanohi: whakaritea ki te 1.0 mō te whakarei mōrahi, ki te 0.0 rānei mō te kore.

Auahatanga whakanuinga whakaputa mai i te 1 ki te 6, e tautokona ana e Redefine anake. Mā te whakanui ka tāpiri taipitopito pohewa, pohewa-hē rānei.

Mana taipitopito kakano motuhake mō te whakanuinga whakaputa a Redefine, e whakaae ana ki ngā taumata 1 ki te 5.

Kaha whakakoi mai i 0.0 ki te 1.0, e tautokona ana e Redefine anake.

Kaha tango haruru mai i 0.0 ki te 1.0, e tautokona ana e Redefine anake.

Kaha whakaora taipitopito mai i 0.0 ki te 1.0, e tautokona ana e Recovery V2 anake.

POST /run/topaz/upscale/image/generative?wait=20 utu → $ 0.08
# 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/topaz/upscale/image/generative?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"

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ō Topaz Upscale Image Generative

Ka whakanui i tētahi atahanga mai i te 1x ki te 4x mā te kōwhiringa `model`, tae atu ki Wonder 3.5, Wonder 3, Recover 3, Redefine, Recovery V2. Kei te whakarei kanohi ōna retireti kaha me te auahatanga. Mā Redefine e tāpiri he `prompt` ki te 1024 pūāhua, me `creativity`, `texture`, `sharpen`, `denoise`. He pai mō ngā pūtake iti, pōhewa rānei.

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 atahanga pūtake mō te whakanuinga taumira.
modelkōwhiringa
Momoenum
TaunoaWonder 3
Wonder 3.5Wonder 3Wonder 2WonderRecover 3Standard MAXRedefineRecovery V2Recovery
Kōwhiringa tauira whakanuinga whakaputa: ka hanga anō a Recovery me Recovery V2 i ngā atahanga taumira-iti rawa; ka whakamahi a Redefine i ngā tohutohu hei ārahi i ngā taipitopito auaha; ka aro a Standard MAX ki te tika me te kounga teitei; ka hanga anō a Recover 3 i ngā taipitopito māori. I roto i te whānau Wonder, ko Wonder me Wonder 2 kei mua i Wonder 3, te tauira whakaputa tino matatau mō te whakaahua-tūturu; ko te putanga hou, Wonder 3.5, he taipitopito pai ake, he iti ake te tukurua tauira.
upscale_factorkōwhiringa
Momonumber
Taunoa2
1 – 4
Whakarea whakarahinga atahanga; hei tauira, mā 2.0 ka rearua ngā ahunga e rua.
crop_to_fillkōwhiringa
Momoboolean
Taunoafalse
output_formatkōwhiringa
Momoenum
Taunoajpeg
jpegpng
Hōputu mō te atahanga kua whakanuia.
subject_detectionkōwhiringa
Momoenum
TaunoaAll
AllForegroundBackground
Ka whakahaere me pēhea te kimi kaupapa ina whakarei atahanga ki Recovery V2, Wonder 3, Recovery rānei.
face_enhancementkōwhiringa
Momoboolean
Taunoatrue
Whakakā whakarei kanohi mō te atahanga.
face_enhancement_creativitykōwhiringa
Momonumber
Taunoa0
0 – 1
Mana auahatanga whakarei kanohi, ka hohe anake ina whakahohea te whakarei kanohi: whakaritea ki te 1.0 mō te auahatanga mōrahi, ki te 0.0 rānei mō te kore.
face_enhancement_strengthkōwhiringa
Momonumber
Taunoa0.8
0 – 1
Mana kaha whakarei kanohi, ka hohe anake ina whakahohea te whakarei kanohi: whakaritea ki te 1.0 mō te whakarei mōrahi, ki te 0.0 rānei mō te kore.
enhancement_strengthkōwhiringa
Momoenum
lowmediumhigh
Te kaha whakarei whakanuinga whakaputa; ka whirihora aunoa mēnā kāore i whakaritea. Ko ngā tauira tautoko ko Wonder 3.5 me Wonder 3.
creativitykōwhiringa
Momointeger | null
1 – 6
Auahatanga whakanuinga whakaputa mai i te 1 ki te 6, e tautokona ana e Redefine anake. Mā te whakanui ka tāpiri taipitopito pohewa, pohewa-hē rānei.
texturekōwhiringa
Momointeger | null
1 – 5
Mana taipitopito kakano motuhake mō te whakanuinga whakaputa a Redefine, e whakaae ana ki ngā taumata 1 ki te 5.
promptkōwhiringa
Momostring | null
≤ 1,024 pūāhua
Kuputuhi aratohu mō te whakanuinga whakaputa, ka herea ki te 1024 pūāhua, ā, e tautokona ana e Redefine anake.
autopromptkōwhiringa
Momoboolean | null
Whakakā whakaputa tohutohu aunoa, e wātea ana mō te whakanuinga whakaputa a Redefine anake.
sharpenkōwhiringa
Momonumber | null
0 – 1
Kaha whakakoi mai i 0.0 ki te 1.0, e tautokona ana e Redefine anake.
denoisekōwhiringa
Momonumber | null
0 – 1
Kaha tango haruru mai i 0.0 ki te 1.0, e tautokona ana e Redefine anake.
detailkōwhiringa
Momonumber | null
0 – 1
Kaha whakaora taipitopito mai i 0.0 ki te 1.0, e tautokona ana e Recovery V2 anake.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Ka taea te whakangāwari i te tātari mā te tautuhi false, mēnā he mana tō te kaiwhakatuwhera.
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": "topaz/upscale/image/generative",
  "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": 80,
    "usd": "0.08",
    "charged": 80,
    "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
    }
  },
  "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"
  }
}
Ō 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}Te atahanga i whakaputaina mā te whakarahi.

Ētahi atu tauira: Whakakaha Kounga

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