Skip to main content
AnyAIGC

xAI · Grok Imagine video series

Grok Video API

xAI’s video models generate picture and sound together. One key covers the whole series, from $0.0119 / sec, every tier about 40% below xAI’s list price, with unlimited concurrency.

  • Models 3
  • Price from $0.0119 / sec
  • Length 1–15 sec
  • Concurrency Unlimited
  • Business Self-service invoices
A cinematic hotel lobby with ambient sound · xAI sample, with sound

Which Grok Video models are there?

All three are live on AnyAIGC, billed per second. Change the model field to switch.

  • Recommended

    Grok Imagine Video 1.5

    grok-imagine-video-1.5-preview

    xAI’s new-generation video model, released in June 2026, with better visuals, motion and dialogue.

    • Text to video, image to video
    • Lip-synced dialogue
    • 480p / 720p

    from $0.0476 / sec

  • Lowest price

    Grok Imagine Video 1.5 Lite

    grok-imagine-video-1.5-lite

    A lighter, cheaper Video 1.5 for high-volume jobs and quick drafts.

    • Text to video, image to video
    • 480p / 720p / 1080p
    • Lowest per-second price in the series

    from $0.0119 / sec

  • Grok Imagine Video

    grok-imagine-video

    The first-generation video model, launched with the Imagine API in January 2026.

    • Text to video, image to video
    • Edits uploaded videos
    • 480p / 720p

    from $0.0298 / sec

What the Grok video models can do

These clips were generated by Grok Imagine and come from xAI’s official pages. Click to play (with sound).

  • Native sound and dialogue

    Picture, sound effects, ambience and dialogue come out in one pass, with lip sync, so there’s no voiceover step.

  • Text to video and image to video

    Generate a clip from one sentence, or upload a first frame and bring it to life.

  • Products and try-on

    Put a product shot and a person in the same clip, handy for e-commerce and virtual try-on.

  • Mockups to real footage

    Turn sketches, 3D models or prototypes into realistic shots, then swap the setting.

  • Ad-ready mood pieces

    Detailed light, materials and camera moves for perfume, drink and fashion ads.

  • 1–15 seconds, several ratios

    Set the length from 1 to 15 seconds and pick 16:9 landscape, 9:16 vertical or 1:1 square.

Video editing: new colors, new styles

The first-generation grok-imagine-video takes an uploaded video and changes clothing, colors or the whole look from one instruction, keeping the motion intact (xAI samples).

Swap the outfit

  • SourceSource video
  • Result 1Hoodie swapped for leopard fur
  • Result 2Hoodie recolored red

Change the style

  • SourceOriginal: a train through the city
  • Result 1Restyled as animation
  • Result 2Restyled in blocks

Edits go through POST /v1/videos/edits. Only grok-imagine-video supports them today; output is up to 720p and matches the source length.

Grok video API pricing

Billed per second of output video, tiered by resolution, from $0.0119 / sec.

  • Per secondBilled on video length, not tokens
  • Tiers480p / 720p / 1080p
  • Image to video$0.00119–$0.00596 per input image
  • Unlimited concurrencyOn every account by default
Grok Video API pricing (USD, per second)
ResolutionAnyAIGC per second5-second video10-second videoxAI list per second
Grok Imagine Video 1.5 (recommended) grok-imagine-video-1.5-previewImage to video adds $0.00596 per input image
480p$0.0476 / sec$0.238$0.476$0.08 / sec
720p$0.0834 / sec$0.417$0.834$0.14 / sec
Grok Imagine Video 1.5 Lite (lowest price) grok-imagine-video-1.5-liteImage to video adds $0.00596 per input image
480p$0.0119 / sec$0.060$0.119$0.02 / sec
720p$0.0179 / sec$0.089$0.179$0.03 / sec
1080p$0.0834 / sec$0.417$0.834$0.14 / sec
Grok Imagine Video (video editing) grok-imagine-videoImage to video adds $0.00119 per input image; Video edits add $0.00596 per second of source video
480p$0.0298 / sec$0.149$0.298$0.05 / sec
720p$0.0417 / sec$0.209$0.417$0.07 / sec

Prices from the AnyAIGC model catalog. xAI list prices: Video 1.5 $0.08 (480p) and $0.14 (720p) / sec; 1.5 Lite $0.02 (480p), $0.03 (720p) and $0.14 (1080p) / sec; Video $0.05 (480p) and $0.07 (720p) / sec (xAI pricing). Billed per second of successfully generated video. Live prices are on the model catalog.

Cost examples

