Skip to content

Chrono Edit Lora Gallery · Paintbrush

Integrate

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

This request: $0.02 20 API credits Run it on this page

Get API key
NVIDIA Image Editing up to 720p #paint#edit#sketch

Sketch-guided image edit where painted regions are transformed according to the prompt

NVIDIA · Image

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required

Description of the changes to apply to sketched areas.

•required image_url
Drop a file, or

Image supplied for editing.

resolution default 480p

Resolution for the resulting image.

Advanced mask · output_format · num_inference_steps · guidance_scale · lora_scale · seed · enable_safety_checker · turbo_mode · loras
mask_url
Drop a file, or

Optional image mask whose black regions mark where to sketch or paint.

output_format default png

File format for the resulting image.

default 8

Total count of denoising iterations to perform.

default 1

Strength of classifier-free guidance.

default 1

Scaling multiplier applied to the LoRA adapter.

Seed used during inference.

default []

Optional set of extra LoRAs to merge, limited to 3.

POST /run/chrono-edit-lora-gallery/paintbrush?wait=20 quote → $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"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Chrono Edit Lora Gallery · Paintbrush

Edits an image by transforming areas you have sketched on it, following the `prompt`. An optional `mask_url` marks the regions to paint, with black areas indicating where. `lora_scale` runs from 0 to 2, resolution is 480p or 720p, and output defaults to png. Up to 3 extra LoRAs can be merged through `loras`.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
image_urlrequired image
Typeurl · image
Image supplied for editing.
mask_urloptional mask
Typeurl · image
Optional image mask whose black regions mark where to sketch or paint.
promptrequired
Typestring
Description of the changes to apply to sketched areas.
num_inference_stepsoptional
Typeinteger
Default8
2 – 50
Total count of denoising iterations to perform.
guidance_scaleoptional
Typenumber
Default1
0 – 10
Strength of classifier-free guidance.
resolutionoptional
Typeenum
Default480p
480p720p
Resolution for the resulting image.
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Safety-checking switch whose off setting is honored only for authorized accounts. All requests without that authorization undergo safety checks.
lora_scaleoptional
Typenumber
Default1
0 – 2
Scaling multiplier applied to the LoRA adapter.
seedoptional
Typeinteger | null
Seed used during inference.
output_formatoptional
Typeenum
Defaultpng
jpegpngwebp
File format for the resulting image.
turbo_modeoptional
Typeboolean
Defaulttrue
Turbo mode toggle for faster inference.
lorasoptional
Typeobject[]
Default[]
Optional set of extra LoRAs to merge, limited to 3.
loras[].pathrequired
Typestring
Location of the LoRA weights in Safetensors format, specified as a URL or path.
loras[].scaleoptional
Typenumber
Default1
0 – 4
Scaling multiplier that sets the LoRA strength.
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

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"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
images
array of object {url, content_type, file_name, file_size, width, height}Image resulting from the edit.
prompt
stringPrompt supplied to the inference process.
seed
integerSeed used during inference.

More models: Image Editing

For AI agents: this page as Markdown is at https://doitong.com/developers/models/chrono-edit-lora-gallery/paintbrush.md. All models and guides: https://doitong.com/developers/llms.txt