שפּרינגען צו אינהאַלט

Chrono Edit Lora Gallery · Paintbrush

אינטעגרירן

מאָדעל־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"

דער דאָזיקער ריקוועסט: ⁨$ 0.02⁩ 20 API־קרעדיטן לויפֿן עס אויף דער דאָזיקער בלאַט

באַקומען אַן API שליסל
NVIDIA בילד־עדיטירונג ביז 720p #paint#edit#sketch

סקיצע־געפירטער בילד־עדיט, וווּ געמאָלענע געגנטן ווערן פארוואנדלט לויט דעם פּינטלעך

NVIDIA · בילד

דאָ קומט אײַער ערשטער רעזולטאַט

בויט אונטן אַ בקשה און לויפט זי מיט אײַער API שליסל. רעזולטאַטן ווערן קאַפּירט צו אונדזער סטאָרידזש, געהאַלטן אויף אייביק אָדער 7 טעג אומזיסט.

בויען אַ בעטן

קאָנטראָלן ווערן דזשענערירט פֿון דעם מאָדעל־סכעמע. דער קאָד און דער פּרײַז דערהײַנטיקן זיך ווען איר ענדערט זיי.

•פארלאנגט

באַשרײַבונג פֿון די ענדערונגען וואָס מען זאָל אָנווענדן אויף די סקיצירטע געגנטן.

•פארלאנגט image_url
לייגט אַרײַן אַ טעקע, אָדער

בילד צוגעשטעלט פֿאַר עדיטירונג.

resolution סטאַנדאַרט 480p

רעזאָלוציע פֿאַר דעם רעזולטירנדיקן בילד.

פֿאָרגעשריטן mask · output_format · num_inference_steps · guidance_scale · lora_scale · seed · enable_safety_checker · turbo_mode · loras
mask_url
לייגט אַרײַן אַ טעקע, אָדער

אַפּשאַנאַלע בילד־מאַסקע וועמענס שוואַרצע געגנטן צייכענען וווּ מען זאָל סקיצירן אָדער מאָלן.

output_format סטאַנדאַרט png

פֿאָרמאַט פֿון דעם רעזולטירנדיקן בילד.

סטאַנדאַרט 8

גאַנצע צאָל דענאָיזינג־איטעראַציעס וואָס מען זאָל דורכפֿירן.

סטאַנדאַרט 1

שטאַרקייט פֿון classifier-free guidance.

סטאַנדאַרט 1

סקאַליר־מולטיפּליקאַטאָר אָנגעווענדט אויפֿן LoRA־אַדאַפּטער.

זוימען גענוצט בעת אינפֿערענץ.

סטאַנדאַרט []

אַפּשאַנאַלע זאַמלונג פֿון נאָך־LoRAs צו צונויפֿמישן, באַגרענעצט צו 3.

POST /run/chrono-edit-lora-gallery/paintbrush?wait=20 פּרײַז → ⁨$ 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"

לויפֿן דעם ריקוועסט

אײַער key בלײַבט אין דעם בלעטערער: זי ווערט געשיקט נאָר צום Doitong API און אָפּגעהיט (localStorage) נאָר אויב איר טיקט אָן געדענקען. באַקומען אַן API שליסל

וועגן Chrono Edit Lora Gallery · Paintbrush

עדיטירט אַ בילד דורך פארוואנדלען די געגנטן וואָס איר האָט דערויף געסקיצירט, לויט דעם `prompt`. אַן אָפּציאָנעלער `mask_url` צייכנט די געגנטן צו מאָלן, מיט שוואַרצע געביטן וואָס ווײַזן וווּ. `lora_scale` לויפט פֿון 0 ביז 2, די רעזאָלוציע איז 480p אָדער 720p, און דער רעזולטאַט איז דורך פעליקייט png. ביז 3 נאָך LoRAs קענען ווערן צונויפגעמישט דורך `loras`.

פּאַראַמעטערס

שיקט אָדער דעם קאַנאָנישן נאָמען אָדער דעם נאַטיוון נאָמען, נישט ביידע. קאַנאָנישע נעמען

