ছবিAlibaba

Inpaint (Qwen)

কম খরচের মুখোশ করা পুনর্রঙ্গন, পাঠ এবং বস্তুতে শক্তিশালী।

model: "inpaint-qwen"

API ডকুমেন্টেশনএজেন্টদের জন্য ডকুমেন্টেশন

মোড

একটি মডেল আইডি, নিচের প্রতিটি মোড। আপনি যে ক্ষেত্রগুলি পাঠান তা মোড নির্বাচন করে এবং মূল্য মোড অনুসরণ করে।

মোডনির্বাচিত দ্বারাসাধারণ মূল্য
চিত্র যোগান, চিত্র ফলাফল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