[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [Hedra](https://spiral.ai/integrations/antigravity/hedra)

# How to Use Hedra in Google Antigravity

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

|  |  |
| --- | --- |
| Tools | 1 |
| Categories | Video |
| Served by | Hedra |
| Pricing | Pay per run, no subscription |
| Setup | About 2 minutes, no API key |

## Prompts to try with Hedra in Google Antigravity

- Make a talking-head video with Hedra from this headshot and this 20-second voiceover. Save the result in ./assets.
- 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 Google Antigravity

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

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity 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 Hedra**: 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": "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: Google Antigravity finds Hedra on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/antigravity

## Hedra tools and prices

- [Hedra Character-3 · Talking Avatar Video](https://spiral.ai/tools/hedra/hedra-character-3) (Hedra): $0.065 per second at 720p ($0.0325 at 540p, $0.0813 at 1080p), for the audio's length.

## What can you do with Hedra in Google Antigravity?

Google Antigravity 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.

## Overview

- [Hedra](https://spiral.ai/providers/hedra)
- [All Google Antigravity guides](https://spiral.ai/integrations/antigravity)

## Hedra in other agents

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

## More Google Antigravity guides

- [Google Vertex AI](https://spiral.ai/integrations/antigravity/vertex)
- [Mistral](https://spiral.ai/integrations/antigravity/mistral)
- [Google Gemini](https://spiral.ai/integrations/antigravity/gemini)
- [OpenAI](https://spiral.ai/integrations/antigravity/openai)
- [ElevenLabs](https://spiral.ai/integrations/antigravity/elevenlabs)
- [Vizard](https://spiral.ai/integrations/antigravity/vizard)

## Questions about Hedra in Google Antigravity

**Can Google Antigravity use Hedra?**

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

**How much does Hedra cost in Google Antigravity?**

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 Google Antigravity?**

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 Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while Hedra runs?**

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

**Which Hedra tools can Google Antigravity use?**

Google Antigravity 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 Google Antigravity picks a fitting tool.

**Can Google Antigravity compare Hedra tools?**

Yes. Ask Google Antigravity 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 Google Antigravity?**

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. Google Antigravity 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 Google Antigravity from stopping when the balance runs low.

