Skip to main content
AnyAIGC

xAI · released January 2026 · video editing

Grok Imagine Video API

xAI’s first-generation video model generates picture and sound together, and can edit an uploaded video to change clothing or style. On AnyAIGC it starts at $0.0298 / sec, every tier about 40% below xAI’s list price, with unlimited concurrency.

  • Model grok-imagine-video
  • Price from $0.0298 / sec
  • Resolution 480p / 720p
  • Concurrency Unlimited
  • Business Self-service invoices
Restyled as animation · xAI video editing sample

What is Grok Imagine Video?

Grok Imagine Video (grok-imagine-video) is the video model xAI launched with the Grok Imagine API on January 28, 2026. It supports text to video, image to video and video editing, and its videos come with sound.

xAI’s launch post says it ranked #1 on the Artificial Analysis text-to-video leaderboard (data as of 2026-01-28). xAI has since released Video 1.5 and 1.5 Lite; the first-generation model has not been retired, and xAI’s docs now position it for editing and extending videos.

On AnyAIGC it costs $0.0298 / sec at 480p and $0.0417 / sec at 720p; image to video adds $0.00119 per input image, and video edits add $0.00596 per second of source video. xAI lists it at $0.05 (480p) and $0.07 (720p) / sec.

Model
grok-imagine-video
Create
/v1/videos/generations
Edit
/v1/videos/edits
Length
1–15 sec
Resolution
480p / 720p
Aspect ratio
16:9 / 9:16 / 1:1

What Grok Imagine Video can do

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

  • Edit an uploaded video

    Change clothing or colors with one sentence while the motion and camera stay the same.

  • Restyle the whole clip

    Turn live footage into animation, blocks and other looks, keeping the original movement.

  • Text to video and image to video

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

  • Native sound and dialogue

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

  • Products and try-on

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

  • 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

Upload a video and change clothing, colors or the whole look with 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. Per xAI’s docs the source video can be up to 8.7 seconds, and output is up to 720p with the same length as the source. You pay the output per-second price plus $0.00596 per second of source video.

Grok Imagine Video API pricing

Billed per second of output video: $0.0298 / sec at 480p, $0.0417 / sec at 720p.

  • Per secondBilled on video length, not tokens
  • Tiers480p / 720p
  • Image to video$0.00119 per input image
  • Video edits$0.00596 per second of source video
Grok Video API pricing (USD, per second)
ResolutionAnyAIGC per second5-second video10-second videoxAI list per second
Grok Imagine Video 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
Compare: Grok Imagine Video 1.5 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

Prices from the AnyAIGC model catalog. xAI list prices: $0.05 / sec at 480p, $0.07 / sec at 720p, $0.002 per input image, $0.01 per second of input video (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.

  • One 6-second clip

    6 sec × $0.0298

    $0.179

    480p

  • 100 ten-second clips

    100 × 10 sec × $0.0417

    $41.700

    720p

  • Edit one 6-second video

    6 sec × ($0.0298 + $0.00596)

    $0.215

    480p output

Grok Imagine Video use cases

  • Restyled as animation
    Creative

    Restyling and video edits

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

  • 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.

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 Imagine 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, then poll GET /v1/videos/{request_id} for the result.
Python · grok-imagine-video text to video
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",
        "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",
    "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 Imagine 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.

Specs and how to choose it

The official model page says grok-imagine-video takes text, image and video input and returns video.

The official video docs say grok-imagine-video goes up to 720p, and reference-to-video is limited to 10 seconds.

Duration can be set from 1 to 15 seconds with 8 as the default. Video editing cannot set a custom duration: the output keeps the original length, which is capped at 8.7 seconds.

This page lists (Grok Imagine Video grok-imagine-video Image to video adds $0.00119 per input image; Video edits add $0.00596 per second of source video) 480p at $0.0298 / sec, 720p at $0.0417 / sec; other tiers are in the pricing table above.

Compared with grok-imagine-video-1.5-preview: the official docs say 1.5 renders 1080p natively for text-to-video and image-to-video and adds voice references and pinned first, key or last frames.

Specs come from the vendor's official documentation (docs.x.ai). The table on this page is the price, and the model catalog is authoritative for live rates.

Grok Imagine Video API FAQ

How much does the Grok Imagine Video API cost?

On AnyAIGC, Grok Imagine Video (grok-imagine-video) is billed per second of output video: $0.0298 / sec at 480p and $0.0417 / sec at 720p. Image to video adds $0.00119 per input image, and video edits add $0.00596 per second of source video. A 6-second 480p clip costs about $0.179. xAI lists it at $0.05 (480p) and $0.07 (720p) / sec. 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 do I edit a video?

Send model, prompt and the source video (a URL) to POST /v1/videos/edits, describing what to change. Per xAI’s docs the source can be up to 8.7 seconds and output is up to 720p. Right now only grok-imagine-video in the series supports editing.

Is grok-imagine-video being retired?

Not at the moment. What xAI retired on November 2, 2026 was the image model grok-imagine-image-quality; the video models are not affected. xAI’s docs position the first-generation video model for editing and extending videos.

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.

Start calling Grok Imagine Video

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