跳到主要内容
Alibaba检查中

Wan 2.5 Preview / Image to Image

wan-2-5-preview-image-to-image

图生图输出: 图像输入: 文本 + 图像
正在加载价格…
官方原价 · 未验证
获取 API Key

参数

必填
prompt: string必填

Positive prompt describing the desired image editing operation. ≤ 2000 chars

imageUrls: string[]必填

Input images (1-3) ≤ 3 items · HTTPS image URL or media:<uuid>

n: integer必填

Number of images to generate (1-4), directly affects pricing. 1–4

常用参数
size: string

Output image resolution.Output image resolution. If size is not specified, the system will generate an image with a total pixel size of 1280×1280 by default, and maintain the aspect ratio (approximate value) according to the following rules: For single-image input: the aspect ratio is consistent with the input image. For multi-image input: the aspect ratio is consistent with the last input image.

高级参数 (3)
negativePrompt: string

Negative prompt describing unwanted content. ≤ 500 chars

promptExtend: boolean

Enable intelligent prompt extension.

seed: integer

Random seed for reproducible generation. -1–2147483647

请求预览

{
  "model": "wan-2-5-preview-image-to-image",
  "input": {
    "n": 1,
    "promptExtend": true
  }
}

网页 Playground 使用你的登录会话发送此请求体。在代码中请使用 API Key 发送相同内容。

预计费用

正在加载价格…

任务接收时预留额度,仅成功后扣费。失败任务释放预留额度;结果未确认时会保留额度,直到核实。