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

Grok Build · Video

How to Use Hedra in Grok Build

To use Hedra in Grok Build, connect Spiral to Grok Build once, then ask for what you want in plain words. Grok Build can then reach Hedra on Spiral, priced per run from one balance.

Prompts to try with Hedra in Grok Build

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

Make a talking-head video with Hedra from this headshot and this 20-second voiceover. Save the result in ./assets.

HedraGrok Build
Try asking
  • Create a 15-second founder intro with Hedra using the photo and script I attach.

  • Turn this audio clip into a lip-synced avatar video with Hedra.

  • Turn this product FAQ into a 30-second spokesperson video with Hedra.

  • Make a 20-second welcome video for new customers with Hedra from my headshot and this script.

How to set up Hedra 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 Hedra

    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": "hedra",
        "model": "hedra-character-3",
        "input": {
          "audio": {
            "url": "<url>",
            "source": "url"
          },
          "prompt": "Generate a realistic talking avatar video with lip sync",
          "resolution": "720p",
          "start_image": {
            "url": "<url>",
            "source": "url"
          },
          "aspect_ratio": "9:16"
        }
      }'

Then paste one of the prompts above: Grok Build finds Hedra on Spiral, shows the price and runs it.

Hedra tools you can run in Grok Build

1

Ready to run from Grok Build: today's price, with every fee included.

HedraVideo

What can you do with Hedra in Grok Build?

Grok Build can make talking-head videos with Hedra right in your repository and save the results where you need them: as files in your project, in a script or in your build. One sign-in covers every tool, so your code stays free of provider SDKs and keys.

Explainers without filming

A presenter video from a photo and a script.

Localized spokespeople

The same presenter in several languages.

Support and onboarding

Short talking-head answers to common questions.

Sales outreach

Personal video messages at scale.

Course content

A consistent presenter for every lesson.

Product updates

A short video for each release.

Questions about Hedra in Grok Build

Can Grok Build use Hedra?

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

How much does Hedra cost in Grok Build?

Each tool has its own price, for example Hedra Character-3 Talking Avatar Video: $0.065 per second at 720p ($0.0325 at 540p, $0.0813 at 1080p), for the audio's length. You pay per run from one Spiral balance, and failed runs are free.

Do I need a Hedra account to use Hedra in Grok Build?

No. Spiral runs Hedra on its own Hedra account. You sign in to Spiral once and never paste a key.

How long does it take to set up Hedra in Grok Build?

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

Does Grok Build wait while Hedra runs?

Hedra runs in the background. Grok Build starts the run, checks on it and gives you the video when it's ready.

Which Hedra tools can Grok Build use?

Grok Build can reach Hedra on Spiral, covering video. Popular ones include Hedra Character-3 · Talking Avatar Video. Ask for one by name, or describe the task and Grok Build picks a fitting tool.

Can Grok Build compare Hedra tools?

Yes. Ask Grok Build to run the same request on two Hedra tools and show both results with what each cost. Each run is priced and billed on its own.

What happens if a Hedra run fails in Grok Build?

It is not charged. Spiral holds the estimated price when the run starts and returns it to your balance if the run fails on Spiral's side or the provider's. Grok Build gets the error and can retry or try another tool.

Is there a Hedra subscription or plan?

No. Spiral is pay as you go from one prepaid balance, with no plans or minimums, and credits never expire. Auto top-up keeps Grok Build from stopping when the balance runs low.

Get started

Start using Hedra 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