GörüntüAlibaba

Inpaint (Qwen)

Daha düşük maliyetli maskelenmiş boyama, metin ve nesnelerde güçlü.

model: "inpaint-qwen"

API belgeleriAracılar için belgeler

Modlar

Bir model kimliği, aşağıdaki tüm modlar. Gönderdiğiniz alanlar modu seçer ve fiyat modu takip eder.

ModŞu şekilde seçilirTipik fiyat
Görüntü girişi, görüntü çıkışıimage_urlmask_url
Örnek istek
{
  "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

Gerçek bir çalışma

Bu, aracın yanındaki görüntüdeki gerçek çıktısıdır. Aşağıdaki oyun alanı aynı giriş üzerinde açılır, böylece bunu kendiniz çalıştırabilirsiniz.

Inpaint (Qwen): Önce
Önce
Inpaint (Qwen): Sonra
Sonra

Giriş

Gerekli

What to paint in the masked area.

Gerekli

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.

Gerekli

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

Gelişmiş seçenekler (7)

Ana kontrollerin ötesindeki sağlayıcı ayarları. Modelin varsayılan ayarlarını kullanmak için boş bırakın.

İsteğe bağlı

Faster inference at a small cost in detail.

İsteğe bağlı
-

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

İsteğe bağlı

What the result should avoid.

İsteğe bağlı
-

Denoising steps. More is slower and can add detail.

İsteğe bağlı

File format of the result.

İsteğe bağlı

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

İsteğe bağlı
-

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

Sonuç

Inpaint (Qwen)Örnek çıktı

Bu modelden gerçek bir sonuç. Çalıştırarak kendi sonucunuzu burada görebilirsiniz.

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