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

Muse Code · Video

How to Use HTML Video Renderer in Muse Code

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 Muse Code

Copy an example into Muse Code, 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 RendererMuse Code
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 Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code 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: Muse Code 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 Muse Code 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 Muse Code?

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.8%
Fastest median run time
1m 56s
Runs, last 24 hours
171
ToolSuccessMedian timeRuns
HTML Video Renderer98.8%1m 56s171

Questions about HTML Video Renderer in Muse Code

Can Muse Code use HTML Video Renderer?

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

How much does HTML Video Renderer cost in Muse Code?

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

Do I need a Spiral account to use HTML Video Renderer in Muse Code?

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 Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while HTML Video Renderer runs?

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

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

Paste this into Muse Code:

Set up Muse Code

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