ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

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.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

ਕਲਾਸੀਫ਼ਾਇਰ-ਫ਼ਰੀ ਗਾਈਡੈਂਸ ਦੀ ਤਾਕਤ।

ਡਿਫ਼ਾਲਟ 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.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"

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

ਤੁਹਾਡੀ key ਇਸ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਰਹਿੰਦੀ ਹੈ: ਇਹ ਸਿਰਫ਼ Doitong API ਨੂੰ ਭੇਜੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਸਿਰਫ਼ ਤਾਂ ਹੀ (localStorage) ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਹੁੰਦੀ ਹੈ ਜੇ ਤੁਸੀਂ Remember ਚੁਣੋ। API ਕੁੰਜੀ ਪ੍ਰਾਪਤ ਕਰੋ

Chrono Edit Lora Gallery · Paintbrush ਬਾਰੇ

ਤੁਹਾਡੇ ਵੱਲੋਂ ਤਸਵੀਰ 'ਤੇ ਸਕੈਚ ਕੀਤੇ ਖੇਤਰਾਂ ਨੂੰ `prompt` ਅਨੁਸਾਰ ਬਦਲ ਕੇ ਤਸਵੀਰ ਸੰਪਾਦਿਤ ਕਰਦਾ ਹੈ। ਵਿਕਲਪਿਕ `mask_url` ਪੇਂਟ ਕਰਨ ਵਾਲੇ ਖੇਤਰ ਦਰਸਾਉਂਦਾ ਹੈ, ਜਿੱਥੇ ਕਾਲੇ ਖੇਤਰ ਸਥਾਨ ਦਰਸਾਉਂਦੇ ਹਨ। `lora_scale` 0 ਤੋਂ 2 ਤੱਕ ਹੈ, ਰੈਜ਼ੋਲਿਊਸ਼ਨ 480p ਜਾਂ 720p ਹੈ, ਅਤੇ ਆਉਟਪੁੱਟ ਮੂਲ ਰੂਪ ਵਿੱਚ png ਹੈ। `loras` ਰਾਹੀਂ 3 ਤੱਕ ਵਾਧੂ 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
ਕਲਾਸੀਫ਼ਾਇਰ-ਫ਼ਰੀ ਗਾਈਡੈਂਸ ਦੀ ਤਾਕਤ।
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
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-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 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/pa/developers/models/chrono-edit-lora-gallery/paintbrush.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt