Create WAN 3.0 Prime — Image To Video
curl --request POST \
--url https://api.apisale.ai/v1/run/alibaba/wan-3.0-prime/image-to-video \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"audio": true,
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"enable_thinking": false,
"enable_safety_checker": true,
"enable_prompt_expansion": true,
"prompt": "Subtle camera orbit around the subject, natural micro-motion, preserve identity, clean photoreal",
"start_image_url": "https://assets.apisale.ai/permanent/official/google/nano-banana-2/example-t2i-01.png"
}
}
'import requests
url = "https://api.apisale.ai/v1/run/alibaba/wan-3.0-prime/image-to-video"
payload = { "input": {
"audio": True,
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"enable_thinking": False,
"enable_safety_checker": True,
"enable_prompt_expansion": True,
"prompt": "Subtle camera orbit around the subject, natural micro-motion, preserve identity, clean photoreal",
"start_image_url": "https://assets.apisale.ai/permanent/official/google/nano-banana-2/example-t2i-01.png"
} }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: {
audio: true,
duration: 5,
resolution: '720p',
aspect_ratio: '16:9',
enable_thinking: false,
enable_safety_checker: true,
enable_prompt_expansion: true,
prompt: 'Subtle camera orbit around the subject, natural micro-motion, preserve identity, clean photoreal',
start_image_url: 'https://assets.apisale.ai/permanent/official/google/nano-banana-2/example-t2i-01.png'
}
})
};
fetch('https://api.apisale.ai/v1/run/alibaba/wan-3.0-prime/image-to-video', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"run_id": "<string>",
"endpoint": "<string>",
"model": "<string>",
"capability": "<string>",
"mode": "<string>",
"status": "queued",
"created_at": "2023-11-07T05:31:56Z",
"output": {},
"error": {
"type": "<string>",
"code": 123,
"message": "<string>"
},
"billing": {
"amount": "<string>",
"currency": "usd"
},
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"elapsed_ms": 123
}Alibaba
WAN 3.0 Prime — Image To Video
Alibaba WAN 3.0 Prime — WAN 3.0 capability with significantly faster end-to-end generation. Optimized for image to video via apisale.
POST
/
v1
/
run
/
alibaba
/
wan-3.0-prime
/
image-to-video
Create WAN 3.0 Prime — Image To Video
curl --request POST \
--url https://api.apisale.ai/v1/run/alibaba/wan-3.0-prime/image-to-video \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"audio": true,
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"enable_thinking": false,
"enable_safety_checker": true,
"enable_prompt_expansion": true,
"prompt": "Subtle camera orbit around the subject, natural micro-motion, preserve identity, clean photoreal",
"start_image_url": "https://assets.apisale.ai/permanent/official/google/nano-banana-2/example-t2i-01.png"
}
}
'import requests
url = "https://api.apisale.ai/v1/run/alibaba/wan-3.0-prime/image-to-video"
payload = { "input": {
"audio": True,
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"enable_thinking": False,
"enable_safety_checker": True,
"enable_prompt_expansion": True,
"prompt": "Subtle camera orbit around the subject, natural micro-motion, preserve identity, clean photoreal",
"start_image_url": "https://assets.apisale.ai/permanent/official/google/nano-banana-2/example-t2i-01.png"
} }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: {
audio: true,
duration: 5,
resolution: '720p',
aspect_ratio: '16:9',
enable_thinking: false,
enable_safety_checker: true,
enable_prompt_expansion: true,
prompt: 'Subtle camera orbit around the subject, natural micro-motion, preserve identity, clean photoreal',
start_image_url: 'https://assets.apisale.ai/permanent/official/google/nano-banana-2/example-t2i-01.png'
}
})
};
fetch('https://api.apisale.ai/v1/run/alibaba/wan-3.0-prime/image-to-video', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"run_id": "<string>",
"endpoint": "<string>",
"model": "<string>",
"capability": "<string>",
"mode": "<string>",
"status": "queued",
"created_at": "2023-11-07T05:31:56Z",
"output": {},
"error": {
"type": "<string>",
"code": 123,
"message": "<string>"
},
"billing": {
"amount": "<string>",
"currency": "usd"
},
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"elapsed_ms": 123
}Overview
Alibaba WAN 3.0 Prime — WAN 3.0 capability with significantly faster end-to-end generation. Optimized for image to video via apisale.Docs = API contract + Try it (snapshot). Explore = browser playground. Model page = product examples.
Endpoint
POST https://api.apisale.ai/v1/run/alibaba/wan-3.0-prime/image-to-video
| Model slug | alibaba/wan-3.0-prime/image-to-video |
| Category | Image to Video (image-to-video) |
| Lab | Alibaba |
| Mode | async |
Pricing
From $0.048/sec apisale price is 30% below the vendor’s official list price.| Tier | Unit | Official price | apisale price |
|---|---|---|---|
| 480p | second | $0.068 | $0.048 |
| 720p | second | $0.140 | $0.098 |
| 1080p | second | $0.280 | $0.196 |
Official price = vendor list price. apisale price = what you pay through apisale.
Request
{
"input": {
"audio": true,
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"enable_thinking": false,
"enable_safety_checker": true,
"enable_prompt_expansion": true,
"prompt": "Subtle camera orbit around the subject, natural micro-motion, preserve identity, clean photoreal",
"start_image_url": "https://assets.apisale.ai/permanent/official/google/nano-banana-2/example-t2i-01.png"
}
}
Parameters
Fields marked * are required. UseAuthorization: Key YOUR_API_KEY for REST.
number
Optional random seed for reproducibility. Range: 0 – 2147483647
boolean
Include generated audio. Default:
truestring
Text prompt describing the motion to generate.
number
Output duration in seconds (2-30). Default:
5 Range: 2 – 30string
Default:
1080p Values: 480p, 720p, 1080pstring
Default:
adaptive Values: adaptive, 16:9, 4:3, 1:1, 3:4, 9:16string
Optional last frame of the generated video.
boolean
Enhanced reasoning before generation. Default:
falsestring
required
First frame of the generated video.
boolean
Content moderation on input and output. Default:
trueboolean
Intelligent prompt rewriting; disabling saves ~20-60s latency but may degrade quality. Default:
truestring
Optional HTTPS webhook when the run reaches a terminal state.
boolean
Block until completion (same Run response shape).
Input schema
Input schema
{
"params": {
"seed": {
"max": 2147483647,
"min": 0,
"type": "int",
"description": "Optional random seed for reproducibility."
},
"audio": {
"type": "bool",
"default": true,
"description": "Include generated audio."
},
"prompt": {
"type": "string",
"max_length": 10000,
"description": "Text prompt describing the motion to generate."
},
"duration": {
"max": 30,
"min": 2,
"type": "int",
"default": 5,
"description": "Output duration in seconds (2-30)."
},
"resolution": {
"type": "enum",
"values": [
"480p",
"720p",
"1080p"
],
"default": "1080p"
},
"aspect_ratio": {
"type": "enum",
"values": [
"adaptive",
"16:9",
"4:3",
"1:1",
"3:4",
"9:16"
],
"default": "adaptive"
},
"end_image_url": {
"type": "media",
"description": "Optional last frame of the generated video."
},
"enable_thinking": {
"type": "bool",
"default": false,
"description": "Enhanced reasoning before generation."
},
"start_image_url": {
"type": "media",
"required": true,
"description": "First frame of the generated video."
},
"enable_safety_checker": {
"type": "bool",
"default": true,
"description": "Content moderation on input and output."
},
"enable_prompt_expansion": {
"type": "bool",
"default": true,
"description": "Intelligent prompt rewriting; disabling saves ~20-60s latency but may degrade quality."
}
}
}
Submit response
Returns a Run withrun_id. Poll with GET /v1/runs/{run_id} or use Try it above.
string
required
Unique run ID — save for polling and webhooks.
string
required
queued (async) or terminal state for sync runs.object
Result when
status is succeeded — see Output schema below.Example (async submit)
{
"run_id": "run_550e8400-e29b-41d4-a716-446655440000",
"endpoint": "alibaba/wan-3.0-prime/image-to-video",
"model": "image-to-video",
"capability": "video",
"mode": "image-to-video",
"status": "queued",
"output": null,
"error": null,
"billing": null,
"created_at": "2026-06-27T12:00:00.000Z",
"started_at": null,
"completed_at": null,
"elapsed_ms": null
}
Output
Whenstatus is succeeded, output follows this schema:
Output schema
Output schema
{
"type": "object",
"example": {
"videos": [
{
"url": "https://example.com/out.mp4",
"content_type": "video/mp4"
}
]
},
"required": [
"videos"
],
"properties": {
"videos": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string"
},
"file_name": {
"type": "string"
},
"content_type": {
"type": "string"
}
}
}
}
},
"description": "Succeeded task output: single video URL."
}
Example
curl -X POST "https://api.apisale.ai/v1/run/alibaba/wan-3.0-prime/image-to-video" \
-H "Authorization: Key YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"audio": true,
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"enable_thinking": false,
"enable_safety_checker": true,
"enable_prompt_expansion": true,
"prompt": "Subtle camera orbit around the subject, natural micro-motion, preserve identity, clean photoreal",
"start_image_url": "https://assets.apisale.ai/permanent/official/google/nano-banana-2/example-t2i-01.png"
}
}'
Related
Authorizations
Key sk-... (native REST) or Bearer sk-... (vendor SDKs)
Body
application/json
Show child attributes
Show child attributes
Example:
{
"audio": true,
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"enable_thinking": false,
"enable_safety_checker": true,
"enable_prompt_expansion": true,
"prompt": "Subtle camera orbit around the subject, natural micro-motion, preserve identity, clean photoreal",
"start_image_url": "https://assets.apisale.ai/permanent/official/google/nano-banana-2/example-t2i-01.png"
}
Response
201 - application/json
Run accepted
Unique run identifier
Model slug
Available options:
queued, processing, succeeded, failed, timeout, cancelled Show child attributes
Show child attributes
Show child attributes
Show child attributes
