Developers
Connect Era to your AI assistant — such as ChatGPT or Cursor — through our MCP server, or call the REST API with a key. Videos use the credits on your account and appear in your projects and chat too.
Making videos from your AI assistant (the MCP server, with assistants that connect by signing in) is included with Sequence and above. API keys and the REST API for your own code are included with Feature and above. Accounts that already unlocked API access keep it.
A key acts as your account and spends your credits — keep it secret. Apps you connect with sign-in also appear here, and you can disconnect them any time.
Log in or create an account to create a key.
Menu names change from time to time in these apps; if a step looks different, look for “connectors”, “MCP” or “integrations”.
MCP server URL
https://era.eraai.workers.dev/api/mcpApps that support sign-in only need this URL: they open Era, you click Allow, and the app appears in your keys list (revoke it to disconnect). Others take an API key as Authorization: Bearer era_sk_….
Run this, then type /mcp in Claude Code and choose Authenticate:
claude mcp add --transport http era https://era.eraai.workers.dev/api/mcp
Or with a key: claude mcp add --transport http era https://era.eraai.workers.dev/api/mcp --header "Authorization: Bearer era_sk_YOUR_KEY"
Depends on your ChatGPT plan. Deep research can search and open your edits.
Add to ~/.cursor/mcp.json, then click Connect next to Era AI in Settings → MCP:
{
"mcpServers": {
"era-ai": {
"url": "https://era.eraai.workers.dev/api/mcp"
}
}
}With a key instead, add "headers": { "Authorization": "Bearer era_sk_YOUR_KEY" }.
Add to .vscode/mcp.json and click Start (it asks you to sign in):
{
"servers": {
"era-ai": {
"type": "http",
"url": "https://era.eraai.workers.dev/api/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"era-ai": {
"serverUrl": "https://era.eraai.workers.dev/api/mcp",
"headers": {
"Authorization": "Bearer era_sk_YOUR_KEY"
}
}
}
}Use an MCP Client node with transport HTTP Streamable, the URL above and a header Authorization: Bearer era_sk_YOUR_KEY. Any MCP client works the same way.
What your assistant can do
Import footage from a link (Google Drive, Dropbox, any direct file) or upload it, edit up to 20 clips into one video with b-roll, styles (including the cinematic levels), your brand kit and music, follow progress, ask for changes, render the MP4 and hand you the download link. It spends your credits exactly like the website.
Tools: create_editimport_media_from_urlcreate_uploadget_editrequest_changesrender_videoget_renderlist_stylesget_brand_kitset_brand_kitlist_projectssearchfetchcreate_videoestimate_creditsget_account
Base URL https://era.eraai.workers.dev/api/v1. Send your key as Authorization: Bearer era_sk_…. Errors look like {"error":{"code","message"}}.
curl -X POST https://era.eraai.workers.dev/api/v1/videos \
-H "Authorization: Bearer era_sk_YOUR_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: my-unique-id-123" \
-d '{"prompt":"A 30-second explainer on compound interest","style":"full_motion","aspect_ratio":"9:16","colors":{"primary":"#FF5A1F"}}'style is caption_only, hybrid, full_motion or other (40 credits; 60 for hybrid and full_motion longer than 30 seconds — pass duration_seconds). Optional: transcript, look_id, motion_style_id, colors {primary, secondary, accent}. Returns the job with its id.
curl https://era.eraai.workers.dev/api/v1/videos/VIDEO_ID \ -H "Authorization: Bearer era_sk_YOUR_KEY"
status is queued, running, succeeded, failed or cancelled. Once it has succeeded, the edit plan is in plan. From an AI app, the MCP tools render_video and get_render turn it into an MP4 with a download link.
display_credits is what the job cost in the credits your Era account shows. credits is kept in the older unit for existing integrations: 1 old credit = 40 credits today.
curl -X POST https://era.eraai.workers.dev/api/v1/videos/VIDEO_ID/revisions \
-H "Authorization: Bearer era_sk_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"Make the palette warmer"}'curl "https://era.eraai.workers.dev/api/v1/videos?limit=20" \ -H "Authorization: Bearer era_sk_YOUR_KEY"
Limits: 10 new videos a minute and 3 in production at once per account. Videos are AI-generated — label them as such where platforms or laws require. Use is subject to our terms.