Wan Image API
价格: $0.022(~ 1.5 credits) per image
稳定性最高,保证 99.9% 可用性。推荐用于生产环境。
所有版本使用同一个 API 端点,仅 model 参数不同。
Pixel format only. Range: 768~1440. Aspect ratio must be between 1/4 and 4.
Range: 768~1440px
Click Generate to see preview
History
最多保留20条0 运行中 · 0 已完成
Wan Image API:可规模化的文生图与图像编辑
通过 Wan Image API 从提示词生成全新视觉,或对现有图片进行精修。适用于营销素材、产品图和快速迭代管线,对输出尺寸稳定、提示词可控和可靠的任务处理有要求的场景。

Pricing
| Model | Mode | Price |
|---|---|---|
| WAN 2.5 Text to Image | Image Generation | $0.022/ image(1.5 Credits) |
If it's down, we automatically use the next cheapest available—ensuring 99.9% uptime at the best possible price.
用 Wan Image API 可以搭建什么?
本地化营销素材
使用 Wan Image API 创作横幅、海报和社交广告,然后用中文或英文提示词快速本地化。由于同一套提示词结构适配不同市场,团队可以在测试多种版式和文案的同时,保持品牌调性一致。


创意迭代管线
使用 Wan Image API 驱动迭代式工作流,运行任务式作业,并在每次请求中生成多个候选图像。团队可以快速对比选项,在不同项目间复用提示词,并在不为每次营销重建集成的情况下实现产能扩张。

团队为什么选择 Wan Image API
Wan Image API 在创作灵活性与生产控制之间取得平衡,团队无需在文生图和编辑模式间切换工具,就能快速构建稳定素材。
统一集成
创作与编辑共享同一套 API,保持管线简洁。
提示词控制
中英文提示词让指令清晰可复用。
生产就绪
任务式作业与尺寸控制贴合真实交付流程。
如何集成 Wan Image API
从提示词到生产素材的直白流程。
选择模式和输入
挑选文生图或图像编辑,根据任务提供提示词和可选的参考图。
提交任务
发送请求并获得任务 ID。Wan Image API 的生成作业采用任务式处理。
获取结果
轮询任务状态,然后下载图像 URL 并存入你的素材管线。
Wan Image API 的核心能力
帮助团队持续交付稳定创意的有文档化控制项
中英文提示词支持
Wan Image API 接受中文和英文提示词,对全球团队来说非常实用。一条清晰、结构化的提示词能在多个营销活动中保持稳定,帮助团队复用提示词模板,而不必为每个地区重写一切。
负面提示词引导
对于支持的模型,Wan Image API 允许使用负面提示词来去除不想要的瑕疵或风格。文档中的上限是提示词最多 2000 字符、负面提示词最多 500 字符,让指令保持清晰可控。
多图融合
Wan Image API 的图像编辑模式支持多图输入用于融合任务。这让团队可以把产品镜头与背景组合在一起,同时在多个变体间保持主体一致。
输入图像要求
图像编辑支持的格式包括 JPEG、JPG、PNG、BMP 和 WEBP。输入图像每边在 384 到 5000 像素之间,单张不超过 10 MB,以在画质与延迟之间保持平衡。
输出尺寸与画幅比
你可以通过 width x height 参数设置输出尺寸。Wan Image 编辑模式下,总像素数在 768x768 到 1280x1280 之间,画幅比在 1:4 到 4:1 之间。如果不提供尺寸,默认是 1280x1280。
异步任务工作流
Wan Image API 以任务形式运行生成作业。你提交请求,获得任务 ID,然后轮询完成状态。任务 ID 文档记载的有效期为 24 小时,所以生产系统应尽早获取并存储结果。
常见问题
Everything you need to know about the product and billing.
API Reference
Select endpoint
Authentication
All APIs require Bearer Token authentication.
Authorization:
Bearer YOUR_API_KEY/v1/images/generationsGenerate Image
Create an image generation task using text prompts. Supports text-to-image generation mode.
Asynchronous processing mode, use the returned task ID to .
Generated image links are valid for 24 hours, please save them promptly.
Request Parameters
modelstringRequiredDefault: wan2.5-text-to-imageImage generation model name.
wan2.5-text-to-imagepromptstringRequiredPrompt describing the image to be generated.
Notes
- Limited to 2000 tokens
A cat playing in the grasssizestringOptionalSize of the generated image (pixel format only).
Notes
- Pixel range: 768x768 to 1440x1440
- Aspect ratio range: [1/4, 4]
1280x1280nintegerOptionalDefault: 1Number of images to generate.
| Value | Description |
|---|---|
| 1-4 | Batch generation supported |
Notes
- Pre-charged based on n value, actual charge based on generated count
1prompt_extendbooleanOptionalDefault: trueWhether to enable intelligent prompt rewriting.
Notes
- When enabled, a large language model will optimize the prompt
- Effective for prompts that lack detail or are too simple
truecallback_urlstringOptionalHTTPS callback address after task completion.
Notes
- Triggered on completion, failure, or cancellation
- Sent after billing confirmation
- HTTPS only, no internal IPs
- Max length: 2048 chars
- Timeout: 10s, Max 3 retries
https://your-domain.com/webhooks/image-task-completed