Inpaint (Qwen)
低成本的遮罩重绘,在文本和物体上表现出色。
model: "inpaint-qwen"
模式
一个模型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 |
真实运行
这是工具在旁边图像上的实际输出。下面的游乐场在同一输入上打开,因此您可以自己运行它。


输入
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).
结果
示例输出该模型的真实结果。运行它可在此处查看您的输出。
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) 创建


相关模型
图像新增ByteDance
Seedream 5.0 Lite
最新一代,具有深度思考模式
图像新增ByteDance
Seedream 5.0 Pro
旗舰级深度思考图像模型,具有图像内文本和精确编辑
Alibaba
Wan 3.0
具有全模态参考的30秒单次生成AI视频
Alibaba
Wan 3.0 Prime
最高保真的Wan 3.0层级
图像新增Black Forest Labs
FLUX 2 Pro
生产级逼真摄影
图像新增Black Forest Labs
FLUX Kontext Pro
使用文本指令编辑图像