AI agents
MCP server
Add https://promoat-platform-plugins.vercel.app/mcp to your AI app, then ask it for a video. Same credits and rules as the HTTP API.
Connect your app
Coding agents send your API key. ChatGPT and Claude sign you in instead, and never see the key.
Claude Code, Cursor, Codex
Put your key in an env var
Copy it from the dashboard. Don't paste it in a chat.
export PROMOAT_KEY="pmat_..."Add the server
claude mcp add --transport http promoat https://promoat-platform-plugins.vercel.app/mcp \
--header "Authorization: Bearer $PROMOAT_KEY"Add --scope user to use it in every folder.
{
"mcpServers": {
"promoat": {
"url": "https://promoat-platform-plugins.vercel.app/mcp",
"headers": {
"Authorization": "Bearer ${env:PROMOAT_KEY}"
}
}
}
}[mcp_servers.promoat]
url = "https://promoat-platform-plugins.vercel.app/mcp"
bearer_token_env_var = "PROMOAT_KEY"Check it
Ask the agent to call get_balance. It is free. A 401 means the key is missing or wrong.
ChatGPT and Claude
Make an API key first
Sign-in only works once your account has a key. Make one on the dashboard.
Add Promoat
In ChatGPT, add the AI Video Generator plugin. In Claude.ai or Claude Desktop, open Settings, then Connectors, and add a custom connector with the server URL.
Sign in
The first call opens a Promoat page. Sign in and approve. The app gets its own token and spends your credits. If a call later fails with 401, connect again.
Tools
Each tool calls one API endpoint and returns its JSON. Errors keep the API's error_code and message (Errors & limits).
| Tool | What it does |
|---|---|
get_balance | Your credits, and what you spent |
list_characters | List your characters |
get_character | Get one character |
create_character | Make a character from selfies or a description (free) |
regenerate_character | Redraw a character's sheet (4 credits) |
delete_character | Delete a character |
list_voice_presets | List the studio voices |
list_voices | List your voices |
clone_voice | Clone a voice, or pick a studio voice |
reclone_voice | Clone a voice again (new voice_id) |
delete_voice | Delete a voice |
synthesize_speech | Turn text into speech |
create_first_frame | Make a 9:16 still of a character |
plan_scenes | Show the scenes a script will become (free) |
estimate_video | Price a video (free) |
create_video | Queue a talking-head or scene video |
get_job | See if a job is done |
get_scenes | List the scenes of a finished video |
fix_scene | Redo one scene (new video) |
edit_script | Give scenes new lines (new video) |
fix_sound | Put a new voice take on a video (new video) |
list_assets | List everything you made |
get_asset | Get one asset |
list_jobs | List your past jobs |
create_video and the three edit tools take idempotency_key, sent as the Idempotency-Key header. A retry with the same key never charges twice. Edits need it unless dry_run is set.
Job and edit tools take workflowId. Get, delete, regenerate, and reclone take id. Other fields match /openapi.yaml.
Podcast and freeform videos, uploads of local files and the remake kit use the HTTP endpoints: Podcast videos, Freeform videos, Uploads and Remake kit.
Make a video
Pick a character and a voice
Reuse one from list_characters and list_voices, or make one with create_character and clone_voice.
Get the price
Call estimate_video with the exact request. Show the user credits_required and wait for a yes. Prices: Credits & pricing.
Queue it
Call create_video with the same request, expected_credits set to credits_required, and a new idempotency_key. It returns a workflow_id right away, before the video is ready.
Wait for it
Call get_job until it says completed or failed, then share video_url. How often to check: Jobs & polling.
Anyone with it can spend your balance. If it leaks, press Replace key on the dashboard.