Skip to main content
POST
Submit Grok Imagine Video 1.5 task

提交任务

prompt 必填。文生视频省略 image_urls;图生视频传 1–7 个公网 HTTP(S) 图片 URL;省略 type 时会自动推断。resolution 为 480p 或 720p(默认),duration 为 6–15 秒(默认 6)。
网关按秒计费:480p = 20、720p = 37 积分/秒,参考图不另收费。具体积分以 /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-7 images means image-to-video. With reference images the output follows the reference image's aspect ratio. Billed per second by resolution; reference images are not billed.

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

Publicly reachable HTTP(S) URL.

Pattern: ^https?://
aspect_ratio
enum<string>
默认值:16:9
可用选项:
16:9,
9:16,
1:1,
3:2,
2:3
resolution
enum<string>
默认值:720p
可用选项:
480p,
720p
duration
integer
默认值:6
必填范围: 6 <= x <= 15

响应

Task accepted

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

"success"

data
object
必填
request_id
string<uuid>
必填