Zurück zu den Modellen
Live-APIQwen Image Tools

Qwen Layered

qwen-layered

Decompose a source image into editable semantic layers for design, compositing, and asset-production workflows.

Modellübersicht
Endpunkt
/api/v1/images/generations
Credit-Kosten
10 credits / layer
Typische Latenz
30-90 sec
Ein- und Ausgabe
Image and instruction → Layer images

Funktionen

  • 1-8 semantic layers
  • Prompt-guided separation
  • Transparent assets
  • Seed control

Anfrageparameter

ParameterTypAnforderungBeschreibung
modelstringErforderlichModel identifier. Standard: qwen-layered
imagestringErforderlichPublic source image URL.
promptstringErforderlichDescription of the desired layer separation.
num_layersintegerOptionalNumber of layers from 1 to 8. Standard: 4
sizestringOptionalOutput pixel dimensions. Standard: 1024*1024

Anfragebeispiel

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"
}'

Der Generierungsendpunkt ist asynchron. Rufen Sie GET /api/v1/tasks/ mit demselben Bearer-Schlüssel ab.