How to Use fal video analysis in Gemini CLI
fal video analysis returns a text answer about what happens in a supplied video. Use it to describe scenes, summarize visible actions, or answer a focused question about footage.
Prompts to try with fal video analysis in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use fal video analysis on Big Buck Bunny at https://storage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4. Add its scene summary as a draft entry in this project's video catalog.
Use fal video analysis on Blender's Sintel at https://storage.googleapis.com/gtv-videos-bucket/sample/Sintel.mp4. Save a plain-language description of the visible action in the project's content directory.
Use fal video analysis on Blender's Elephants Dream at https://storage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4. Create a reviewable catalog description using the project's existing content format.
Use fal video analysis on Big Buck Bunny at https://storage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4. Ask about the setting and visible objects, then add the answer beside its entry in our media index.
Use fal video analysis on Sintel at https://storage.googleapis.com/gtv-videos-bucket/sample/Sintel.mp4. Draft a visual description and place it in this project's accessibility review queue.
How to set up fal video analysis in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run fal video analysis
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": "fal-ai/video-understanding", "input": { "video_url": "https://v3.fal.media/files/elephant/mLAMkUTxFMbe2xF0qpLdA_Ll9mDE8webFA6GAu3vD_M_71ee7217db1d4aa4af1d2f1ae060389b.mp4", "prompt": "What is happening in this video?" } }'
Then paste one of the prompts above: Gemini CLI finds fal video analysis on Spiral, shows the price and runs it.
fal video analysis providers and prices
Spiral runs fal video analysis through fal. Open a card for today's price, with every fee included.
Settings you can ask for
fal video analysis works from your video URL and prompt. Ask Gemini CLI for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Detailed analysis | on or off | off | Whether to request a more detailed analysis of the video |
Every API field of Video Understanding is on its tool page: open its card above.
What can you do with fal video analysis in Gemini CLI?
Build a video catalog with draft descriptions of the action and settings in authorized clips. A coding agent can use fal's text answers to populate reviewable entries in the project's existing catalog.
Draft video library descriptions
Ask for a short description of each authorized clip's setting and visible action, then review the drafts for a searchable video catalog.
Review product demonstrations
Ask which product actions appear in a demonstration and compare the answer with the planned demonstration checklist.
Prepare footage selection notes
Describe the settings, objects, and actions in authorized footage so an editor can shortlist clips for a brief.
Summarize animation references
Ask for a description of the action and setting in an open film, then use the answer as a starting point for an animation review.
Draft visual descriptions for accessibility
Request a plain-language description of visible events in an authorized educational clip for an accessibility editor to review.
Compare advertising footage
Ask the same question of each authorized advertisement, then compare the descriptions of product use and scene setting.
More on fal video analysis and Gemini CLI
Overview
fal video analysis in other agents
Questions about fal video analysis in Gemini CLI
Can Gemini CLI use fal video analysis?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run fal video analysis like any built-in tool.
How much does fal video analysis cost in Gemini CLI?
$0.013 per 5 seconds. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need a fal account to use fal video analysis in Gemini CLI?
No. Spiral runs fal video analysis on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up fal video analysis in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while fal video analysis runs?
fal video analysis runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.
What does fal return from a video?
The documented result is a text analysis answering the question asked about the supplied video. Use it for descriptions and focused questions about what happens in the footage.
Which video formats does fal list?
The endpoint's playground lists five accepted file types: MP4, MOV, WebM, M4V, and GIF.
Can fal read a video behind a login?
fal's documentation requires hosted file URLs to be publicly accessible. A video page that requires a login does not meet that requirement.
Are the video descriptions guaranteed to be accurate?
fal's terms explicitly warn that its AI features may generate incorrect information. Review descriptions against the footage before publishing them as factual accounts.
Does a public video URL give me permission to analyze it?
Public accessibility satisfies fal's hosted-file requirement, but fal's terms separately require the rights and permissions needed to submit the content. Check those permissions before submitting someone else's footage.
Start using fal video analysis in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


