모델 목록으로 돌아가기
라이브 APIQwen Image Tools

Qwen Layered

qwen-layered

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

모델 개요
엔드포인트
/api/v1/images/generations
크레딧 비용
10 credits / layer
일반적인 처리 시간
30-90 sec
입력 및 출력
Image and instruction → Layer images

기능

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

요청 파라미터

파라미터유형요구 여부설명
modelstring필수Model identifier. 기본값: qwen-layered
imagestring필수Public source image URL.
promptstring필수Description of the desired layer separation.
num_layersinteger선택Number of layers from 1 to 8. 기본값: 4
sizestring선택Output pixel dimensions. 기본값: 1024*1024

요청 예시

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

생성 엔드포인트는 비동기입니다. 동일한 Bearer 키로 GET /api/v1/tasks/를 폴링하세요.