wan2.7-image-pro API 定價
所有價格皆以 USD 計價。比較 APISea 費率與相同計費單位的官方牌價。
| 選項 | APISea | 官方 | 節省 |
|---|---|---|---|
| 預設預設 | $0.05984 | $0.069 | −13% |
價格單位為 每張圖片。
什麼是 wan2.7-image-pro?
Alibaba’s wan2.7-image-pro is the professional edition of the Wan Image family, built for text-to-image generation, image editing, and thematically coherent image sequences. It supports up to 4K output for non-sequential text-to-image requests and up to 2K for editing or sequential generation. Developers can supply text prompts, reference images, or bounding boxes for targeted edits, with controls for aspect ratio, negative prompts, seeds, and optional watermarks.
On APISea, call wan2.7-image-pro through POST /v1/images/generations using your API key and the OpenAI-compatible base URL https://api.apisea.ai/v1. Generation is asynchronous: submit a task, then poll using the returned task_id. APISea Default pricing is $0.05984 per image, about 13% below the provider list price of $0.069 per image. Billing counts successfully generated images only; input, resolution, and aspect ratio do not change the image price, and failed requests are not charged.
wan2.7-image-pro 的特色
Up to 4K Output
Generate text-to-image outputs at 1K, 2K, or 4K in non-sequential mode. Editing and sequential generation support up to 2K.
Reference-Based Image Editing
Supply up to nine input images for editing and multi-image reference workflows. Bounding boxes let you specify regions to edit or insert content.
Coherent Image Sequences
Enable sequential generation to request up to 12 thematically coherent images in one task. This mode supports storyboard and image-series workflows.
Detailed Generation Controls
Set negative prompts, seeds, aspect ratios, and optional watermarks. Enhanced reasoning mode can improve image quality at the cost of longer generation time in non-sequential text-to-image mode.
4 個步驟呼叫 wan2.7-image-pro API
- 01
取得 API key
登入 APISea,儲值 $50 起,並在控制台建立 sk-sea 金鑰。
- 02
設定 base URL
在 SDK 或 HTTP 用戶端中,將 https://api.apisea.ai/v1 設為 base URL。
- 03
傳送請求
呼叫 POST /v1/images/generations,並使用下方的參數及 "model": "wan2.7-image-pro"。
- 04
處理回應
回應中包含 task_id。持續輪詢 GET /v1/tasks/{task_id},直到狀態為 completed,然後下載結果 URL。
curl --request POST \
--url https://api.apisea.ai/v1/images/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "wan2.7-image-pro",
"prompt": "A flower shop with exquisite windows, beautiful wooden door, flowers on display"
}'參數
| 參數 | 類型 | 必填 | 預設 | 說明 |
|---|---|---|---|---|
model | string | 必填 | — | Image generation model name. |
nsfw_check | boolean | 選填 | false | Whether to run content moderation before submitting the image task. |
prompt | string | 選填 | — | Text description for image generation, up to 5000 characters. |
image_urls | array\<string\> | 選填 | — | Input image URL array for editing and multi-image reference scenarios. |
n | integer | 選填 | 1 | Number of images to generate. |
size | string | 選填 | — | Output resolution or aspect ratio. Supports three formats: |
resolution | string | 選填 | — | Resolution tier keyword: `1K` / `2K` / `4K`. Can be combined with `size` (aspect ratio). |
negative_prompt | string | 選填 | — | Negative prompt describing elements to avoid. Example: `"blurry, distorted, low quality"` |
watermark | boolean | 選填 | false | Whether to add an "AI Generated" watermark to the bottom-right corner. |
seed | integer | 選填 | — | Random seed, range 0–2147483647. Same seed with identical parameters produces visually consistent results. |
thinking_mode | boolean | 選填 | true | Enable enhanced reasoning mode to improve image quality at the cost of longer generation time. |
enable_sequential | boolean | 選填 | false | Enable **sequential image generation** mode — generates multiple thematically coherent images in one request. Ideal for storyboards and series. |
bbox_list | array | 選填 | — | Bounding boxes for interactive editing — specifies exact regions to edit or insert content. |
Structure: | [[[x1, y1, x2, y2], ...], ...] | 選填 | — | |
color_palette | array\<object\> | 選填 | — | Custom color theme. **Standard mode only** (not sequential mode). |
使用 wan2.7-image-pro 可以打造什麼
Creative Asset Generation
Build a tool that turns creative briefs into images with selectable aspect ratios and up to 4K text-to-image output.
Targeted Visual Editing
Let users upload reference images and specify bounding boxes for localized changes instead of requesting an entirely new composition.
Storyboard Production
Generate a thematically coherent sequence of up to 12 images from one request for storyboards or visual series.
Reference-Driven Design
Build a design workflow that accepts multiple reference images alongside a prompt to guide image editing.
提升結果品質的技巧
- 01
Choose Resolution by Mode
Use the resolution parameter with size to select a tier and aspect ratio. Reserve 4K for non-sequential text-to-image; editing and sequential requests are limited to 2K.
- 02
Keep Iterations Consistent
Reuse the same seed and identical parameters for visually consistent results. Use negative_prompt to describe unwanted elements such as blur or distortion.
- 03
Budget by Image Count
Set n to 1–4 in standard mode or 1–12 in sequential mode. Requests are pre-charged based on n, with final billing based on successfully generated images.
- 04
Build for Async Results
Store the returned task_id and poll for results after submitting a generation request. Do not treat task submission as delivery of the finished images.
限制與須知
Editing accepts up to nine input images and automatically matches the last input image’s aspect ratio.
Prompts support up to 5000 characters; text-to-image requires a prompt.
Sequential mode ignores thinking_mode and color_palette; thinking_mode also has no effect with image inputs.
wan2.7-image-pro API 常見問題
How much does wan2.7-image-pro cost on APISea?
APISea Default pricing is $0.05984 per image, about 13% below the provider list price of $0.069 per image. Only successfully generated images are billed; input, resolution, and aspect ratio do not affect pricing.
How do I call wan2.7-image-pro through the API?
Send a Bearer-authenticated POST request to https://api.apisea.ai/v1/images/generations with model set to wan2.7-image-pro. Include a prompt for text-to-image, then poll for results using the returned task_id.
Does wan2.7-image-pro support 4K image editing?
No. It supports up to 4K for non-sequential text-to-image generation, while editing and sequential generation are limited to 2K.
Which image inputs and controls are supported?
Editing accepts up to nine images via HTTP/HTTPS URLs or Base64 data URLs in JPEG, PNG, WEBP, or BMP format. Controls include negative_prompt, seed, size, resolution, watermark, and bbox_list for region-based editing.
How does wan2.7-image-pro compare with wan2.7-image?
The documentation describes wan2.7-image-pro as the professional edition with better details and up to 4K text-to-image output. wan2.7-image is described as faster and supports up to 2K; both support up to 2K for editing and sequential generation.
Can I use generated images commercially?
Commercial use is subject to the provider’s terms. Review Alibaba’s applicable terms and any rights associated with your input images before using outputs commercially.