MCP
Use Clipia with AI agents
Give AI agents video, image, speech, music and presentation tools through Clipia MCP, or automate image and video generation with the REST API.
Clipia is an AI media generation platform that agents can operate directly across a catalog of 60+ image and video models. Through the remote MCP server at https://mcp.clipia.ai/mcp, an agent can generate video from text or a start image, create or edit images, produce speech and music, assemble multi-scene videos, create presentations, inspect available models, track jobs and return finished files to the conversation. For application-owned image and video workflows, call the REST API or an official SDK.
Endpoint
Server address (Streamable HTTP): https://mcp.clipia.ai/mcp. Sign in with a Clipia API key or with your Clipia account over OAuth. A key can be sent as Authorization: Bearer clipia_... (recommended), Authorization: Key <key> or X-Api-Key: <key>.
MCP or REST API: which one?
| Use | Best when | What you get |
|---|---|---|
| Remote MCP server | An AI agent should discover tools and decide which generation step to run | Streamable HTTP, tool schemas, OAuth or API-key auth, interactive result cards in supported clients |
| REST API + SDK | Your backend, product or automation owns an image or video workflow | Image/video queue endpoints, webhooks, OpenAPI, and official TypeScript and Python SDKs |
MCP and REST use the same Clipia account, credit balance and generation history where their capabilities overlap. There is no separate MCP markup.
Tools available to AI agents
The full profile, available with an API key, contains 15 agent-callable tools: 10 core tools plus five that appear when their product capabilities are enabled. Over OAuth in claude.ai and ChatGPT the set can be narrower, for example without get_balance. The tools/list response is authoritative for your connection.
10 core tools
generate_image— generate or edit images from a prompt and optional referencesgenerate_video— create video from text or a start imagegenerate_audio— convert text to speechgenerate_music— create background music or a soundtrackwait_generation— long-poll an asynchronous job until it finishesget_generation— read status and finished file URLs without waitinglist_models— discover active models, capabilities and credit pricesget_model— inspect one model's input schema and priceget_balance— read the connected account's credit balance and recent usagesearch_templates— find ready-to-use image and video prompts
5 capability-dependent tools
chat— call a text modelgenerate_scenario— turn a video brief into structured scenes and promptscompose_video— combine generated scenes, narration, music and subtitlesgenerate_presentation— create an editable PPTX, PDF and slide previewsedit_presentation— revise an existing deck while reusing unchanged illustrations
Seven app-only helpers drive live result, rerun and composition cards. They remain outside the model context and do not increase the AI agent's tool list. See MCP tools for parameters and availability details.
Ready-made prompts
Besides tools, the server exposes four ready-made workflows through prompts/list. Claude Code shows them as slash commands; other clients list them in their prompt menu. A prompt inserts step-by-step instructions for the agent into the conversation; the generations themselves run through the regular tools and are paid in credits.
| Prompt | What it does | Arguments |
|---|---|---|
product_shot | Turns one product photo into a marketplace set: several backgrounds plus a short rotation video | image_url (required), product, variants (default 4) |
blog_covers | Generates consistent cover images for a list of article headlines | titles (required, one per line), style, aspect_ratio (default 16:9) |
campaign_storyboard | Turns a campaign brief into scene stills, animates the approved ones and adds a voiceover | brief (required), scenes (default 6), voiceover |
animate_photo | Turns a still photo into a short clip with a chosen camera move | image_url (required), motion, duration (default 5 seconds) |
End-to-end video workflow
An agent can complete a full video rather than stopping at a single generated clip:
- Call
generate_scenarioto split a brief into scenes when scenario planning is enabled. - Call
generate_videofor each scene. Passimage_urlwhen a start frame or visual reference should guide the shot. - Call
generate_audiofor narration andgenerate_musicfor the soundtrack when needed. - Call
compose_videoto assemble 2–20 completed scenes, optional voiceover, music and subtitles. - Call
wait_generationuntil the final job isCOMPLETED, then returnoutput.video.url.
For a single clip, start with generate_video and poll the returned request_id; the planning and composition tools are optional.
Getting a key
Create an API key in the Developer Console. Keys prefixed clipia_live_ are live (they charge credits); keys prefixed clipia_test_ run in the sandbox: instant test results with no charge, handy for debugging agents and CI.
The key is a server-side secret
A live key is shown only once at creation — it's the password to your credit balance. Keep it in an environment variable such as CLIPIA_KEY or in a secrets manager, and never commit it to a repository.
Connect a client
Cards in chat
In claude.ai the result is shown as an interactive card with live progress and media. In Claude Code an inline preview lands in the terminal. Clients without card support get links to the full-quality file.
One command in the terminal and the Clipia tools are available in any session, including headless and CI. Pull the key from an environment variable rather than hard-coding it:
claude mcp add --transport http clipia https://mcp.clipia.ai/mcp \
--header "Authorization: Bearer $CLIPIA_KEY"Then ask Claude: "Generate an image of a neon city in Clipia" — the preview lands right in the terminal.
OAuth sign-in (claude.ai, ChatGPT and other clients with a consent screen) stays valid for 180 days from the moment you click "Allow": after that the client asks you to sign in to Clipia and confirm access again. You can revoke access earlier in the Developer Console, "Connected apps" tab — the app loses access to the account immediately. Changing your password in the settings pauses these connections until your next sign-in to your Clipia account, and resetting it through the email link revokes them.
Jobs, cost and safe retries
Image calls often finish in one request. Video, audio, music, composition and presentation jobs are asynchronous:
- The generation tool returns a
request_id, current status and the credit cost. - Call
wait_generationrepeatedly until the status isCOMPLETED,FAILEDorCANCELED. - On completion, read the media or document URLs from
output.
Use a stable idempotency_key only when retrying the same unchanged paid request after a transport or ambiguous failure. Use a new key after changing the prompt, files or settings: the same key with different input, including a different num_images or a switch between a single run and a batch, returns idempotency_key_reuse. A key is up to 255 characters and is accepted by generate_image, generate_video, generate_audio, generate_music, generate_scenario and chat. This prevents an agent loop from charging twice for the same operation.
Sandbox
Keys prefixed clipia_test_ return instant test results with no charge — useful for debugging response parsing, polling and pipelines. Live keys return the exact cost of each generation, and the get_balance tool reports the remaining credit balance.
Agent workflow questions
Machine-readable discovery
Agents and crawlers can discover the same contract without parsing the marketing site:
- LLM product facts and tool inventory
- Developer documentation index
- MCP server card
- Agent skills index
- OpenAPI 3.1 specification
- Authentication guide
The server card is built from the current configuration and shows the full profile for an API key; tools/list returns the exact set for your connection. See the full MCP tools reference or the REST API overview.
Key and limits
GET /v1/key (key, 30-day usage, balance and request limit), GET /v1/generation (request cost by id), rate-limit headers and the 429 response for LLM chat.
MCP tools
Parameters for the 10 core and 5 optional Clipia MCP tools, default models, slugs with a slash and the seven app-only helpers behind result cards.