Spiral gives your agent every tool with one account. Browse the tools →

Codex · Video

How to Use Grok Imagine 1.5 Lite Text to Video in Codex

Create short scenes from written descriptions, including camera movement, lighting, and sound. Unlike Grok Imagine 1.5 Lite Image to Video, it does not need a starting image.

Prompts to try with Grok Imagine 1.5 Lite Text to Video in Codex

Copy an example into Codex, or ask in your own words.

Read the project's creative brief and use Grok Imagine 1.5 Lite Text to Video to make a six-second, 720p, 16:9 café scene for the homepage: steam rises from one cup, slow push-in, soft morning light, quiet café ambience.

Grok Imagine 1.5 Lite Text to VideoCodex
Try asking
  • Use Grok Imagine 1.5 Lite Text to Video to create an eight-second, 720p, 9:16 campaign draft based on the project's launch brief. Show one sneaker landing on a court, a low fixed camera, afternoon light, and one audible footfall.

  • Use Grok Imagine 1.5 Lite Text to Video to make a six-second, 720p, 1:1 clay animation for the project's empty state: a small bird places one twig in a nest, with a fixed camera, soft studio light, and a gentle rustle.

  • Estimate, then generate a 5-second 9:16 clip with Grok Imagine 1.5 Lite Text to Video: a paper boat drifting down a rainy street. Save the result in ./assets.

  • Make a 10-second product teaser with Grok Imagine 1.5 Lite Text to Video for a smartwatch, slow orbit shot, studio lighting.

How to set up Grok Imagine 1.5 Lite Text to Video in Codex

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Grok Imagine 1.5 Lite Text to Video

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "fal",
        "model": "xai/grok-imagine-video/v1.5/lite/text-to-video",
        "input": {
          "prompt": "Anime schoolgirl bursting out of house door, cherry blossoms blowing, morning light, speed lines indicating rush, chibi-ready expressions, classic shojo…"
        }
      }'

Then paste one of the prompts above: Codex finds Grok Imagine 1.5 Lite Text to Video on Spiral, shows the price and runs it.

Grok Imagine 1.5 Lite Text to Video providers and prices

Spiral runs Grok Imagine 1.5 Lite Text to Video through fal. Open a card for today's price, with every fee included.

falVideo
Grok Imagine Video 1.5 Lite Text to Video
xai/grok-imagine-video/v1.5/lite/text-to-video

Settings you can ask for

Grok Imagine 1.5 Lite Text to Video works from your prompt. Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Duration1 to 156

Video duration in seconds.

Resolution480p, 720p, or 1080p720p

Resolution of the output video.

Aspect ratio16:9, 4:3, 3:2, 1:1, 2:3, 3:4, or 9:1616:9

Aspect ratio of the generated video.

Every API field of Grok Imagine Video 1.5 Lite Text to Video is on its tool page: open its card above.

What can you do with Grok Imagine 1.5 Lite Text to Video in Codex?

Create short video assets for a project's landing page, demo, or campaign. Have the coding agent turn the creative brief into a shot description, then review the result in the intended layout.

Product shot concepts

Draft a six-second shot of a mug, perfume bottle, or desk accessory. Specify one movement and a lighting treatment to review before planning a shoot.

Social ad drafts

Test a short visual hook, such as steam rising from coffee or a sneaker landing on a court. Keep each draft focused on one moment.

Storyboard motion studies

Turn a planned shot into a brief motion study. Compare a locked camera with a slow push-in before choosing the shot direction.

Short spoken introductions

Draft a presenter delivering one short greeting. Review the generated speech and lip sync before using the clip in an edited piece.

Establishing shot drafts

Describe a fictional street, café, or landscape and generate a short establishing shot without preparing a source image.

Animation style exploration

Try the same simple scene as clay animation, paper cutouts, or a painted cartoon. Compare the clips to choose an art direction.

Questions about Grok Imagine 1.5 Lite Text to Video in Codex

Can Codex use Grok Imagine 1.5 Lite Text to Video?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Grok Imagine 1.5 Lite Text to Video like any built-in tool.

How much does Grok Imagine 1.5 Lite Text to Video cost in Codex?

$0.234 per run at the default inputs. `resolution`: 480p $0.156, 720p (default) $0.234, 1080p $1.092. $0.039 per unit of `duration`. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

Do I need a fal account to use Grok Imagine 1.5 Lite Text to Video in Codex?

No. Spiral runs Grok Imagine 1.5 Lite Text to Video on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Grok Imagine 1.5 Lite Text to Video in Codex?

About two minutes: add the hosted server, then sign in.

Does Codex wait while Grok Imagine 1.5 Lite Text to Video runs?

Grok Imagine 1.5 Lite Text to Video runs in the background. Codex starts the run, checks on it and gives you the video when it's ready.

What is Grok Imagine 1.5 Lite best used for?

xAI recommends it for simple videos. Use it for short product shots, scene concepts, and brief animated moments with a clear action.

How long can a Grok Imagine 1.5 Lite video be?

A clip can last 1 to 15 seconds. For a longer piece, plan separate shots and edit them together.

Is Grok Imagine 1.5 Lite's 1080p output native?

Its 1080p output is upscaled from 720p. Inspect a 720p draft before deciding whether you need the larger output.

Can Grok Imagine 1.5 Lite generate speech?

Yes, it supports lip-synced speech. For a first attempt, request one short line and describe how the speaker should deliver it.

What should I put in a Grok Imagine 1.5 Lite prompt?

Describe the action, camera movement, lighting, and sound. As a starting approach, keep the clip focused on one action and give each instruction a concrete job.

Get started

Start using Grok Imagine 1.5 Lite Text to Video in Codex

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Codex:

Set up Codex

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options