wan2.7-image-pro API
Generate up to 4K images, edit references, and create coherent image sequences with wan2.7-image-pro on APISea.
wan2.7-image-proBảng giá API wan2.7-image-pro
Tất cả giá đều tính bằng USD. So sánh mức giá của APISea với giá niêm yết chính thức cho cùng đơn vị.
| Tùy chọn | APISea | Chính thức | Tiết kiệm |
|---|---|---|---|
| Mặc địnhMặc định | $0.05984 | $0.069 | −13% |
Giá tính theo mỗi hình ảnh.
wan2.7-image-pro là gì?
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.
Điểm nổi bật của 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.
Cách gọi API wan2.7-image-pro trong 4 bước
- 01
Tạo API key
Đăng nhập APISea, nạp tối thiểu $50 rồi tạo key sk-sea trong bảng điều khiển.
- 02
Đặt base URL
Dùng https://api.apisea.ai/v1 làm base URL trong SDK hoặc HTTP client.
- 03
Gửi request
Gọi POST /v1/images/generations với "model": "wan2.7-image-pro" và các tham số bên dưới.
- 04
Xử lý phản hồi
Phản hồi có chứa task_id. Gửi GET /v1/tasks/{task_id} định kỳ cho đến khi trạng thái là completed, sau đó tải xuống từ các URL kết quả.
Ví dụ request
Tài liệu: wan2.7 Image Generation & Editingcurl --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"
}'Tham số
| Tham số | Loại | Bắt buộc | Mặc định | Mô tả |
|---|---|---|---|---|
model | string | Bắt buộc | — | Image generation model name. |
nsfw_check | boolean | Tùy chọn | false | Whether to run content moderation before submitting the image task. |
prompt | string | Tùy chọn | — | Text description for image generation, up to 5000 characters. |
image_urls | array\<string\> | Tùy chọn | — | Input image URL array for editing and multi-image reference scenarios. |
n | integer | Tùy chọn | 1 | Number of images to generate. |
size | string | Tùy chọn | — | Output resolution or aspect ratio. Supports three formats: |
resolution | string | Tùy chọn | — | Resolution tier keyword: `1K` / `2K` / `4K`. Can be combined with `size` (aspect ratio). |
negative_prompt | string | Tùy chọn | — | Negative prompt describing elements to avoid. Example: `"blurry, distorted, low quality"` |
watermark | boolean | Tùy chọn | false | Whether to add an "AI Generated" watermark to the bottom-right corner. |
seed | integer | Tùy chọn | — | Random seed, range 0–2147483647. Same seed with identical parameters produces visually consistent results. |
thinking_mode | boolean | Tùy chọn | true | Enable enhanced reasoning mode to improve image quality at the cost of longer generation time. |
enable_sequential | boolean | Tùy chọn | false | Enable **sequential image generation** mode — generates multiple thematically coherent images in one request. Ideal for storyboards and series. |
bbox_list | array | Tùy chọn | — | Bounding boxes for interactive editing — specifies exact regions to edit or insert content. |
Structure: | [[[x1, y1, x2, y2], ...], ...] | Tùy chọn | — | |
color_palette | array\<object\> | Tùy chọn | — | Custom color theme. **Standard mode only** (not sequential mode). |
Bạn có thể xây dựng gì với 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.
Mẹo để có kết quả tốt hơn
- 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.
Giới hạn và những điều cần biết
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.
Câu hỏi thường gặp về API wan2.7-image-pro
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.
Model liên quan
wan2.7-image
qwen-image-2.0
qwen-image-2.0-pro
qwen-image-3.0
qwen-image-3.0-pro
z-image-turbo
flux-2-flex
flux-2-max
Bắt đầu xây dựng với wan2.7-image-pro
Chỉ cần một key, thanh toán theo mức sử dụng từ $50; chỉ tính phí cho các request thành công.