Skip to main content
POST
Submit Gemini Omni Flash task

提交任务

prompt 必填。文生视频省略 image_urls;首帧图生视频恰好传 1 个公网 HTTP(S) 图片;参考图生视频传 1 或 3 张图片。省略 type 时按图片数量推断(1 张 → 图生视频,3 张 → 参考图生视频)。
网关按视频固定计费:720p 与 1080p 在 4 / 6 / 8 / 10 秒时分别为 481 / 577 / 674 / 770 积分,4k 为 1,443 / 1,539 / 1,635 / 1,731 积分。具体积分以 /pricing 为准。

授权

Authorization
string
header
必填

Wizzx API key. This is not a JWT.

请求体

application/json

type is optional and inferred from image_urls: none means text-to-video, 1 image means image-to-video (first frame), 3 images means reference-to-video. reference-to-video accepts 1 or 3 images (2 is rejected). Billed per request by resolution and duration; reference images are not billed.

prompt
string
必填
Minimum string length: 1
type
enum<string>
可用选项:
text-to-video,
image-to-video,
reference-to-video
image_urls
string<uri>[]
Maximum array length: 3

Publicly reachable HTTP(S) URL.

Pattern: ^https?://
aspect_ratio
enum<string>
默认值:16:9
可用选项:
16:9,
9:16
resolution
enum<string>
默认值:720p
可用选项:
720p,
1080p,
4k
duration
enum<integer>
默认值:6
可用选项:
4,
6,
8,
10

响应

Task accepted

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

"success"

data
object
必填
request_id
string<uuid>
必填