How to Use HTML Video Renderer in Grok
Use HTML Video Renderer for animated titles, slides, and motion graphics with planned timing. Give the agent exact copy and scene timings so it can build a GSAP composition around your message.
Prompts to try with HTML Video Renderer in Grok
Copy an example into Grok, or ask in your own words.
Use HTML Video Renderer to create a 10-second announcement reading 'Registration opens Monday.' Show 'Three live workshops' at three seconds and 'Save the date' at seven seconds. Use simple text motion.
Use HTML Video Renderer for a 12-second event opener titled 'Community science night.' Bring in 'Thursday, 6 PM' after two seconds and 'Questions welcome' after five seconds. Hold the complete title for the ending.
Use HTML Video Renderer to explain 'Plan, draft, review' in 15 seconds. Give each step five seconds, make the transitions brief, and leave the rest of each scene for reading.
Use HTML Video Renderer to make an eight-second text sequence with 'Less clutter,' 'Clearer labels,' and 'Faster decisions.' Start each line a quarter second after the previous line and let the motion slow to a stop.
Use HTML Video Renderer for a 16-second comparison of 'Weekly review' and 'Monthly review.' Give each approach eight seconds and use matching text sizes and transition timing.
How to set up HTML Video Renderer in Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok 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 HTML Video Renderer
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": "spiral", "model": "render-video", "input": { "code": "<code>", "durationInFrames": 1 } }'
Then paste one of the prompts above: Grok finds HTML Video Renderer on Spiral, shows the price and runs it.
HTML Video Renderer providers and prices
Spiral runs HTML Video Renderer through Spiral. Open a card for today's price, with every fee included.
$0.500001 for any video up to 10 minutes (durationInFrames / fps), then by the second up to $1.500002 at 30 minutes. Held and charged exactly; a refused composition is free.
Settings you can ask for
HTML Video Renderer works from your code. Ask Grok for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Duration in frames | 1 to 108000 | The video's length in frames; durationInFrames / fps is its length in seconds, at most 1,800 (30 minutes), and must equal the root's data-duration. | |
| FPS | 1 to 60 | 30 | Frames per second. |
| Width | 100 to 3840 | 1920 | Width in pixels; must equal the root's data-width. |
| Height | 100 to 2160 | 1080 | Height in pixels; must equal the root's data-height. |
Every API field of HTML Video Renderer is on its tool page: open its card above.
What can you do with HTML Video Renderer in Grok?
Turn a written brief into a sequence of animated messages with clear reading time. Describe scene order, text, and motion in ordinary language, then have the agent translate that direction into GSAP timing.
Release announcement
Present a release headline, three changes, and a closing message. Give each change its own timed scene.
Weekly metric recap
Turn approved numbers into a sequence of labeled slides. Reveal each result separately and hold the final summary for reading.
Event title sequence
Animate an event name, date, and session title with staggered text starts.
Process explainer
Explain a process with one step per scene and precisely timed transitions between steps.
Text announcement
Give a short announcement a headline, supporting detail, and closing instruction using restrained text motion.
Training slides
Build a sequence of definitions, examples, and recap slides. Specify reading holds separately from transitions.
Comparison presentation
Present two approaches with matching labels and reveal corresponding points at the same time.
HTML Video Renderer success rate and speed on Spiral
Success and speed over the last 24 hours, across every run of these tools on Spiral.
| Tool | Success | Median time | Runs |
|---|---|---|---|
| HTML Video Renderer | 98.9% | 1m 58s | 181 |
More on HTML Video Renderer and Grok
HTML Video Renderer in other agents
Questions about HTML Video Renderer in Grok
Can Grok use HTML Video Renderer?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run HTML Video Renderer like any built-in tool.
How much does HTML Video Renderer cost in Grok?
$0.500001 for any video up to 10 minutes (`durationInFrames` / `fps`), then by the second up to $1.500002 at 30 minutes. Held and charged exactly; a refused composition is free. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.
Do I need a Spiral account to use HTML Video Renderer in Grok?
No. Spiral runs HTML Video Renderer on its own Spiral account. You sign in to Spiral once and never paste a key.
How long does it take to set up HTML Video Renderer in Grok?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while HTML Video Renderer runs?
HTML Video Renderer runs in the background. Grok starts the run, checks on it and gives you the video when it's ready.
What should I include in an HTML Video Renderer prompt?
Specify the exact text, scene order, and when each scene should start and end. Ask for the animation to be organized on a GSAP timeline so timing changes are easier to manage.
How do I make titles appear one after another?
Ask for staggered text starts and give the gap in seconds. For example, request that each line begin 0.2 seconds after the previous line.
How can I control the exact timing of a scene?
Give absolute start times, such as a headline at zero seconds and a supporting line at two seconds. GSAP supports positioning animations at specific times on a timeline.
How do I change the feel of the animation?
Describe whether movement should stay at a constant speed, slow down as it finishes, or bounce. Ask the agent to choose easing explicitly rather than rely on the GSAP default.
What should I check when previewing the composition?
Inspect the opening, each transition, and the ending by seeking to their timestamps. GSAP seek() suppresses callbacks by default, so check any visuals that depend on callbacks especially carefully.
Start using HTML Video Renderer in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