Per-second price times duration. Image-to-video adds the input image charge.

  • 100 six-second drafts

    100 × 6 sec × $0.0119

    $7.140

    1.5 Lite, 480p

  • 100 ten-second ads

    100 × 10 sec × $0.0834

    $83.400

    Video 1.5, 720p

  • 100 eight-second image-to-video clips

    100 × (8 sec × $0.0298 + $0.00119)

    $23.959

    Video, 480p

Grok video API use cases

  • A clothing ad set in an orchard
    E-commerce

    Product videos and try-on

    Turn product shots into showcase clips or dress a model in a chosen outfit, at catalog scale.

  • Moonlit dunes for a perfume ad
    Advertising

    Brand ad creative

    Spin up several 6–10 second versions of one concept for ad testing.

  • Skincare at a mirror, with speech
    Short video

    Talking clips and skits

    Characters speak with lip sync, good for talking-head clips, skits and social content.

  • A walkthrough of a bright apartment
    Real estate

    Home walkthroughs

    Generate a walkthrough from one interior photo to show off the layout and finish.

  • 3D mockup to footage: a building on the Moon
    Design

    Prototype and concept videos

    Turn 3D models or design files into realistic footage for pitches and launches.

  • Restyled as animation
    Creative

    Restyling and video edits

    Use the first-generation model to restyle existing footage or recolor clothing while keeping the motion.

Why call it through AnyAIGC

  • One key, 300+ models

    Grok Imagine, Sora, Veo, Kling and other video models share one API key and one balance with chat and image models.

  • No xAI account needed

    The endpoint https://anyaigc.ai needs no xAI account.

  • Below xAI list price

    Billed per second, with every tier about 40% below xAI’s list price and every charge visible in the console.

  • Unlimited concurrency

    Every account runs without a concurrency cap, so batch jobs don’t wait for approval.

Get started with the Grok video API

  1. Sign up for AnyAIGC. New accounts get 5M free tokens, and you can top up from $1.
  2. Create an API key in the console and save it as the ANYAIGC_API_KEY environment variable.
  3. Submit a job to POST https://anyaigc.ai/v1/videos/generations with model set to grok-imagine-video-1.5-preview, then poll GET /v1/videos/{request_id} for the result.
Python · text to video + polling
import os
import time
import requests

API_KEY = os.environ["ANYAIGC_API_KEY"]
HEADERS = {"Authorization": "Bearer " + API_KEY}

# 1. Submit the job
task = requests.post(
    "https://anyaigc.ai/v1/videos/generations",
    headers=HEADERS,
    json={
        "model": "grok-imagine-video-1.5-preview",
        "prompt": "A small seaside town at dawn, an orange cat strolls down stone steps, sound of waves and distant gulls, cinematic",
        "duration": 6,  # 1-15 seconds, billed per second
        "aspect_ratio": "16:9",  # 16:9 / 9:16 / 1:1
        "resolution": "720p",  # higher resolution costs more per second
    },
    timeout=60,
).json()
task_id = task.get("request_id") or task.get("id")

# 2. Poll for the result (usually tens of seconds to a few minutes)
while True:
    r = requests.get(f"https://anyaigc.ai/v1/videos/{task_id}", headers=HEADERS, timeout=30).json()
    if r.get("status") in ("done", "completed", "succeeded"):
        print(r.get("video_url") or r["video"]["url"])  # temporary link, download it soon
        break
    if r.get("status") in ("failed", "expired"):
        raise RuntimeError(r)
    time.sleep(10)
cURL · image to video
# Submit an image-to-video job: image is the first frame, aspect ratio follows the image
curl https://anyaigc.ai/v1/videos/generations \
  -H "Authorization: Bearer $ANYAIGC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-imagine-video-1.5-lite",
    "prompt": "Slow push-in, the person turns and smiles",
    "image": {"url": "https://example.com/first-frame.jpg"},
    "duration": 5,
    "aspect_ratio": "16:9",
    "resolution": "480p"
  }'

# Check the job; when status is done, read the video link
curl https://anyaigc.ai/v1/videos/<request_id> \
  -H "Authorization: Bearer $ANYAIGC_API_KEY"
cURL · edit an uploaded video
# Edit a video: source video URL + an instruction; output length matches the source
curl https://anyaigc.ai/v1/videos/edits \
  -H "Authorization: Bearer $ANYAIGC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-imagine-video",
    "prompt": "Change the hoodie to red, keep everything else the same",
    "video": {"url": "https://example.com/source.mp4"},
    "aspect_ratio": "16:9",
    "resolution": "480p"
  }'
# You get a job ID back; poll GET /v1/videos/<request_id> the same way

