wan-2-6defaultAlibaba Wan 2.6 API — how to connect and pay
Wan 2.6 — T2V and I2V via Pixel, plus an explicit Prime Flash image-to-video route. Price per clip by duration and resolution. No aspect_ratio (determined automatically).
Channel comparison
last 7 days
| Channel | Price |
|---|---|
Pixel wan-2-6default | from $0.45 per clip |
Build the result you need
wan-2-6What is Alibaba Wan 2.6
Wan 2.6 — T2V and I2V via Pixel, plus an explicit Prime Flash image-to-video route. Price per clip by duration and resolution. No aspect_ratio (determined automatically).
Contract at a glance
- Input
- text, image
- Output
- video
- Mode
- async (job + polling)
- Status polling
- every 3 s · up to 600 s
Strengths
- Pricing: per clip
- Inputs: text, image
- 3 configurable options
- One API key for media generation
Where it is used
- Social media clips
- Promos and title sequences
- Still-image animation
- Storyboards and animatics
API contract
Generation runs asynchronously: create a job, then poll its status until completion.
- Create job
- POST /api/media/generate
- Check status
- GET /api/media/jobs/{jobId}
- Input
- text, image
- Output
- video
- Polling
- every 3 s · up to 600 s
- Authentication
- Authorization: Bearer sk-pv-…
Example request
Pass your key in the Bearer header. The API returns jobId for polling the status.
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"wan-2-6","prompt":"a beautiful landscape","opts":{"input":"text-to-video","duration":"5","resolution":"720p"}}'JavaScript
const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "wan-2-6",
"prompt": "a beautiful landscape",
"opts": {
"input": "text-to-video",
"duration": "5",
"resolution": "720p"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);API request parameters
Parameters for requests to Alibaba Wan 2.6 via the GetVibe API.
promptreq.image_urlinputdurationresolutionimage_file_idimage_base64| Parameter | Type | Values | Default | Price |
|---|---|---|---|---|
promptreq. | text | text description | required | — |
image_url | URL | Public image URL | — | — |
input | option selection | Text → video (default) · Image → video · Flash: Image → video | Text → video | Included in the base price |
duration | option selection | 5 (default) · 10 · 15 | 5 | 5: $0.45, 10: $0.90, 15: $1.35 |
resolution | option selection | 720p (default) · 1080p | 720p | 720p: $0.45, 1080p: $0.671786 |
image_file_id | text | Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
image_base64 | text | Alternative to image_url: the file inline, as base64 or a data: URI | — | Included in the base price |
Request: POST https://getvibeapi.com/api/media/generate. Prices in USD.
Price of Alibaba Wan 2.6
The cost of Alibaba Wan 2.6: from $0.45 per clip. The price is calculated dynamically at the current exchange rate, and the final charge is shown in the API response (priceRub). Payment in USD, no subscriptions.
What a default request costs
With no parameters sent, the request uses these values: Duration — 5, Resolution — 720p, Source material — Text → video. That request costs $0.45.
Channels and prices for every parameter combination
For every channel, the price of every parameter combination. It is exactly the amount a successful generation is charged, and the same figure as in the machine-readable table linked below.
Pixelwan-2-6from $0.45exact prices
| Resolution \ Duration, sec | 5 s | 10 s | 15 s |
|---|---|---|---|
| 720p | $0.45 | $0.90 | $1.35 |
| 1080p | $0.671786 | $1.346786 | $2.025 |
Every combination as JSON: /api/media/price-table?model=wan-2-6
README
The machine-readable contract for Alibaba Wan 2.6 contains the request schema, operations, limits, polling and response examples.
# Alibaba Wan 2.6
Public model: wan-2-6
Create job: POST /api/media/generate
Check status: GET /api/media/jobs/{jobId}
## Input parameters
- `prompt` (text): text description; default: required
- `image_url` (URL): Public image URL; default: —
- `input` (option selection): Text → video (default) · Image → video · Flash: Image → video; default: Text → video
- `duration` (option selection): 5 (default) · 10 · 15; default: 5
- `resolution` (option selection): 720p (default) · 1080p; default: 720p
- `image_file_id` (text): Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…); default: —
- `image_base64` (text): Alternative to image_url: the file inline, as base64 or a data: URI; default: —
## Public variants
- `wan-2-6`: PixelFAQ about the Alibaba Wan 2.6 API
How much does Alibaba Wan 2.6 cost?
The price of Alibaba Wan 2.6: from $0.45 per clip. The price is calculated dynamically at the current exchange rate.
Is it compatible with the OpenAI SDK?
Yes, the API is fully OpenAI-compatible. Just change base_url to https://getvibeapi.com/v1 and set your key — the rest of the code stays the same.
Connect Alibaba Wan 2.6 right now
Sign up in a minute, pay per use, ready-made code above.
Get API key