Peke ki ngā ihirangi

Creative Upscaler

Whakauru

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

Tae atu ki te $ 1.125 mō ia whakahaerenga ka utua mō te whakamahinga tūturu, ka whakahokia te toenga Whakahaerehia ki tēnei whārangi

Tikina he kī API
Open model Whakakaha Kounga #upscaling

He kaiwhakatauine auaha e hāngai ana ki te diffusion, ka tāpiri taipitopito, me te pūtake SD 1.5, SDXL rānei, me te mana āhua

Open model · 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.

Tohutohu whakaputanga atahanga, ka waihangatia e BLIP2 ina waiho e koe. Ina tuku i tāu ake, whakaurua ngā taipitopito whakaahua e taea ana mō ngā putanga pai.

•e hiahiatia ana image_url
Whakataka he kōnae,

Atahanga pūtake mō te whakarahinga taumira.

Arā atu prompt_suffix · negative_prompt · model_type · base_model_url · additional_lora_url · additional_embedding_url · scale · creativity · detail · shape_preservation · guidance_scale · num_inference_steps · additional_lora_scale · seed · enable_safety_checks · skip_ccsr · override_size_limits
taunoa high quality, highly...

Mutunga tohutohu tiritahi hei tāpiri tohu embedding, kupu pēnei i 'high quality' rānei ki ngā tohutohu katoa.

taunoa blurry, low resolutio...

Tohutohu tōraro e tohu ana i ngā taipitopito atahanga kāore e hiahiatia ana. Ka taea te aukati i ngā tae, ngā mea, te whenua, ngā āhuatanga iti me ngā kounga, pērā i te ngutu tāne, te pōuri, te taumira iti rānei.

model_type taunoa SD_1_5

Momo tauira ka whakamahia mō te whakarahinga taumira; ko SD_1_5 te taunoa.

URL tauira pūtake mō te whakarahinga taumira.

Tauwhāitihia he LORA tāpiri mō te whakarahinga taumira mā te tuku i tōna URL tauira. Ki te kore he uara, ko None te taunoa.

Tukuna ngā embedding tāpiri mō te whakarahinga taumira mā te tohu ki aua mea me tētahi URL. Ki te kore he uara, ko None te taunoa.

taunoa 2

Whakapikihia tēnei tauwehe tauine kia nui ake ai te atahanga putanga.

taunoa 0.5

Te taumata wehe atu e whakaaetia ana mai i te mea taketake.

taunoa 1

Te nui o ngā taipitopito tāpiri.

taunoa 0.25

Te taumata e pupuritia ai te āhua o te atahanga pūtake.

taunoa 7.5

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

taunoa 20

Te tatau hīkoi whakatau mō te whakaputanga atahanga, ā, ka pai ake te kounga ina nui ake te tatau, engari ka roa ake te wā whakaputa.

taunoa 1

Whakaritea te kaha o te pānga a te LORA tāpiri ki te whakarahinga taumira mā tōna tautuhinga tauine, ko 1.0 te taunoa.

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/creative-upscaler?wait=20 utu → $ 1.125
# 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/creative-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"

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ō Creative Upscaler