נאָמעןטיפּ סטאַנדאַרטערלויבט באַשרײַבונג
image_urlפארלאנגט image
טיפּurl · image
בילד צוגעשטעלט פֿאַר עדיטירונג.
mask_urlאָפּציאָנעל mask
טיפּurl · image
אַפּשאַנאַלע בילד־מאַסקע וועמענס שוואַרצע געגנטן צייכענען וווּ מען זאָל סקיצירן אָדער מאָלן.
promptפארלאנגט
טיפּstring
באַשרײַבונג פֿון די ענדערונגען וואָס מען זאָל אָנווענדן אויף די סקיצירטע געגנטן.
num_inference_stepsאָפּציאָנעל
טיפּinteger
סטאַנדאַרט8
2 – 50
גאַנצע צאָל דענאָיזינג־איטעראַציעס וואָס מען זאָל דורכפֿירן.
guidance_scaleאָפּציאָנעל
טיפּnumber
סטאַנדאַרט1
0 – 10
שטאַרקייט פֿון classifier-free guidance.
resolutionאָפּציאָנעל
טיפּenum
סטאַנדאַרט480p
480p720p
רעזאָלוציע פֿאַר דעם רעזולטירנדיקן בילד.
enable_safety_checkerאָפּציאָנעל
טיפּboolean
סטאַנדאַרטtrue
זיכערקייט־קאָנטראָל־שאַלטער וועמענס אויסגעשאַלטענע באַשטעטיקונג ווערט מכובד נאָר פֿאַר אָטעריזירטע אַקאַונטן. אַלע בקשות אָן דער אָטעריזאַציע דורכגיין זיכערקייט־קאָנטראָלן.
lora_scaleאָפּציאָנעל
טיפּnumber
סטאַנדאַרט1
0 – 2
סקאַליר־מולטיפּליקאַטאָר אָנגעווענדט אויפֿן LoRA־אַדאַפּטער.
seedאָפּציאָנעל
טיפּinteger | null
זוימען גענוצט בעת אינפֿערענץ.
output_formatאָפּציאָנעל
טיפּenum
סטאַנדאַרטpng
jpegpngwebp
פֿאָרמאַט פֿון דעם רעזולטירנדיקן בילד.
turbo_modeאָפּציאָנעל
טיפּboolean
סטאַנדאַרטtrue
טורבאָ־מאָדוס־שאַלטער פֿאַר שנעלער אינפֿערענץ.
lorasאָפּציאָנעל
טיפּobject[]
סטאַנדאַרט[]
אַפּשאַנאַלע זאַמלונג פֿון נאָך־LoRAs צו צונויפֿמישן, באַגרענעצט צו 3.
loras[].pathפארלאנגט
טיפּstring
אָרט פֿון די LoRA־וואָגען אין Safetensors פֿאָרמאַט, ספּעציפֿיצירט ווי אַ URL אָדער פּאַט.
loras[].scaleאָפּציאָנעל
טיפּnumber
סטאַנדאַרט1
0 – 4
סקאַליר־מולטיפּליקאַטאָר וואָס באַשטימט די שטאַרקייט פֿון LoRA.
פארלאנגט קאַנאָנישער נאָמען, אויך אַקצעפּטירט

טעקע־פּאַראַמעטערס נעמען אַן עפֿנטלעכע https:// URL, אַ data: URI ביז 10 MB, אָדער דעם file_url פֿון אַן אַרויפֿלאָד. טעקעס

אויסגאַבע

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"
  }
}
אייער טעקעס, אייער ברירהיעדער outputs[].url איז אַ קאַפּיע אין אונדזער סטאָרידזש: געהאַלטן אויף אייביק (באַצאָלט פּער GB־חודש) אָדער 7 טעג אומזיסט, לויט אײַער חשבון־באַשטעטיקונג אָדער ?storage=.
דער זעלבער פֿאָרעם בײַ יעדן מאָדעלtype, url, content_type, width, height און duration, סײַ פֿאַר בילדער, ווידעאָ און אַודיאָ. output איז דער אייגענער רעזולטאַט־אָביעקט פֿון מאָדעל.
פֿעלדער פֿון דער אויסגאַבע
images
array of object {url, content_type, file_name, file_size, width, height}בילד וואָס איז דער רעזולטאַט פֿון דער עדיטירונג.
prompt
stringפּראָמפּט צוגעשטעלט צום אינפֿערענץ־פּראָצעס.
seed
integerזוימען גענוצט בעת אינפֿערענץ.

מער מאָדעלן: בילד־עדיטירונג

פֿאַר AI־אַגענטן: דער בלאַט ווי Markdown געפֿינט זיך בײַ https://doitong.com/yi/developers/models/chrono-edit-lora-gallery/paintbrush.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt