15¢ 3 seconds · checked 10 Nov 2026

Claude Code video generation

Generate the clip. Keep building.

Ask Claude Code for a video asset while you build. It can call a video provider through TaskFuel, save the MP4 in your project and add the player.

Claude Code handles the files and code. StableStudio generates the video; TaskFuel handles provider access and payment from your prepaid balance.

Works with

Claude Code video generation: what your agent gets.

One Grok Video request tested through Claude Code on 10 November 2026. Generation cost $0.15; four polls cost $0.00.

  • Generate a clip from a prompt

    Describe the shot and motion. This Grok Video route accepts 3, 6, 9, 12 or 15 seconds, at 480p or 720p. We tested three seconds at 720p in landscape.

    $0.15 for the tested request
  • Wait for the existing job

    Keep the returned job ID and pollUrl. Poll that job until complete or failed. Starting another generation creates a separate paid request.

    $0.00 per poll in this test
  • Save and use the video

    Download result.videoUrl into your project, check the file and add a video element. Keep the local file so the page does not depend on the provider URL.

    No additional TaskFuel call

Video generation in Claude Code, tested.

Claude Code quoted and submitted the job through TaskFuel, polled it to completion, then downloaded the MP4 and wrote a page using it. We verified browser playback and inspected frames.

AI-generated test clip: a paper report with red bars slides onto a tabletop. Silent web copy of the Grok Video result. Download MP4

TaskFuel test run ·

Charged $0.15

Your agent asked

Generate a three-second paper-report clip, save it as clip.mp4 and embed it in a local HTML page.
Data from
StableStudio · Grok Video

What came back

Generation charge
$0.15; four polls at $0.00
Downloaded result
3.04 seconds · 1280 × 720 · 24 fps
Local playback
Played to the end without a media error
Balance after call
$0.33

One internal workflow test, not a reliability benchmark. The web copy is compressed and silent; the downloaded original also contained audio.

Try it in your next task.

Connect TaskFuel in Claude Code using the shell setup guide below. Ask: “Generate a three-second 720p clip of a paper report sliding onto a desk. Show me the quote first. Save the completed MP4 in my project and add a video player with controls. Reuse the job ID while waiting.”

Connect TaskFuel in the environment where Claude Code is working. Keep the request with the project context and tell Claude Code where to save the result.

01

Name the task

Tell your agent what the output needs to contain.

02

See the price

Your agent shows the provider and price before spending.

03

Review the response

Check the output against your task. The call reports its cost and remaining balance.

When to use it.

Building a page

Add the missing video asset.

Generate a short shot, download the MP4 into the project and connect it to a native video player.

Testing a shot

Review one version before spending again.

Check motion and unwanted details in the returned clip. Each new generation is another paid request.

Choosing the right tool

Use code for code-based motion.

CSS or SVG animation may already do the job. Use a video model when you want generated footage. An existing provider connection may be enough.

Providers for this task.

CapabilityProvidersReference
VeoStableStudio, Otto AICompare providers · Endpoint data

Good Questions.

Can Claude Code generate video footage?

Claude Code can call an external video model through TaskFuel. In this test it used the TaskFuel CLI to quote and submit a Grok Video job through StableStudio, poll it, download the MP4 and write a local page with a video player.

What does TaskFuel add to Claude Code?

TaskFuel provides access and payment for the video provider using your existing balance. Claude Code still handles prompting, downloaded files and code changes. If you already have a suitable provider API connected, that may be enough.

What does a video cost?

The three-second, 720p Grok Video request in our 10 November 2026 test cost $0.15. Four status polls cost $0.00. Quote your exact settings before paying.

What formats were tested?

We requested three seconds, 720p and 16:9. The downloaded MP4 contained 3.04 seconds of H.264 video at 1280 × 720 and 24 fps, plus AAC audio. This page uses a compressed copy with audio removed.

Do I need a separate video subscription?

You need a TaskFuel account, funded balance and connected agent. This workflow uses TaskFuel for provider access and payment. Your Claude Code access is separate.

What if a job is pending or fails?

Poll the existing job. Do not buy another generation to check progress. If the TaskFuel call times out, recover its response with taskfuel result first. An accepted job can still fail later; check the final status before using the result.

Can I publish the generated clip?

Review the output and provider terms for your intended use. Only use reference images you have permission to provide. Generated media can contain unwanted details.

Does this create CSS animations or motion graphics?

This workflow generates video footage. Claude Code can also write CSS, SVG or animation code without a video-generation call. Choose the output your project actually needs.

Your agent can do things it couldn’t this morning.

$1 in free credit, no card required.

Start for Free