Skip to content
此页面尚未提供您所用语言的版本,因此当前显示为英文。
Alibaba · Wan Image

wan2.7-image-pro API

Generate up to 4K images, edit references, and create coherent image sequences with wan2.7-image-pro on APISea.

图像生成图像异步任务
模型 ID
wan2.7-image-pro

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

  1. 01

    获取 API 密钥

    登录 APISea,充值 $50 起,并在控制台创建一个 sk-sea 密钥。

  2. 02

    设置 base URL

    在 SDK 或 HTTP 客户端中将 https://api.apisea.ai/v1 设置为 base URL。

  3. 03

    发送请求

    调用 POST /v1/images/generations,并传入 "model": "wan2.7-image-pro" 及以下参数。

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

参数

参数类型必填默认说明
modelstring必填—Image generation model name.
nsfw_checkboolean可选falseWhether to run content moderation before submitting the image task.
promptstring可选—Text description for image generation, up to 5000 characters.
image_urlsarray\<string\>可选—Input image URL array for editing and multi-image reference scenarios.
ninteger可选1Number of images to generate.
sizestring可选—Output resolution or aspect ratio. Supports three formats:
resolutionstring可选—Resolution tier keyword: `1K` / `2K` / `4K`. Can be combined with `size` (aspect ratio).
negative_promptstring可选—Negative prompt describing elements to avoid. Example: `"blurry, distorted, low quality"`
watermarkboolean可选falseWhether to add an "AI Generated" watermark to the bottom-right corner.
seedinteger可选—Random seed, range 0–2147483647. Same seed with identical parameters produces visually consistent results.
thinking_modeboolean可选trueEnable enhanced reasoning mode to improve image quality at the cost of longer generation time.
enable_sequentialboolean可选falseEnable **sequential image generation** mode — generates multiple thematically coherent images in one request. Ideal for storyboards and series.
bbox_listarray可选—Bounding boxes for interactive editing — specifies exact regions to edit or insert content.
Structure:[[[x1, y1, x2, y2], ...], ...]可选—
color_palettearray\<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.

相关模型

覆盖范围:250+ 种模型 · 最低充值 $50

开始使用 wan2.7-image-pro 构建

一个密钥即可,按量付费,$50 起,仅对成功请求计费。