[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [HTML Video Renderer](https://spiral.ai/integrations/muse-code/html-video-renderer)

# 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.

|  |  |
| --- | --- |
| Model | HTML Video Renderer |
| Available through | Spiral |
| Category | Video |
| Price | $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. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with HTML Video Renderer in Muse Code

- 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.
- 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**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
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.

```bash
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.

```bash
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.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## HTML Video Renderer tools and prices

- [HTML Video Renderer](https://spiral.ai/tools/spiral/render-video) (Spiral): $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

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| 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. |

## 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.

## Overview

- [Spiral media tools](https://spiral.ai/providers/spiral)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## HTML Video Renderer in other agents

- [Amp](https://spiral.ai/integrations/amp/html-video-renderer)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/html-video-renderer)
- [Claude](https://spiral.ai/integrations/claude-desktop/html-video-renderer)
- [Claude Code](https://spiral.ai/integrations/claude-code/html-video-renderer)
- [Cline](https://spiral.ai/integrations/cline/html-video-renderer)
- [Codex](https://spiral.ai/integrations/codex/html-video-renderer)
- [Cursor](https://spiral.ai/integrations/cursor/html-video-renderer)
- [Devin](https://spiral.ai/integrations/devin/html-video-renderer)
- [dots](https://spiral.ai/integrations/dots/html-video-renderer)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/html-video-renderer)
- [Gemini](https://spiral.ai/integrations/gemini/html-video-renderer)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/html-video-renderer)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/html-video-renderer)
- [goose](https://spiral.ai/integrations/goose/html-video-renderer)
- [Grok](https://spiral.ai/integrations/grok/html-video-renderer)
- [Grok Build](https://spiral.ai/integrations/grok-build/html-video-renderer)
- [Hermes](https://spiral.ai/integrations/hermes/html-video-renderer)
- [Instinct](https://spiral.ai/integrations/instinct/html-video-renderer)
- [Manus](https://spiral.ai/integrations/manus/html-video-renderer)
- [Muse](https://spiral.ai/integrations/muse/html-video-renderer)
- [n8n](https://spiral.ai/integrations/n8n/html-video-renderer)
- [Notion](https://spiral.ai/integrations/notion/html-video-renderer)
- [OpenClaw](https://spiral.ai/integrations/openclaw/html-video-renderer)
- [opencode](https://spiral.ai/integrations/opencode/html-video-renderer)
- [Perplexity](https://spiral.ai/integrations/perplexity/html-video-renderer)
- [Raycast](https://spiral.ai/integrations/raycast/html-video-renderer)
- [VS Code](https://spiral.ai/integrations/vscode/html-video-renderer)
- [Windsurf](https://spiral.ai/integrations/windsurf/html-video-renderer)
- [Zapier](https://spiral.ai/integrations/zapier/html-video-renderer)

## More Muse Code guides

- [H3 Max Turbo Text to Video](https://spiral.ai/integrations/muse-code/h3-max-turbo-text-to-video)
- [Hailuo 02 Fast Image to Video](https://spiral.ai/integrations/muse-code/hailuo-02-fast-image-to-video)
- [H3 Max Turbo Reference to Video](https://spiral.ai/integrations/muse-code/h3-max-turbo-reference-to-video)
- [Hailuo 02 Pro Image to Video](https://spiral.ai/integrations/muse-code/hailuo-02-pro-image-to-video)
- [H3 Max Turbo Image to Video](https://spiral.ai/integrations/muse-code/h3-max-turbo-image-to-video)
- [Hailuo 02 Pro Text to Video](https://spiral.ai/integrations/muse-code/hailuo-02-pro-text-to-video)

## 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.

