Skip to main content
POST
Submit Wan 2.6 Flash task

提交任务

image_urls 必填,且必须恰好包含一个公网 HTTP(S) 首帧图片。prompt 可选。输出始终无声,传 audio 或 audio_url 会被拒绝。resolution 为 720p(默认)或 1080p,duration 为 2–15 秒(默认 5)。
网关按秒计费:720p = 33、1080p = 54 积分/秒。具体积分以 /pricing 为准。

授权

Authorization
string
header
必填

Wizzx API key. This is not a JWT.

请求体

application/json

Image-to-video only, silent output. Provide exactly one first-frame image; the output aspect ratio follows the image. Billed per second by resolution.

image_urls
string<uri>[]
必填
Required array length: 1 element

Publicly reachable HTTP(S) URL.

Pattern: ^https?://
prompt
string

Optional prompt, at most 1500 characters.

Maximum string length: 1500
type
enum<string>
默认值:image-to-video
可用选项:
image-to-video
resolution
enum<string>
默认值:720p
可用选项:
720p,
1080p
duration
integer
默认值:5
必填范围: 2 <= x <= 15
negative_prompt
string
Maximum string length: 500
prompt_extend
boolean

Smart prompt rewriting. Enabled unless set to false.

shot_type
enum<string>

Single-shot or multi-shot narrative. Requires prompt_extend not to be false.

可用选项:
single,
multi
seed
integer
必填范围: x >= 0

响应

Task accepted

code
enum<integer>
必填
可用选项:
0
message
string
必填
示例:

"success"

data
object
必填
request_id
string<uuid>
必填