تصویرAlibaba

Inpaint (Qwen)

کم لاگت والی ماسک شدہ دوبارہ پینٹنگ، متن اور اشیاء پر مضبوط۔

model: "inpaint-qwen"

API دستاویزاتایجنٹس کے لیے دستاویزات

موڈز

ایک ماڈل ID، نیچے دیے گئے تمام موڈز۔ آپ جو فیلڈز بھیجتے ہیں وہ موڈ کا انتخاب کرتے ہیں، اور قیمت موڈ پر عمل کرتی ہے۔

موڈاس کے ذریعے منتخبعام قیمت
تصویر اندر، تصویر باہرimage_urlmask_url
نمونہ درخواست
{
  "model": "inpaint-qwen",
  "input": {
    "image_url": "https://example.com/image.jpg",
    "mask_url": "https://example.com/image.jpg",
    "prompt": "a lighthouse at dusk"
  }
}
$0.030

ایک حقیقی کام

یہ آلے کی اصل پیداوار ہے اس کے ساتھ والی تصویر پر۔ نیچے کا کھیل میدان اسی ان پٹ پر کھلتا ہے، تو آپ اسے خود چلا سکتے ہیں۔

Inpaint (Qwen): پہلے
پہلے
Inpaint (Qwen): بعد میں
بعد میں

ان پٹ

ضروری

What to paint in the masked area.

ضروری

The image to work on (https URL, or an upload URL from POST /v1/uploads).. A public https URL, or an upload URL from POST /v1/uploads.

ضروری

White marks the area to repaint, black is kept (https URL).. A public https URL, or an upload URL from POST /v1/uploads.

اعلیٰ اختیارات (7)

بنیادی کنٹرولز سے آگے فراہم کننے والی ترتیبات۔ ماڈل کی ڈیفالٹ ترتیبات استعمال کرنے کے لیے انہیں خالی چھوڑیں۔

اختیاری

Faster inference at a small cost in detail.

اختیاری
-

How strictly the model follows the prompt. Higher is more literal.

اختیاری

What the result should avoid.

اختیاری
-

Denoising steps. More is slower and can add detail.

اختیاری

File format of the result.

اختیاری

Random seed. The same seed and input reproduce the same result.

اختیاری
-

How far the result may move from the source image (0 keeps it, 1 ignores it).

نتیجہ

Inpaint (Qwen)نمونہ آؤٹ پٹ

اس ماڈل سے اصل نتیجہ۔ اسے چلائیں اپنا نتیجہ یہاں دیکھنے کے لیے۔

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "inpaint-qwen",
  "input": {
    "image_url": "https://assets.arteza.ai/generations/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/babdfe77-4b1f-47a5-b168-02ca5830abb6/0.jpg",
    "mask_url": "https://assets.arteza.ai/uploads/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/api/oqsLYVdazMWOeIzRouFbFA.png",
    "prompt": "a small red ribbon bow"
  }
}'
Inpaint (Qwen) 1Inpaint (Qwen) 2