モデル概要
- エンドポイント
- /api/v1/images/generations
- クレジットコスト
- 5 credits / image
- 標準的な処理時間
- 20-60 sec
- 入力と出力
- 1-3 images → PNG or JPEG
機能
- Camera orbit control
- Elevation control
- Distance control
- Reference preservation
リクエストパラメータ
| パラメータ | 型 | 必須区分 | 説明 |
|---|---|---|---|
| model | string | 必須 | Model identifier. デフォルト: qwen-multi-angles |
| images | string[] | 必須 | One to three public source image URLs. |
| horizontal_angle | number | 任意 | Horizontal camera rotation in degrees. デフォルト: 0 |
| vertical_angle | number | 任意 | Vertical camera rotation in degrees. デフォルト: 0 |
| distance | number | 任意 | Relative camera distance. デフォルト: 1 |
リクエスト例
curl https://qwenapi.org/api/v1/images/generations \
-H "Authorization: Bearer $QWEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-multi-angles",
"images": [
"https://example.com/product.jpg"
],
"horizontal_angle": 45,
"vertical_angle": 10,
"distance": 1,
"output_format": "jpeg"
}'生成エンドポイントは非同期です。同じ Bearer キーで GET /api/v1/tasks/ をポーリングしてください。
