Saltar al cuntegna

Chrono Edit Lora Gallery · Paintbrush

Integrar

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

Questa dumonda: $0,02 20 credits API Lantschar sin questa pagina

Obtegna ina clav API
NVIDIA Modificaziun da maletgs fin a 720p #paint#edit#sketch

Elavuraziun da maletgs guidada da skizzas, nua che regiuns malegiadas vegnan transfurmadas tenor il prompt

NVIDIA · Maletg

Tes emprim resultat vegn qua

Construis ina dumonda sutvart e l'exequescha cun tia clav API. Outputs vegnan copiads en nossa memorisaziun, conservads per adina u 7 dis gratuitamain.

Construir ina dumonda

Ils controls vegnan generads dal schema dal model. Il code e ​​il pretsch s'actualiseschan durant che ti als midas.

•obligatori

Descripziun da las midadas d'applitgar a las regiuns schizzadas.

•obligatori image_url
Trametta in datoteca u

Maletg furnì per l'ediziun.

resolution standard 480p

Resoluziun dal maletg resultà.

Avanzà mask · output_format · num_inference_steps · guidance_scale · lora_scale · seed · enable_safety_checker · turbo_mode · loras
mask_url
Trametta in datoteca u

Mascrina da maletg opziunala, da la qual las regiuns nairas inditgan nua schizziar u malegiar.

output_format standard png

Format da datoteca dal maletg resultà.

standard 8

Dumber total d'iteraziuns da denoisaziun da far.

standard 1

Furma da la guida senza classificatur.

standard 1

Multiplicatur da scalaziun applitgà a l'adapter LoRA.

Seed utilisà durant l'inferenza.

standard []

Set opziunal da LoRAs supplementars da fusiunar, limità a 3.

POST /run/chrono-edit-lora-gallery/paintbrush?wait=20 calculaziun → $0,02
# 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/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Executar questa dumonda

Tia clav resta en quest browser: ella vegn tramessa mo al Doitong API e memorisada (localStorage) mo sch'ella scheccas Tiar a memoria. Obtegnair ina clav API

Davart Chrono Edit Lora Gallery · Paintbrush

Modifitgescha in maletg transfurmond las parts che ti has skizzà sin el, tenor il `prompt`. In `mask_url` opziunal marca las regiuns da malegiar, cun surfatschas nairas che inditgeschan nua. `lora_scale` va da 0 fin a 2, la resoluziun è 480p u 720p, e l’output è png tenor standard. Fin a 3 LoRAs supplementaras pon vegnir cumbinadas via `loras`.

Parameters

Invia u il num canonic u il num nativ, betg omaduas. Nums canonics

NumTip StandardPermess Descripziun
image_urlobligatori image
Tipurl · image
Maletg furnì per l'ediziun.
mask_urlopziunal mask
Tipurl · image
Mascrina da maletg opziunala, da la qual las regiuns nairas inditgan nua schizziar u malegiar.
promptobligatori
Tipstring
Descripziun da las midadas d'applitgar a las regiuns schizzadas.
num_inference_stepsopziunal
Tipinteger
Standard8
2 – 50
Dumber total d'iteraziuns da denoisaziun da far.
guidance_scaleopziunal
Tipnumber
Standard1
0 – 10
Furma da la guida senza classificatur.
resolutionopziunal
Tipenum
Standard480p
480p720p
Resoluziun dal maletg resultà.
enable_safety_checkeropziunal
Tipboolean
Standardtrue
Interrupter da la verificaziun da segirezza, dal qual la configuraziun deactivada vegn respectada mo per contos autorisads. Tut las dumondas senza questa autorisaziun vegnan suttamessas a verificaziuns da segirezza.
lora_scaleopziunal
Tipnumber
Standard1
0 – 2
Multiplicatur da scalaziun applitgà a l'adapter LoRA.
seedopziunal
Tipinteger | null
Seed utilisà durant l'inferenza.
output_formatopziunal
Tipenum
Standardpng
jpegpngwebp
Format da datoteca dal maletg resultà.
turbo_modeopziunal
Tipboolean
Standardtrue
Interrupter dal modus Turbo per in'inferenza pli svelta.
lorasopziunal
Tipobject[]
Standard[]
Set opziunal da LoRAs supplementars da fusiunar, limità a 3.
loras[].pathobligatori
Tipstring
Lieu dals pais da LoRA en il format Safetensors, specificà sco URL u percurs.
loras[].scaleopziunal
Tipnumber
Standard1
0 – 4
Multiplicatur da scalaziun che fixescha la fermezza da LoRA.
obligatori Num canonic, er acceptà

Ils parameters da datotecas acceptan ina URL publica https://, ina URI data: fin a 10 MB u il file_url d'ina chargiada. Datotecas

Output

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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tias datotecas, tia decisiunMintga outputs[].url è ina copia en nossa memorisaziun: conservada per adina (pajà per GB-mes) u 7 dis gratuitamain, tenor la configuraziun dal conto u ?storage=.
La medema structura per mintga modeltype, url, content_type, width, height e duration, tant per maletgs sco per video e audio. output è l'object da resultat dal model sez.
Champs da l'output
images
array of object {url, content_type, file_name, file_size, width, height}Maletg resultant da l'editaziun.
prompt
stringPrompt furnì al process d'inferenza.
seed
integerSeed utilisà durant l'inferenza.

Dapli models: Modificaziun da maletgs

Per agents AI: questa pagina sco Markdown è disponibla sut https://doitong.com/rm/developers/models/chrono-edit-lora-gallery/paintbrush.md. Tut ils models e las guidas: https://doitong.com/developers/llms.txt