Hedra MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Hedra MCP Server Generate a talking-head video from my portrait image saying 'Welcome to Hedra!'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Hedra MCP Server
A Model Context Protocol (MCP) server for the Hedra AI video, audio, and image generation platform. This server enables AI assistants like Claude to generate videos, images, and audio using Hedra's powerful AI models including Character-3, Veo 3.1, Sora 2, Kling, and MiniMax.
Features
Video Generation: Create AI-generated videos from text prompts and images
Text-to-Speech: Generate natural speech from text with customizable voices
Image Generation: Create images from text descriptions
Asset Management: Upload and manage images, audio, and video assets
Generation Tracking: Monitor the status and progress of generation jobs
Credit Management: Check your credit balance and usage
Related MCP server: HeyGen MCP Server
Prerequisites
Node.js 18.0.0 or higher
A Hedra account with API access (Creator plan or above)
Hedra API key from https://hedra.com/api-profile
Installation
Using npx (Recommended)
npx mcp-server-hedraGlobal Installation
npm install -g mcp-server-hedraFrom Source
git clone https://github.com/your-username/mcp-server-hedra.git
cd mcp-server-hedra
npm install
npm run buildConfiguration
Environment Variables
Variable | Required | Default | Description |
| Yes | - | Your Hedra API key |
| No |
| API base URL |
| No |
| Request timeout in milliseconds |
Authentication
The Hedra API uses an API key passed in the X-API-Key header:
X-API-Key: <your-api-key>Get your API key from https://hedra.com/api-profile (requires Creator plan or above).
Claude Desktop Configuration
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"hedra": {
"command": "npx",
"args": ["mcp-server-hedra"],
"env": {
"HEDRA_API_KEY": "your-api-key-here"
}
}
}
}Cline (VS Code) Configuration
{
"mcpServers": {
"hedra": {
"command": "npx",
"args": ["mcp-server-hedra"],
"env": {
"HEDRA_API_KEY": "your-api-key-here"
}
}
}
}Available Tools
list_models
Lists available AI models for video, audio, and image generation.
{
"types": ["video"] // Optional: filter by model type
}list_assets
Lists user assets including images, audio, video, and voice files.
{
"type": "image" // Required: text, image, audio, video, voice
}create_asset
Creates a new asset placeholder for uploading files.
{
"name": "my-image.png",
"type": "image"
}upload_asset
Uploads a file to an existing asset.
{
"id": "asset-uuid",
"file_base64": "base64-encoded-content",
"filename": "image.png"
}generate_video
Generates a video from text prompt, image, and optional audio.
{
"ai_model_id": "model-uuid",
"text_prompt": "A person talking to the camera",
"start_keyframe_id": "image-asset-uuid",
"audio_id": "audio-asset-uuid",
"resolution": "720p",
"aspect_ratio": "16:9",
"duration_ms": 5000
}generate_video_with_tts
Generates a video with text-to-speech audio in one call.
{
"ai_model_id": "model-uuid",
"text_prompt": "A person talking",
"start_keyframe_id": "image-asset-uuid",
"voice_id": "voice-uuid",
"speech_text": "Hello, welcome to my video!",
"resolution": "720p",
"aspect_ratio": "9:16"
}generate_text_to_speech
Generates audio from text using text-to-speech.
{
"voice_id": "voice-uuid",
"text": "Hello, this is a test.",
"stability": 0.8,
"speed": 1.0
}generate_image
Generates an image from a text prompt.
{
"text_prompt": "A beautiful sunset over mountains",
"aspect_ratio": "16:9",
"seed": 12345
}get_generation_status
Gets the status of a generation job.
{
"generation_id": "generation-uuid"
}get_credits
Gets the current credit balance and usage information.
{}list_generations
Lists generation jobs with filtering and pagination.
{
"type": "video",
"limit": 50,
"offset": 0
}Usage Examples
Generate a Talking Head Video
First, list available models:
Use list_models to see available video modelsUpload a portrait image:
Create an image asset and upload a portrait photoGenerate a video:
Generate a video using Character-3 model with the uploaded image and text "A person smiling and waving"Check the status:
Check the generation status to get the download URLGenerate an Image
Generate an image with the prompt "A cyberpunk city at night with neon lights"Supported Models
Hedra supports multiple AI models including:
Character-3: Hedra's lip-sync video generation model
Veo 3.1: Google's video generation model
Sora 2 Pro: OpenAI's video generation model
Kling 2.6 Pro: Video generation with strong motion
MiniMax Hailuo: Fast video generation
Use list_models to see all currently available models and their capabilities.
Credit Costs
Video generation costs vary by model:
Veo 3.1 Fast: 20 credits
Veo 3.1: 55 credits
Sora 2 Pro: 70 credits
Kling 2.6 Pro: 20 credits
Kling 2.5 Turbo: 10 credits
MiniMax Hailuo 2.3 Fast Pro: 7 credits
Use get_credits to check your current balance.
Error Handling
The server provides clear error messages for common issues:
401/403: Authentication failed - check your API key
404: Resource not found - verify asset/generation IDs
422: Invalid parameters - check request format
429: Rate limit exceeded - wait before retrying
Development
# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run dev
# Test with MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.jsTroubleshooting
"HEDRA_API_KEY environment variable is required"
Ensure your API key is set in the configuration or environment.
"Authentication failed"
Verify your API key is valid at https://hedra.com/api-profile.
Generation stuck in "processing"
Video generation can take several minutes. Use get_generation_status to monitor progress.
Resources
License
MIT License - see LICENSE file for details.
Available Tools
11 toolscreate_assetB
Creates a new asset placeholder for uploading files
Inputs: name (required), type (required).
generate_imageC
Generates an image from a text prompt
Inputs: text_prompt (required), seed, ai_model_id, aspect_ratio.
generate_text_to_speechB
Generates audio from text using text-to-speech
Inputs: text (required), voice_id (required), speed, language, +2 more.
generate_videoC
Generates a video from text prompt, image, and optional audio using AI models like Character-3, Veo, Sora, Kling, MiniMax
Inputs: ai_model_id (required), text_prompt (required), seed, audio_id, +7 more.
generate_video_with_ttsB
Generates a video with text-to-speech audio in one call
Inputs: voice_id (required), ai_model_id (required), speech_text (required), text_prompt (required), +5 more.
get_creditsB
Gets the current credit balance and usage information
Inputs: no named parameters.
get_generation_statusA
Gets the status of a generation job including progress and download URLs
Inputs: generation_id (required).
list_assetsC
Lists user assets including images, audio, video, and voice files
Inputs: type (required), ids.
list_generationsB
Lists generation jobs with pagination and filtering options
Inputs: type, limit, offset, prompt_query, +2 more.
list_modelsB
Lists available AI models for video, audio, and image generation on Hedra
Inputs: types.
upload_assetB
Uploads a file to an existing asset. Provide file content as base64 encoded string.
Inputs: id (required), filename (required), file_base64 (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool has a distinct resource and action, and the descriptions separate list_assets from create_asset/upload_asset clearly. The only mild overlap is generate_video versus generate_video_with_tts, but the 'in one call' phrasing distinguishes them.
All names follow a consistent snake_case verb_noun pattern (list_models, get_credits, create_asset, upload_asset, generate_video). No mixed conventions or vague verbs.
11 tools is well within the ideal range and each maps to a concrete operation in the generation/asset workflow. No filler tools.
Generation lifecycle (create, status, list) and asset lifecycle (create, upload, list) are covered, plus credits and model discovery. Minor gaps: no delete/update asset, no cancel or delete generation job.
Maintenance
Related MCP Connectors
Generate and edit images, video, voice, lip-sync and 3D models from your AI agent.
Generate AI images and videos from your agent: list models, start jobs, and fetch the results.
Generate images, videos and music with model discovery, cost estimates and asynchronous results.
Create AI images and videos, manage projects and credits, and use workspace campaign context.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to generate images and videos through natural language using ImaginePro's API. Supports text-to-image generation, video creation, image upscaling, variants, inpainting, and multi-modal generation with real-time progress tracking.812 npmMIT
- AlicenseAqualityCmaintenanceEnables AI assistants to generate AI avatar videos, manage templates, and work with assets through natural language commands via the HeyGen API.724 PyPIMIT

Templated MCP Serverofficial
AlicenseBqualityCmaintenanceEnables AI assistants to generate images, videos, and PDFs from templates, manage templates, upload assets, organize folders, and access account usage through natural language.2579 npm3MIT- AlicenseAqualityCmaintenanceEnables AI assistants to generate video, images, music, speech and sound effects, transcribe audio, edit and extend clips, and upscale media across 100+ models using a single API key. Also provides task tracking, model discovery, cost estimation and balance checks.14MIT