Modellere dön
Canlı APIQwen Image Tools
Canlı APIQwen Image ToolsQwen Layered
qwen-layeredDecompose a source image into editable semantic layers for design, compositing, and asset-production workflows.
Model genel bakışı
- Uç nokta
- /api/v1/images/generations
- Kredi maliyeti
- 10 credits / layer
- Tipik gecikme
- 30-90 sec
- Girdi ve çıktı
- Image and instruction → Layer images
Yetenekler
- 1-8 semantic layers
- Prompt-guided separation
- Transparent assets
- Seed control
İstek parametreleri
| Parametre | Tür | Gereklilik | Açıklama |
|---|---|---|---|
| model | string | Zorunlu | Model identifier. Varsayılan: qwen-layered |
| image | string | Zorunlu | Public source image URL. |
| prompt | string | Zorunlu | Description of the desired layer separation. |
| num_layers | integer | İsteğe bağlı | Number of layers from 1 to 8. Varsayılan: 4 |
| size | string | İsteğe bağlı | Output pixel dimensions. Varsayılan: 1024*1024 |
İstek örneği
curl https://qwenapi.org/api/v1/images/generations \
-H "Authorization: Bearer $QWEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-layered",
"image": "https://example.com/poster.png",
"prompt": "Separate the subject, typography, foreground objects, and background",
"num_layers": 4,
"size": "1024*1024"
}'Oluşturma uç noktası eşzamansızdır. Aynı Bearer anahtarıyla GET /api/v1/tasks/ adresini sorgulayın.