Ka whakanuia tētahi atahanga mai i `image_url` mā `scale` 1 ki te 5, me te whakaputa taipitopito hou. Ko `model_type` he SD_1_5, he SDXL rānei, ā, mā `creativity` me `detail` e whakarite te nui o te whakarerekē, mā `shape_preservation` e pupuri te hanganga taketake. Ki te kore he `prompt`, ka waihangatia aunoatia tētahi. Ka tautokona ngā URL tauira taketake, LoRA me te whakaurunga ritenga.

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
model_typekōwhiringa
Momoenum
TaunoaSD_1_5
SD_1_5SDXL
Momo tauira ka whakamahia mō te whakarahinga taumira; ko SD_1_5 te taunoa.
image_urle hiahiatia ana image
Momourl · image
Atahanga pūtake mō te whakarahinga taumira.
promptkōwhiringa
Momostring | null
Tohutohu whakaputanga atahanga, ka waihangatia e BLIP2 ina waiho e koe. Ina tuku i tāu ake, whakaurua ngā taipitopito whakaahua e taea ana mō ngā putanga pai.
scalekōwhiringa
Momonumber
Taunoa2
1 – 5
Whakapikihia tēnei tauwehe tauine kia nui ake ai te atahanga putanga.
creativitykōwhiringa
Momonumber
Taunoa0.5
0 – 1
Te taumata wehe atu e whakaaetia ana mai i te mea taketake.
detailkōwhiringa
Momonumber
Taunoa1
0 – 5
Te nui o ngā taipitopito tāpiri.
shape_preservationkōwhiringa
Momonumber
Taunoa0.25
0 – 3
Te taumata e pupuritia ai te āhua o te atahanga pūtake.
prompt_suffixkōwhiringa
Momostring
Taunoa high quality, highly detailed, high resolution, sharp
Mutunga tohutohu tiritahi hei tāpiri tohu embedding, kupu pēnei i 'high quality' rānei ki ngā tohutohu katoa.
negative_promptkōwhiringa
Momostring
Taunoablurry, low resolution, bad, ugly, low quality, pixelated, interpolated, compression artifacts, noisey, grainy
Tohutohu tōraro e tohu ana i ngā taipitopito atahanga kāore e hiahiatia ana. Ka taea te aukati i ngā tae, ngā mea, te whenua, ngā āhuatanga iti me ngā kounga, pērā i te ngutu tāne, te pōuri, te taumira iti rānei.
seedkōwhiringa
Momointeger | null
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ē.
guidance_scalekōwhiringa
Momonumber
Taunoa7.5
0 – 16
Te kaha ū ki te tohutohu mō te kōwhiringa atahanga, kua whakaaturia hei CFG (Classifier Free Guidance).
num_inference_stepskōwhiringa
Momointeger
Taunoa20
1 – 200
Te tatau hīkoi whakatau mō te whakaputanga atahanga, ā, ka pai ake te kounga ina nui ake te tatau, engari ka roa ake te wā whakaputa.
enable_safety_checkskōwhiringa
Momoboolean
Taunoatrue
Kōwhiringa tirotiro haumaru, ina true ka whakakapi i te putanga ki tētahi atahanga pango mēnā ka kitea he ihirangi kāore pea i te haumaru.
skip_ccsrkōwhiringa
Momoboolean
Taunoafalse
Karohia te tukatuka CCSR ina whakahohea; ka haere tika te atahanga ki te tauira auahatanga.
override_size_limitskōwhiringa
Momoboolean
Taunoafalse
Whakaaetanga mō ngā tuku nui ka tino roa pea te wā.
base_model_urlkōwhiringa
Momostring | null
URL tauira pūtake mō te whakarahinga taumira.
additional_lora_urlkōwhiringa
Momostring
Tauwhāitihia he LORA tāpiri mō te whakarahinga taumira mā te tuku i tōna URL tauira. Ki te kore he uara, ko None te taunoa.
additional_lora_scalekōwhiringa
Momonumber
Taunoa1
Whakaritea te kaha o te pānga a te LORA tāpiri ki te whakarahinga taumira mā tōna tautuhinga tauine, ko 1.0 te taunoa.
additional_embedding_urlkōwhiringa
Momostring
Tukuna ngā embedding tāpiri mō te whakarahinga taumira mā te tohu ki aua mea me tētahi URL. Ki te kore he uara, ko None te taunoa.
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": "creative-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": 1125,
    "usd": "1.125",
    "charged": 1125,
    "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
  },
  "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, width, height}Pārongo kōnae mō te atahanga kua whakaputaina.
seed
integerKākano whakaputa atahanga, tae atu ki te uara i kōwhiria matapōkeretia mēnā kāore i tukuna he kākano ki te tāuru; ki te kore, ka tukurua te uara i tukuna.

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