Мазмұнға өту

Chrono Edit Lora Gallery · Paintbrush

Интеграциялау

Модель идентификаторы 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"

Осы сұрау: 0,02 $ 20 API кредиті · ≈ 2,15 ₽ Осы бетте іске қосу

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 адаптеріне қолданылатын масштабтау көбейткіші.

Инференс кезінде қолданылатын seed.

әдепкі []

Біріктірілетін қосымша LoRA жиыны, саны 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.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"

Осы сұрауды іске қосу

Кілтіңіз осы браузерде қалады: ол тек Doitong API-ге жіберіледі және Remember параметрін белгілеcеңіз ғана localStorage ішінде сақталады. API кілтін алу

Chrono Edit Lora Gallery · Paintbrush туралы

Кескіндегі нобаймен белгіленген аймақтарды `prompt` нұсқауына сәйкес түрлендіреді. Қосымша `mask_url` боялатын аймақтарды белгілейді, қара аймақтар сол орындарды көрсетеді. `lora_scale` 0-ден 2-ге дейін, ажыратымдылығы 480p немесе 720p, әдепкі шығысы png. `loras` арқылы 3 қосымша LoRA-ға дейін біріктіруге болады.

Параметрлер

Канондық атауды немесе төл атауды жіберіңіз, екеуін қатар жібермеңіз. Канондық атаулар

АтауыТүрі ӘдепкіРұқсат етілген Сипаттама
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
Инференс кезінде қолданылатын seed.
output_formatміндетті емес
Түріenum
Әдепкіpng
jpegpngwebp
Нәтиже кескінінің файл пішімі.
turbo_modeміндетті емес
Түріboolean
Әдепкіtrue
Жылдамырақ инференске арналған Turbo режимінің қосқышы.
lorasміндетті емес
Түріobject[]
Әдепкі[]
Біріктірілетін қосымша LoRA жиыны, саны 3-пен шектелген.
loras[].pathміндетті
Түріstring
Safetensors пішіміндегі LoRA салмақтарының URL немесе жол ретінде көрсетілген орналасуы.
loras[].scaleміндетті емес
Түріnumber
Әдепкі1
0 – 4
LoRA күшін орнататын масштабтау көбейткіші.
міндетті Канондық атау, бұл да қабылданады

Файл параметрлері жалпыға қолжетімді https:// URL мекенжайын, 10 MB-қа дейінгі data: URI мекенжайын немесе жүктеп салынған файлдың 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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Файлдарыңыз — таңдауыңызӘр outputs[].url — сақтау орнымыздағы көшірме: мәңгі (әр GB-ай үшін ақылы) немесе аккаунт параметрі не ?storage= арқылы 7 күн тегін сақталады.
Әр модельдегі пішім бірдей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Инференс кезінде қолданылатын seed.

Қосымша модельдер: Кескінді өңдеу

AI агенттеріне: бұл беттің Markdown нұсқасы мына жерде: https://doitong.com/kk/developers/models/chrono-edit-lora-gallery/paintbrush.md. Барлық модельдер мен нұсқаулықтар: https://doitong.com/developers/llms.txt