Op den Inhalt sprangen

Chrono Edit Lora Gallery · Paintbrush

Integréieren

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

Dës Ufro: 0,02 $ 20 API-Kreditter Op dëser Säit ausféieren

API-Schlëssel kréien
NVIDIA Bildbearbechtung bis zu 720p #paint#edit#sketch

Skizzgeleet Bildeditéierung, bei där gemoolte Regioune nom Prompt transforméiert ginn

NVIDIA · Bild

Äin éischt Resultat kënnt hei hin

Baut hei drënner eng Ufro a féiert se mat Ärem API-Schlëssel aus. Output gëtt an eis Späicherung kopéiert, fir ëmmer oder 7 Deeg gratis gespäichert.

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

•obligatoresch

Beschreiwung vun den Ännerungen, déi op skizzéiert Beräicher applizéiert solle ginn.

•obligatoresch image_url
Fichier erofzéien, oder

Bild, dat fir d'Editéierung geliwwert gouf.

resolution Standard 480p

Opléisung vum resultéierende Bild.

Erweidert mask · output_format · num_inference_steps · guidance_scale · lora_scale · seed · enable_safety_checker · turbo_mode · loras
mask_url
Fichier erofzéien, oder

Optional Bildmask, där hir schwaarz Beräicher uginn, wou skizzéiert oder gemoolt soll ginn.

output_format Standard png

Dateiformat vum resultéierende Bild.

Standard 8

Gesamtzuel vun den Entnoise-Iteratiounen, déi ausgefouert solle ginn.

Standard 1

Stäerkt vun der classifier-free Guidance.

Standard 1

Skaléierungsmultiplikator, deen op de LoRA-Adapter applizéiert gëtt.

Seed, deen bei der Inferenz benotzt gëtt.

Standard []

Optional Sammlung vun zousätzleche LoRAs fir zesummenzeféieren, limitéiert op 3.

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

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Iwwer Chrono Edit Lora Gallery · Paintbrush

Editéiert e Bild, andeems Beräicher transforméiert ginn, déi dir drop skizzéiert hutt, no dem `prompt`. En optionalen `mask_url` markéiert d'Regiounen, déi gemoolt solle ginn, mat schwaarze Beräicher als Markéierung. `lora_scale` geet vun 0 bis 2, d'Resolutioun ass 480p oder 720p, an d'Ausgab ass standardméisseg png. Bis zu 3 extra LoRAs kënnen iwwer `loras` fusionéiert ginn.

Parameteren

Schéck entweder den kanoneschen Numm oder den natierlechen Numm, net béid. Kanonesch Nimm

NummTyp StandardErlaabt Beschreiwung
image_urlobligatoresch image
Typurl · image
Bild, dat fir d'Editéierung geliwwert gouf.
mask_urloptional mask
Typurl · image
Optional Bildmask, där hir schwaarz Beräicher uginn, wou skizzéiert oder gemoolt soll ginn.
promptobligatoresch
Typstring
Beschreiwung vun den Ännerungen, déi op skizzéiert Beräicher applizéiert solle ginn.
num_inference_stepsoptional
Typinteger
Standard8
2 – 50
Gesamtzuel vun den Entnoise-Iteratiounen, déi ausgefouert solle ginn.
guidance_scaleoptional
Typnumber
Standard1
0 – 10
Stäerkt vun der classifier-free Guidance.
resolutionoptional
Typenum
Standard480p
480p720p
Opléisung vum resultéierende Bild.
enable_safety_checkeroptional
Typboolean
Standardtrue
Schalter fir d'Sécherheetskontroll, deem seng ausgeschalt Astellung nëmme fir autoriséiert Konten respektéiert gëtt. All Ufro ouni dës Autorisatioun gëtt enger Sécherheetskontroll ënnerzunn.
lora_scaleoptional
Typnumber
Standard1
0 – 2
Skaléierungsmultiplikator, deen op de LoRA-Adapter applizéiert gëtt.
seedoptional
Typinteger | null
Seed, deen bei der Inferenz benotzt gëtt.
output_formatoptional
Typenum
Standardpng
jpegpngwebp
Dateiformat vum resultéierende Bild.
turbo_modeoptional
Typboolean
Standardtrue
Schalter fir den Turbo-Modus, fir d'Inferenz ze beschleunegen.
lorasoptional
Typobject[]
Standard[]
Optional Sammlung vun zousätzleche LoRAs fir zesummenzeféieren, limitéiert op 3.
loras[].pathobligatoresch
Typstring
Plaz vun de LoRA-Gewiichter am Safetensors-Format, uginn als URL oder Pad.
loras[].scaleoptional
Typnumber
Standard1
0 – 4
Skaléierungsmultiplikator, deen d'Stäerkt vun der LoRA festleet.
obligatoresch Kanoneschen Numm, och akzeptéiert

Fichierparameter akzeptéieren eng ëffentlech https:// URL, eng data: URI bis zu 10 MB oder de file_url vun engem Upload. Fichieren

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"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
images
array of object {url, content_type, file_name, file_size, width, height}Bild, dat aus der Editing entsteet.
prompt
stringPrompt, deen dem Inferenzprozess geliwwert gëtt.
seed
integerSeed, deen bei der Inferenz benotzt gëtt.

Méi Modeller: Bildbearbechtung

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/chrono-edit-lora-gallery/paintbrush.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt