Neidio i'r cynnwys

Chrono Edit Lora Gallery · Paintbrush

Integreiddio

ID y model chrono-edit-lora-gallery/paintbrush
# 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/chrono-edit-lora-gallery/paintbrush?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",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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"

Y cais hwn: $0.02 20 o gredydau API · ≈ ₽2.15 Ei redeg ar y dudalen hon

Cael allwedd API
NVIDIA Golygu Delweddau hyd at 720p #paint#edit#sketch

Golygu delwedd dan arweiniad braslun lle caiff rhanbarthau wedi'u paentio eu trawsnewid yn ôl yr anogwr

NVIDIA · Delwedd

Mae eich canlyniad cyntaf yn mynd yma

Adeiladwch gais isod a'i redeg gyda'ch allwedd API. Mae allbynnau'n cael eu copïo i'n storio, wedi'u cadw am byth neu am 7 diwrnod am ddim.

Adeiladu cais

Cynhyrchir rheolyddion o sgema'r model. Mae'r cod a'r pris yn diweddaru wrth i chi eu newid.

•gofynnol

Disgrifiad o'r newidiadau i'w cymhwyso i'r ardaloedd brasluniedig.

•gofynnol image_url
Gollyngwch ffeil, neu

Delwedd a ddarperir ar gyfer golygu.

resolution rhagosodedig 480p

Cydraniad y ddelwedd ganlyniadol.

Uwch mask · output_format · num_inference_steps · guidance_scale · lora_scale · seed · enable_safety_checker · turbo_mode · loras
mask_url
Gollyngwch ffeil, neu

Mwgwd delwedd dewisol y mae ei ranbarthau du yn nodi ble i fraslunio neu baentio.

output_format rhagosodedig png

Fformat ffeil y ddelwedd ganlyniadol.

rhagosodedig 8

Cyfanswm yr iteriadau dad-sŵnio i'w cyflawni.

rhagosodedig 1

Cryfder arweiniad heb ddosbarthwr.

rhagosodedig 1

Lluosydd graddio a gymhwysir i addasydd y LoRA.

Hadau a ddefnyddir yn ystod casgliad.

rhagosodedig []

Set ddewisol o LoRAs ychwanegol i'w huno, wedi'i chyfyngu i 3.

POST /run/chrono-edit-lora-gallery/paintbrush?wait=20 dyfynbris → $0.02
# 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/chrono-edit-lora-gallery/paintbrush?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",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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"

Rhedeg y cais hwn

Mae'ch allwedd yn aros yn y porwr hwn: caiff ei hanfon at Doitong API yn unig a'i chadw (localStorage) dim ond os ticiwch Cofio. Cael allwedd API

Ynglŷn â Chrono Edit Lora Gallery · Paintbrush

Yn golygu delwedd drwy drawsnewid ardaloedd rydych wedi'u braslunio arni, gan ddilyn y `prompt`. Mae `mask_url` dewisol yn marcio'r rhanbarthau i'w paentio, gyda'r ardaloedd du yn nodi ble. Mae `lora_scale` yn rhedeg o 0 i 2, y cydraniad yw 480p neu 720p, a png yw'r rhagosodiad allbwn. Gellir cyfuno hyd at 3 LoRA ychwanegol drwy `loras`.

Paramedrau

Anfonwch naill ai'r enw canonaidd neu'r enw brodorol, nid y ddau. Enwau canonaidd

EnwMath RhagosodedigCaniateir Disgrifiad
image_urlgofynnol image
Mathurl · image
Delwedd a ddarperir ar gyfer golygu.
mask_urldewisol mask
Mathurl · image
Mwgwd delwedd dewisol y mae ei ranbarthau du yn nodi ble i fraslunio neu baentio.
promptgofynnol
Mathstring
Disgrifiad o'r newidiadau i'w cymhwyso i'r ardaloedd brasluniedig.
num_inference_stepsdewisol
Mathinteger
Rhagosodedig8
2 – 50
Cyfanswm yr iteriadau dad-sŵnio i'w cyflawni.
guidance_scaledewisol
Mathnumber
Rhagosodedig1
0 – 10
Cryfder arweiniad heb ddosbarthwr.
resolutiondewisol
Mathenum
Rhagosodedig480p
480p720p
Cydraniad y ddelwedd ganlyniadol.
enable_safety_checkerdewisol
Mathboolean
Rhagosodedigtrue
Switsh gwirio diogelwch y caiff ei osodiad diffodd ei barchu ar gyfer cyfrifon awdurdodedig yn unig. Mae pob cais heb yr awdurdodiad hwnnw yn cael gwiriadau diogelwch.
lora_scaledewisol
Mathnumber
Rhagosodedig1
0 – 2
Lluosydd graddio a gymhwysir i addasydd y LoRA.
seeddewisol
Mathinteger | null
Hadau a ddefnyddir yn ystod casgliad.
output_formatdewisol
Mathenum
Rhagosodedigpng
jpegpngwebp
Fformat ffeil y ddelwedd ganlyniadol.
turbo_modedewisol
Mathboolean
Rhagosodedigtrue
Switsh modd Turbo ar gyfer casgliad cyflymach.
lorasdewisol
Mathobject[]
Rhagosodedig[]
Set ddewisol o LoRAs ychwanegol i'w huno, wedi'i chyfyngu i 3.
loras[].pathgofynnol
Mathstring
Lleoliad pwysau'r LoRA yn fformat Safetensors, wedi'i nodi fel URL neu lwybr.
loras[].scaledewisol
Mathnumber
Rhagosodedig1
0 – 4
Lluosydd graddio sy'n gosod cryfder y LoRA.
gofynnol Enw canonaidd, derbyniol hefyd

Mae paramedrau ffeil yn derbyn URL cyhoeddus https://, URI data: hyd at 10 MB, neu file_url uwchlwythiad. Ffeiliau

Allbwn

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "chrono-edit-lora-gallery/paintbrush",
  "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": 20,
    "usd": "0.02",
    "charged": 20,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "images": [
      {
        "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
      }
    ],
    "prompt": "The user wants to add a surfer to the wave in the illustration while preserving the original ukiyo-e woodblock art style. The surfer should be depicted mid-action, crouched low on a modern-style surfboard, carving through the crest of the wave with one arm extended for balance and the other gripping the board. Their wavy hair and athletic physique should match the dynamic motion. The background must remain unchanged, including the iconic Mount Fuji and the traditional Japanese text, to maintain the artwork's historical aesthetic and composition.",
    "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Eich ffeiliau, eich dewisMae pob outputs[].url yn gopi ar ein storio: wedi'i gadw am byth (telir fesul GB-mis) neu am 7 diwrnod am ddim, yn ôl gosodiad eich cyfrif neu ?storage=.
Yr un siâp ar bob modeltype, url, content_type, width, height a duration, ar gyfer delweddau, fideo a sain fel ei gilydd. Gwrthrych canlyniad y model ei hun yw output.
Meysydd yr allbwn
images
array of object {url, content_type, file_name, file_size, width, height}Delwedd sy'n deillio o'r golygiad.
prompt
stringAnogiad a ddarperir i'r broses gasgliad.
seed
integerHadau a ddefnyddir yn ystod casgliad.

Mwy o fodelau: Golygu Delweddau

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/chrono-edit-lora-gallery/paintbrush.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt