Skip to main content
POST
Submit Grok Imagine Video 1.5 task

Submit task

prompt is required. Omit image_urls for text-to-video, or provide 1–7 public HTTP(S) image URLs for image-to-video; type is inferred when omitted. resolution is 480p or 720p (default) and duration is 6–15 seconds (default 6).
The gateway charges per second: 480p = 20, 720p = 37 credits. Reference images are not billed. Read /pricing for the current amount.

Authorizations

Authorization
string
header
required

Wizzx API key. This is not a JWT.

Body

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
required
Minimum string length: 1
type
enum<string>
Available options:
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>
default:16:9
Available options:
16:9,
9:16,
1:1,
3:2,
2:3
resolution
enum<string>
default:720p
Available options:
480p,
720p
duration
integer
default:6
Required range: 6 <= x <= 15

Response

Task accepted

code
enum<integer>
required
Available options:
0
message
string
required
Example:

"success"

data
object
required
request_id
string<uuid>
required