Wan 2.6 Image-to-Video Spicy
Wan 2.6 Image-to-Video Spicy turns a first-frame image into short cinematic motion with stable temporal detail and expressive character movement.
aliyun/wan2-6/image-to-video-global
Wan 2.6 Image-to-Video is Alibaba Cloud Tongyi Wanxiang's image-to-video channel of the Wan 2.6 series, served through iCreat's async two-step task API: it generates 720P/1080P HD video from a first-frame image plus a text prompt, 4–15 seconds per request.
Base URL
https://api.icreat.ai/v1Model Code
aliyun/wan2-6/image-to-video-globalAuthentication
All API requests must be authenticated with an API Key. Obtain your API Key from the console and read it from environment variables.
export ICREAT_API_KEY="your-api-key-here"HTTP Request Headers
import os
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer " + os.environ.get("ICREAT_API_KEY"),
}Protect your API Key
Never expose your API Key in client-side code, public repositories, or logs. Use environment variables and a backend proxy.
Code Examples
Image and video generation use a two-step async flow: submit a task to get a task_id, then poll the query task result endpoint. The response contains status and result: while processing, result is []; when the status is SUCCEEDED, result holds the generated resources and the response includes costUSD. Read resources from result in the same response on success — no extra endpoint call is needed.
JSON and JavaScript use false; Python uses False.
Input Schema
The following top-level parameters are accepted in the task submission request body.
Total: 2 Required: 2 Optional: 0
Generation input payload.
Generation parameters.
Output Schema
Submit Task — Output
Total: 1
Async task identifier used to poll the task result.
Query Task Result — Input
Total: 1 Required: 1 Optional: 0
The task ID returned by the submit endpoint.
Query Task Result — Output
Total: 4
Current task status. result is usually [] until success; on SUCCEEDED, result holds the resources and costUSD is present.
Generated resources. Empty array while processing or on failure; array of objects on success.
Task cost in USD. Present only when status is SUCCEEDED.
Error info object on failure. FAILED is a terminal state — check the request parameters and resubmit.
LLM Prompt
The Markdown below is an LLM-friendly prompt you can paste into AI assistants (e.g. Cursor, ChatGPT) to help them understand this model's API, call flow, and key parameters. Use Copy LLM Prompt or copy from the code block below.
# aliyun/wan2-6/image-to-video-global
> Wan 2.6 Image-to-Video is called through iCreat's async two-step task API.
## API Info
- **Base URL**: `https://api.icreat.ai/v1`
- **Submit endpoint (POST)**: `/v1/task/submit/aliyun/wan2-6/image-to-video-global`
- **Query result endpoint (POST)**: `https://api.icreat.ai/v1/task/result`
- **Model ID**: `aliyun/wan2-6/image-to-video-global`
- **Auth**: `Authorization: Bearer ${ICREAT_API_KEY}`, with the key read from environment variables.
## Call Flow
Step 1: submit the task. Step 2: poll with the same task_id at 2–5 second intervals; while processing result is [], on success result carries the resources and costUSD.
### Input Essentials
- `input.prompt` (required): Prompt describing the video to generate.
- `input.img_url` (optional): HTTPS URL of the first-frame image.
- `parameters.resolution` (required): 720P / 1080P。
- `parameters.ratio` (required): 1:1 / 9:16 / 16:9 / 3:4 / 4:3。
- `parameters.duration` (required): integer 4–15 seconds.
- `parameters.watermark` (optional, default false).
### Output Essentials
- Submit response: `task_id`.
- Query response: `status` (SUBMITTED/SUCCEEDED/FAILED), `result` array (type/url/download_url on success), `costUSD` (returned only on success).
- `FAILED` is a terminal state; check parameters and resubmit.
## Notes
- Only `720P` and `1080P` resolutions are supported.
- JSON and JavaScript use `false`; Python uses `False`.
- While processing, result is an empty array; keep polling. On success, read resources from result in the same response — no extra result-endpoint call.