Wan 2.7 Image
Generate and edit images with aspect-ratio, pixel-size, and seed controls.
- テキストから画像
- 画像編集
プレイグラウンド
入力
Text description for image generation
Reference images for editing (1-4 URLs). Providing them switches the request to edit mode. Order matters: reference them as image 1, image 2, etc. in the prompt.
実行すると残高から料金が引き落とされます。
出力
出力はここに表示されます。
料金
| オプション | 生成あたりの価格 | fal.ai | お客様の節約額 |
|---|---|---|---|
| 標準 | $0.029 | $0.03 | −5% |
クイックスタート
完全なAPIリファレンス →1curl -X POST https://api.api-stock.com/api/v1/generation/create \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "wan2.7-image",6 "input": {7 "prompt": "夕暮れ時の都市を映した映画のワンシーン",8 "size": "1:1"9 }10 }'
パラメータ
| 名前 | 型 | 必須 | デフォルト | 説明 |
|---|---|---|---|---|
prompt | string | はい | — | Text description for image generation |
urls | string[] | いいえ | — | Reference images for editing (1-4 URLs). Providing them switches the request to edit mode. Order matters: reference them as image 1, image 2, etc. in the prompt. |
size | string | いいえ | 1:1 | Output aspect ratio (ignored when width + height are provided)いずれか: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3 |
width | number | いいえ | — | Custom output width in pixels (requires height). Overrides size. |
height | number | いいえ | — | Custom output height in pixels (requires width). Overrides size. |
seed | number | いいえ | — | Random seed for reproducible output |
よくある質問
Wan 2.7 Image の料金はいくらですか?
Wan 2.7 ImageはAPI Stock API経由で$0.029 生成あたりから利用できます。料金は1つの前払い残高から利用した分だけ支払う従量制で、サブスクリプションはありません。最終的な価格は、解像度や長さなどのパラメータに応じて変わります。
Wan 2.7 Image APIはどのように呼び出せますか?
https://api.api-stock.com/api/v1/generation/create に、APIキーとモデルID「wan2.7-image」を指定してPOSTリクエストを送信します。リクエストの結果として、ポーリングするタスクIDが返されるか、結果の準備ができた時点でWebhookコールバックが送信されます。上記のクイックスタートにすぐ実行できる例があります。
Wan 2.7 Imageはどのような入力パラメータを受け付けますか?
Wan 2.7 Imageは6個の入力パラメータ(必須フィールドpromptを含む)を受け付けます。種類、デフォルト値、指定可能な値は上記のパラメータ表に記載されています。
Wan 2.7 Imageのリクエストに失敗するとどうなりますか?
API Stockは予備プロバイダーでリクエストを自動的に再試行します。すべてのプロバイダーで失敗した場合、請求額は残高に返金されます。
Wan 2.7 Imageは他のモデルと同じAPIキーで利用できますか?
はい。API Stockのすべてのモデル(動画、画像、音楽、チャット)は1つのAPIキーと1つの前払い残高を共有しているため、新しい認証情報なしでWan 2.7 Imageに切り替えられます。