Wan Image API
A peaceful lake reflecting the beautiful sunset
No sample available
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 | Popular $0.0208/ 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
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,这有助于在不产生过度延迟的情况下保持质量。
输出尺寸与纵横比
您可以通过宽度 x 高度参数设置输出尺寸。对于 Wan 2.5 图像编辑,文档记录的总像素在 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