How to integrate BeatAPI MCP with Atomic Agent

Connect Atomic Agent to BeatAPI MCP. Generate product video from images and music, analyze videos for scene changes and logos, and more using natural language, with authentication handled for you.

BeatAPI logoBeatAPI
Api Key

BeatAPI is an asynchronous API platform for AI image, video, and music workflows. It enables scalable generation, video analysis, uploads, and ecommerce video pipelines.

39 Tools

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,500+ apps through Composio, including BeatAPI.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a BeatAPI account. See the Atomic Agent documentation for installation instructions.

Also integrate BeatAPI with

How Atomic Agent connects to BeatAPI

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect BeatAPI to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in BeatAPI. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your BeatAPI account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the BeatAPI MCP server, and what's possible with it?

The BeatAPI MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your BeatAPI account. It provides structured and secure access to AI image and video generation, video analysis, product-ad workflows, uploaded media, and account usage, so your agent can create images and videos, analyze uploaded videos, produce ecommerce ads, monitor tasks, and review usage on your behalf.

  • AI image and video creation: Have your agent review available generation models and start image or video creation tasks using the model that fits your project.
  • Ecommerce video production: Direct your agent to turn uploaded product images into product-ad videos for your online store or marketing campaign.
  • Video analysis: Let the agent upload a short video, submit it for analysis, and check the resulting storyboard or output.
  • Media uploads and creative discovery: Instruct your agent to upload images, audio, subtitles, or short videos, then explore available effects and workflows.
  • Task and usage monitoring: Have your agent track generation and analysis progress, review failures or completed outputs, and check balance, concurrency, and usage breakdowns.

Use BeatAPI from Atomic Agent

With your account connected, ask Atomic Agent to work with BeatAPI in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

TOOLS

Supported Tools

Every BeatAPI action and event your agent gets out of the box.

Answer Decision Questions

Answer named yes/no likelihood, choice, score or image-box questions about shared application state.

Call Social Data

Retrieve public social-platform data synchronously using a BeatAPI Social Data catalog action ID and its documented parameters.

Close Realtime Session

Idempotently close an existing BeatAPI Realtime Video Session by its rts_ session ID.

Compose Music Video

Compose selected storyboard shots into the final Music Video for an existing BeatAPI task.

Create Chat Completion

Generate a synchronous OpenAI-compatible chat completion from a conversation using a BeatAPI text model.

Create Ecommerce Video Task

Start a paid asynchronous BeatAPI product-ad video task from uploaded product images, and return its task ID for status polling.

Create Effect Task

Start a paid asynchronous image or video Effect task.

Create Image Generation Task

Start a paid asynchronous BeatAPI image generation task with one exact model-specific contract, and return its task ID for status polling.

Create Message

Generate one non-streaming Anthropic-compatible message with a BeatAPI model.

Create Music Video Task

Start a paid asynchronous Standard or Premium music video from public HTTPS audio and images.

Create Realtime Session

Reserve a duration tier and allocate a short-lived BeatAPI Realtime Video browser session.

Create Text Response

Generate a synchronous BeatAPI text response using the OpenAI Responses format, with native text/image input, reasoning, function tools and structured outputs.

Create Video Analysis Task

Start a paid asynchronous analysis of an account-owned uploaded video and return its task ID for status polling.

Create Video Generation Task

Start a paid asynchronous BeatAPI video generation task with an exact model-specific request.

Create Webhook

Register a public HTTPS endpoint for BeatAPI task completion callbacks.

Delete Webhook

Delete an existing BeatAPI webhook endpoint by its ID.

Edit Music Video Shot

Edit one existing Music Video storyboard shot by its BeatAPI shot ID.

Generate Text Content

Generate text or function calls synchronously with a Gemini-native request.

Get Effect

Get a published effect by an ID returned by List Effects, including its current version, input requirements, supported options, and preview URLs.

Get Music Video Shot Media

Retrieve a hosted preview of one existing Music Video storyboard shot using its task ID and BeatAPI shot ID.

Get Realtime Session

Inspect an existing BeatAPI Realtime Video Session by its rts_ session ID.

Get Task

Read the current status, stage, storyboard, output, usage, or failure details for one asynchronous BeatAPI task.

Get Usage

Get the connected account's USD balance, task totals, concurrency, and usage breakdowns before or after paid work.

Get Webhook

Retrieve one BeatAPI webhook endpoint by its ID from Create Webhook or List Webhooks.

Inspect Capability

Inspect a capability reference copied exactly from Capabilities Search or suggestions.

List Effects

List currently published image and video effects with each effect's exact input and option contract.

List Generation Models

List currently available image and video generation models, optionally filtered by media type, before creating a generation task.

List Text Models

Discover BeatAPI model IDs available to the connected API key before making text requests.

List Webhooks

List the BeatAPI account's configured webhook endpoints for task completion callbacks.

List Workflows

List BeatAPI's available high-level workflows and what each workflow produces.

Map Website

Discover URLs synchronously by following links from a public website page.

Moderate Content

Judge one text and up to four images together using BeatAPI moderation.

Read Web Pages

Read 1–10 public web pages synchronously as Markdown or plain text.

Research Web

Research a question across multiple live-web searches and page reads.

Run Capability

Run a capability after Search and Inspect: copy its reference, check its price and readiness, and fill input exactly from its input_schema.

Search Capabilities

Discover BeatAPI models, social/web data and workflows without executing or purchasing anything.

Search Web

Search the live web for ranked web, news, image, video, scholar, patent, shopping or place results.

Update Webhook

Update an existing BeatAPI webhook endpoint by ID.

Upload File

Upload an image, audio file, subtitle file, or short video to BeatAPI and return an account-owned URL for generation or analysis inputs.

FAQ

Frequently asked questions

With a standalone BeatAPI MCP server, the agents and LLMs can only access a fixed set of BeatAPI tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from BeatAPI and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Atomic Agent fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right BeatAPI tools.

Yes, absolutely. You can configure which BeatAPI scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your BeatAPI data and credentials are handled as safely as possible.

Start with BeatAPI.It takes 30 seconds.

Managed auth, hosted MCP servers, and every BeatAPI tool your agent needs.Free to start.

Start building