MCPthe API built for agent CLIs
Let Claude Code and Codex
generate images and video.
EggAPI turns Seedream, Nano Banana, GPT Image 2, Seedance and Wan into MCP tools your agent can call. Add it from the terminal with one command, then just ask: the agent picks the model, runs the task and fetches the file. One key, one bill.
works withClaude CodeCodexCursorany MCP client
claude · example session
$claude mcp add --transport http eggapi https://api.eggapi.ai/mcp ✓ Added HTTP MCP server eggapi ❯Make a 5-second product video for the landing page with Seedance 2.5, black background. ●eggapi.generate_video(model: "bytedance/seedance-2.5/text-to-video", duration: 5) ⎿ task queued · video usually takes 1–3 min●eggapi.get_task(task_id) ⎿ completed · output.mp4 ⏺Done. The video is ready, link below.
workflows
Ready-made workflows for shops, ads and short films.
Each skill is a complete workflow your agent follows: it asks for the brief, quotes the cost, generates, checks the results and saves the files. Use it as is, or open SKILL.md and make it yours.
e-commerce
Product image sets
Turn real product photos into a white-background main image, lifestyle scenes, selling-point images and close-ups, with an optional product video. Sized for Amazon, Shopify, Taobao, TikTok Shop and more, without changing the product.
❯Turn bottle.jpg into an Amazon main image and three lifestyle shots
eggapi-ecommerce/SKILL.md ↗advertisers
Ad creative batches
Several concepts built on different angles, each delivered in every placement size from feed to stories, plus video versions and a manifest for A/B tests.
❯Make 3 ad concepts for our espresso machine for TikTok and Instagram
eggapi-ad-creatives/SKILL.md ↗short-film creators
From script to final cut
A script and shot list, character sheets that keep faces consistent, one rendered clip per shot, and the final cut joined with ffmpeg.
❯Make a 40-second vertical film: a cat finds its way home through rainy Tokyo
eggapi-short-film/SKILL.md ↗install all three
for s in eggapi-ecommerce eggapi-ad-creatives eggapi-short-film; do mkdir -p ~/.claude/skills/$s curl -fsSL https://eggapi.ai/skills/$s/SKILL.md -o ~/.claude/skills/$s/SKILL.md done
Connect EggAPI to your agent first (next section) and export EGGAPI_API_KEY, which the skills use to upload local files. Then start a new session and describe the job.
connect
One command, and your agent can create.
Remote MCP over HTTP, authenticated with your EggAPI key. No SDK to install, no local process to run.
terminal
claude mcp add --transport http eggapi https://api.eggapi.ai/mcp \ --header "Authorization: Bearer $EGGAPI_API_KEY"
Export EGGAPI_API_KEY in your shell first, then run the command. Type /mcp inside Claude Code to check the connection.
how it works
From one sentence to a finished file, inside the conversation.
01
Create a key
Sign in, create an API key in the dashboard and add credits.
02
Connect your agent
Add EggAPI as an MCP server in Claude Code, Codex or any MCP client.
03
Just ask
The agent picks a model, starts the task, polls it and hands you the file URL.
list_models
(kind?)
List the models your key can use, with type and price, so the agent can pick within budget.
generate_image
(model, prompt, images?, aspect_ratio?, resolution?, num_outputs?)
Text-to-image, or edit with reference images.
generate_video
(model, prompt, duration, image?, aspect_ratio?, resolution?)
Text-to-video or image-to-video. Returns a task id right away.
get_task
(task_id)
Check task status and fetch the output URLs.
models
Six models. Nothing to sift through.
A short list of image and video models worth using, each with its newest versions.
Give your agent a camera.
Create a key, paste one command into your terminal, start generating.