مواد پر جائیں

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
فائل ڈراپ کریں، یا

اختیاری تصویر mask جس کے سیاہ حصے خاکہ بنانے یا رنگ بھرنے کی جگہیں ظاہر کرتے ہیں۔

output_format ڈیفالٹ png

نتیجے کی تصویر کا فائل فارمیٹ۔

ڈیفالٹ 8

کی جانے والی denoising تکرار کی کل تعداد۔

ڈیفالٹ 1

classifier-free guidance کی طاقت۔

ڈیفالٹ 1

LoRA adapter پر لاگو ہونے والا اسکیلنگ multiplier۔

استنباط کے دوران استعمال ہونے والا seed۔

ڈیفالٹ []

ضم کرنے کے لیے اضافی 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 میں محفوظ ہوتی ہے جب آپ 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
اختیاری تصویر mask جس کے سیاہ حصے خاکہ بنانے یا رنگ بھرنے کی جگہیں ظاہر کرتے ہیں۔
promptلازمی
قسمstring
خاکہ بنائے گئے حصوں پر لاگو ہونے والی تبدیلیوں کی تفصیل۔
num_inference_stepsاختیاری
قسمinteger
ڈیفالٹ8
2 – 50
کی جانے والی denoising تکرار کی کل تعداد۔
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 adapter پر لاگو ہونے والا اسکیلنگ multiplier۔
seedاختیاری
قسمinteger | null
استنباط کے دوران استعمال ہونے والا seed۔
output_formatاختیاری
قسمenum
ڈیفالٹpng
jpegpngwebp
نتیجے کی تصویر کا فائل فارمیٹ۔
turbo_modeاختیاری
قسمboolean
ڈیفالٹtrue
تیز تر استنباط کے لیے Turbo موڈ کا ٹوگل۔
lorasاختیاری
قسمobject[]
ڈیفالٹ[]
ضم کرنے کے لیے اضافی LoRAs کا اختیاری مجموعہ، زیادہ سے زیادہ 3۔
loras[].pathلازمی
قسمstring
Safetensors فارمیٹ میں LoRA weights کا مقام، URL یا path کے طور پر۔
loras[].scaleاختیاری
قسمnumber
ڈیفالٹ1
0 – 4
LoRA کی طاقت مقرر کرنے والا اسکیلنگ multiplier۔
لازمی معیاری نام، یہ بھی قبول ہے

فائل پیرامیٹرز عوامی 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.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استنباط کے دوران استعمال ہونے والا seed۔

مزید ماڈلز: تصویر میں ترمیم

AI ایجنٹس کے لیے: یہ صفحہ Markdown میں یہاں موجود ہے https://doitong.com/ur/developers/models/chrono-edit-lora-gallery/paintbrush.md. تمام ماڈلز اور گائیڈز: https://doitong.com/developers/llms.txt