Video generation is asynchronous: you get a job ID back, poll until it completes, then fetch the video link. The link is temporary, so download it promptly. Field reference in the AnyAIGC docs: Create video, Get video, Edit video.

Grok Video API for teams and enterprises

Short-video studios, e-commerce teams and content platforms can buy through a proper business process, with support for finance, legal and engineering.

  • Invoices

    Issue them yourself

    Issue an invoice in the console for the amount you actually topped up, whenever you need one.

  • Dedicated support

    Account and technical contacts

    Work with a dedicated support contact and technical engineer for onboarding, migration and troubleshooting.

Payment methods
  • WeChat Pay
  • Alipay
  • USDT
  • Credit card

Why teams trust AnyAIGC

Trial credit, top-ups, refunds, data handling and billing, spelled out up front.

  • 5M free tokens to start

    New accounts get trial credit, so you can test before you top up.

  • Top up from $1, refundable

    Top up from $1. Unused balance can be refunded with no fee.

  • Official channels, real models

    Requests go to official model channels, never cheaper or reverse-engineered substitutes.

  • No retention, no training

    Unless the law requires it, your prompts and outputs are not persistently stored or used for training. See the privacy policy.

  • Transparent billing, spend caps

    See tokens and cost for every request in the console, and set a quota on each API key.

  • 24/7 support

    Contact support any time about integration, billing or incidents.

Grok Video API FAQ

How much does the Grok video API cost?

On AnyAIGC you pay per second of output video: Video 1.5 is $0.0476 (480p) and $0.0834 (720p) / sec; 1.5 Lite is $0.0119 (480p), $0.0179 (720p) and $0.0834 (1080p) / sec; Video is $0.0298 (480p) and $0.0417 (720p) / sec. Image to video adds a per-image input charge. A 6-second 1.5 Lite clip at 480p costs about $0.071. Live prices are on the model catalog.

Video 1.5, 1.5 Lite or Video: which one should I use?

Grok Imagine Video 1.5 (grok-imagine-video-1.5-preview) leads the series on visuals, motion and dialogue, from $0.0476 / sec, a good fit for ads and finished pieces. 1.5 Lite (grok-imagine-video-1.5-lite) is the cheapest in the series, from $0.0119 / sec, goes up to 1080p, and suits high-volume jobs and drafts. Grok Imagine Video (grok-imagine-video) is the first-generation model, from $0.0298 / sec, and the only one in the series that edits an uploaded video.

How long can a video be? Which resolutions and aspect ratios are supported?

duration takes 1–15 seconds and you pay for the actual length. resolution: Video 1.5 and Video support 480p and 720p; 1.5 Lite supports 480p, 720p and 1080p. aspect_ratio supports 16:9, 9:16 and 1:1; for image to video the frame follows the input image.

Why don’t I get the video back right away?

Video generation is asynchronous. Submitting returns a job ID; poll GET /v1/videos/{request_id} about every 10 seconds and read the video link once the job completes. Most jobs take tens of seconds to a few minutes. The link is temporary, so download and store the file promptly.

Do the videos have sound?

Yes. Grok Imagine generates picture and sound together, including sound effects, ambience and dialogue, so you don’t need a separate voiceover. Video 1.5 and 1.5 Lite support lip-synced speech.

Do I need an xAI account?

No xAI account needed. Sign up on AnyAIGC to get an API key. The endpoint is https://anyaigc.ai, and the same key works with 300+ other models on the platform.

Is there a concurrency limit?

AnyAIGC sets no concurrency limit on the Grok Video models. Every account gets this by default, so batch jobs don’t need a quota request.

Can I get an invoice from AnyAIGC?

Yes. You can issue invoices yourself in the console, for the amount you actually topped up.

Which payment methods are supported?

You can top up with WeChat Pay, Alipay, USDT or a credit card. Your balance is in USD and works across every model on the platform. Invoices can be issued in the console for the amount you topped up.

Is there free trial credit for new users?

Yes. New accounts get 5 million tokens of trial credit, so you can test before deciding to top up. Top-ups start at $1.

Can I get a refund on my balance?

Yes. Unused balance can be refunded with no fee. Contact support to start a refund.

Are these the real models? Is my data safe?

Requests go to official model channels, never cheaper or reverse-engineered substitutes. Unless the law requires it, we do not persistently store your prompts or outputs or use them for training, and the console shows tokens and cost for every request.

Can I use the videos commercially?

Usage rights and content policy follow xAI’s official terms. AnyAIGC only provides API access and adds no extra restrictions on what you do with the output.

Start calling the Grok video API

Sign up for 5M free tokens. From $0.0119 / sec, unlimited concurrency.