GET

/v1/schemas/openrouter/video/videos%2Fx-ai%2Fgrok-imagine-video-1.5

kind inputactivity videohash 3f67ae84extracted Jul 26, 2026version currentsource upstream spec ↗

Request body

10 properties · 1 required · 6 $defs
propertytypedescriptionconstraints
model*enumModel id (fixed for this model-constrained schema)x-ai/grok-imagine-video-1.5
aspect_ratioenumAspect ratio of the generated video16:9 | 9:16 | 1:1 | 4:3 | 3:4 | 3:2 · +3 more
callback_urlstringURL to receive a webhook notification when the video generation job completes. Overrides the workspace-level default callback URL if set. Must be HTTPS.format: uri
durationenumDuration of the generated video in seconds1 | 2 | 3 | 4 | 5 | 6 · +9 more · n ≥ 1
frame_imagesFrameImage[]Images to use as the first and/or last frame of the generated video. Each image must specify a frame_type of first_frame or last_frame. Frame types supported by this model: first_frame.
input_referencesInputReference[]Reference assets to guide video generation. Accepts image, audio, and video references. Audio and video references are only honored by providers that support them (currently BytePlus Seedance 2.0); other providers use image references and ignore the rest.
promptstringText prompt describing the video to generate. Optional for models that support generating a video from image input alone; required by all other models.
providerobjectProvider-specific passthrough configuration
resolutionenumResolution of the generated video480p | 720p | 1080p
sizestringExact pixel dimensions of the generated video in "WIDTHxHEIGHT" format (e.g. "1280x720"). Interchangeable with resolution + aspect_ratio.

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"openrouter","endpointId":"videos/x-ai/grok-imagine-video-1.5","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}