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

Grok Build · Video

How to Use HTML Video Renderer in Grok Build

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 Build

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

Use HTML Video Renderer to make a 15-second release announcement from CHANGELOG.md. Choose three user-facing changes, give each four seconds, and reserve the final three seconds for the release name.

HTML Video RendererGrok Build
Try asking
  • Use HTML Video Renderer to turn the project's onboarding copy into a 20-second, four-scene explainer. Keep the wording exact and separate each text transition from its reading hold.

  • Use HTML Video Renderer to present the approved numbers in metrics.json as a 12-second recap. Show one labeled result every three seconds and keep the labels visible.

  • Use HTML Video Renderer for an eight-second project title sequence. Follow the repository's typography and colors, stagger three text lines by 0.2 seconds, and hold the completed title for the last three seconds.

  • Use HTML Video Renderer to revise the existing composition. Put the headline at zero seconds, supporting text at two seconds, and closing message at six seconds; inspect those timestamps before rendering.

How to set up HTML Video Renderer in Grok Build

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

Use Spiral's MCP server

  1. Add the server

    Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

    grok mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

  3. Check it
    grok mcp doctor spiral

Use the Spiral skill

  1. Send Grok Build 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 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 Build 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.

SpiralVideo

Settings you can ask for

HTML Video Renderer works from your code. Ask Grok Build for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Duration in frames1 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.

FPS1 to 6030

Frames per second.

Width100 to 38401920

Width in pixels; must equal the root's data-width.

Height100 to 21601080

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 Build?

Turn project copy and approved data into timed titles, slides, and motion graphics. Ask the agent to organize the GSAP animation into named scenes so revisions have clear targets.

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.

Success rate
98.9%
Fastest median run time
1m 50s
Runs, last 24 hours
177
ToolSuccessMedian timeRuns
HTML Video Renderer98.9%1m 50s177

Questions about HTML Video Renderer in Grok Build

Can Grok Build use HTML Video Renderer?

Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run HTML Video Renderer like any built-in tool.

How much does HTML Video Renderer cost in Grok Build?

$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 Build plan is separate.

Do I need a Spiral account to use HTML Video Renderer in Grok Build?

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 Build?

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

Does Grok Build wait while HTML Video Renderer runs?

HTML Video Renderer runs in the background. Grok Build 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.

Get started

Start using HTML Video Renderer in Grok Build

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

Paste this into Grok Build:

Set up Grok Build

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