Grok Imagine Video 1.5 API

Image-to-video model that animates a source image with prompt-guided motion, up to 15 seconds at 480p or 720p across seven aspect ratios.

xAIVideo GenerationProprietary EndpointNew

About Grok Imagine Video 1.5

Image-to-video model that animates a source image with prompt-guided motion, up to 15 seconds at 480p or 720p across seven aspect ratios.

Also known as Grok Imagine Video, Grok-Imagine-Video-1.5

Grok Imagine Video 1.5 specs

Model ID
grok-imagine-video-1-5
Provider
xAI
Category
Video Generation
Input
text, image
Output
video
Endpoints
POST /v1/videos/generations

Grok Imagine Video 1.5 API pricing

Live pay-as-you-go rates from the EmpirioLabs catalog. You are billed only for what you use, with no monthly minimum.

Type
Spec
Rate
Image input
per image
$0.05
480p
per second
$0.096
720p
per second
$0.168
Compare on the full pricing page

How to call the Grok Imagine Video 1.5 API

Grok Imagine Video 1.5 runs through POST /v1/videos/generations. The request returns a job_id right away; poll GET /v1/jobs/{job_id} until the job completes and read the output URLs from the result. Get an API key from the EmpirioLabs dashboard.

cURL: submit the job
curl https://api.empiriolabs.ai/v1/videos/generations \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-imagine-video-1-5",
    "prompt": "Describe what you want Grok Imagine Video 1.5 to generate."
  }'
cURL: poll for the result
curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY"
Python
import requests

response = requests.post(
    "https://api.empiriolabs.ai/v1/videos/generations",
    headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    json={
        "model": "grok-imagine-video-1-5",
        "prompt": "Describe what you want Grok Imagine Video 1.5 to generate.",
    },
)
job = response.json()

# Generation runs as an async job. Poll until it completes.
import time
while True:
    status = requests.get(
        f"https://api.empiriolabs.ai/v1/jobs/{job['job_id']}",
        headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    ).json()
    if status.get("status") in ("completed", "failed"):
        print(status)
        break
    time.sleep(5)
Full Grok Imagine Video 1.5 API reference

Grok Imagine Video 1.5 API parameters

Request parameters supported by the Grok Imagine Video 1.5 API on EmpirioLabs. Defaults apply when a field is omitted.

ParameterTypeDefaultRange / valuesDescription
promptstring--Describe the motion and action to animate from the source image.
imagestring--Source image to animate. Public image URL, data URI, or uploaded image.
durationnumber101 to 15Length of the generated video in seconds.
resolutionenum720p480p, 720pOutput resolution. 480p renders faster, 720p is higher definition.
aspect_ratioenum-1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3Output aspect ratio. Defaults to the source image aspect ratio when omitted.

Good to know

Image-to-video model. Provide a source image and a prompt describing the motion to animate.

Defaults

  • 10 second duration (1 to 15 seconds supported)
  • 720p output (480p or 720p)
  • Aspect ratio follows the source image unless set

Controls

Supports a source image (URL or upload), prompt, duration, resolution, and aspect ratio.

Billing

  • Charged per second of generated video at the selected resolution (720p costs more per second than 480p), plus a per-source-image fee for the image you animate.
  • A request that fails validation or errors out before any video is produced is not billed.
  • A video that is produced but then blocked by content policy is still billed. This follows xAI usage policy, which charges for the generation even when the output is blocked by the content safety check. Keep prompts and source images within the usage policy to avoid this.

Grok Imagine Video 1.5 API: common questions

How much does the Grok Imagine Video 1.5 API cost?

On EmpirioLabs, Grok Imagine Video 1.5 is billed pay as you go: Image input $0.05 per image; 480p $0.096 per second; 720p $0.168 per second. The live rate card on this page always matches what the API charges.

Which endpoint does Grok Imagine Video 1.5 use?

Grok Imagine Video 1.5 is served through POST /v1/videos/generations on api.empiriolabs.ai with standard bearer-token authentication.

Can I try Grok Imagine Video 1.5 in the browser before integrating?

Yes. The EmpirioLabs playground runs Grok Imagine Video 1.5 in the browser with the same parameters the API exposes, so you can test prompts before writing code.

How do I get a Grok Imagine Video 1.5 API key?

Create an EmpirioLabs account, then generate a key under API Keys in the dashboard. Billing is pay-as-you-go credits, so you only pay for the requests you make.

Ready to use better endpoints?

Explore our models, or contact us about business inquiries, custom deployments, or anything else.