aspect_ratiostring · optionalValue supplied for aspect ratio.
enum: 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16
Loading tools…
xAI
Generate video from one to seven reference images and a tagged text prompt with duration and aspect-ratio controls.
Create a 480p or 720p Grok Imagine Video 1.5 clip guided by one to seven public reference images tagged in the prompt. Duration, resolution, aspect ratio and reference count are known before the run, and Scrollport preserves the generated MP4 as a private artifact.
Agents select this operation with tool ID xai.grok-imagine-video-1-5-reference-to-video, then check its current inputs and price before a run.
aspect_ratiostring · optionalValue supplied for aspect ratio.
enum: 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16
durationinteger · optionalValue supplied for duration.
minimum: 1 · maximum: 15
promptstring · requiredInstruction describing the requested generated output.
minLength: 1 · maxLength: 4096
reference_image_urlsarray · requiredValue supplied for reference image urls.
minItems: 1 · maxItems: 7
resolutionstring · optionalValue supplied for resolution.
enum: 480p, 720p
notestringReturned note value.
videoobjectReturned video value.
Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.
{
"tool_id": "xai.grok-imagine-video-1-5-reference-to-video",
"input": {
"prompt": "the person from <IMAGE_0> walks through a rain-lit street while the camera follows at eye level",
"duration": 3,
"resolution": "480p",
"aspect_ratio": "16:9",
"reference_image_urls": [
"https://v3b.fal.media/files/b/0a8b90e0/BFLE9VDlZqsryU-UA3BoD_image_004.png"
]
}
}{
"note": "video returned as an artifact",
"video": {
"audio": true,
"resolution": "480p",
"content_type": "video/mp4",
"duration_seconds": 3
}
}invalid_input: reference_image_urls must contain 1–7 public image URLs and duration must be 1–15 secondsexample: {"prompt":"the person from <IMAGE_0> walks through a rain-lit street while the camera follows at eye level","reference_image_urls":["https://v3b.fal.media/files/b/0a8b90e0/BFLE9VDlZqsryU-UA3BoD_image_004.png"],"duration":3,"resolution":"480p","aspect_ratio":"16:9"}Use verified tools with pay-per-use pricing. Provider access is included. Tools that work in your own apps ask you to connect that account.
Connect your first agent to receive $1 trial credit.