# EggAPI > EggAPI is an AI model aggregation API. One API key and one REST endpoint, `POST https://api.eggapi.ai/v1/generate`, run image models (Seedream, Nano Banana, GPT Image 2) and video models (Seedance, Wan). Every task is asynchronous: create it, then poll `GET https://api.eggapi.ai/v1/tasks/{id}` or receive a webhook. AI agents can connect over MCP at `https://api.eggapi.ai/mcp`. - Base URL: `https://api.eggapi.ai` - Auth: `Authorization: Bearer `, keys are created at https://eggapi.ai/dashboard - Responses use the envelope `{ "data": ..., "error": null }` or `{ "data": null, "error": { "code", "message" } }` - Video requests need `duration` in seconds; edit and image-to-video models need `image_urls` ## Docs - [EggAPI Documentation](https://eggapi.ai/docs): One API key for image and video generation models from ByteDance, Google, OpenAI, and Alibaba - [Quickstart](https://eggapi.ai/docs/quickstart): Submit your first EggAPI image or video task and read the result - [Authentication](https://eggapi.ai/docs/authentication): Authenticate EggAPI requests with API keys - [Models](https://eggapi.ai/docs/models): Every published EggAPI model ID, its generation type, and how it is billed - [Image Models](https://eggapi.ai/docs/models/image): Text-to-image and image editing with Seedream, Nano Banana, and GPT Image 2 - [Video Models](https://eggapi.ai/docs/models/video): Text-to-video and image-to-video with Seedance and Wan - [Uploads](https://eggapi.ai/docs/uploads): Host input images, videos, and audio on EggAPI storage for edit and video models - [Async Tasks](https://eggapi.ai/docs/async-tasks): Create, poll, list, and receive callbacks for EggAPI generation tasks - [Connect AI Agents (MCP)](https://eggapi.ai/docs/mcp): Let Claude Code, Codex, Cursor, and other MCP clients generate images and videos through EggAPI - [Dynamic UI](https://eggapi.ai/docs/dynamic-ui): Agents compose a form page from a short JSON description and use one session in the conversation (MCP Apps), a browser, the CLI, or plain text - [Workflow Skills](https://eggapi.ai/docs/skills): Ready-made Claude Code and Codex skills for e-commerce images, ad creatives, and short films, built on the EggAPI MCP tools - [Errors](https://eggapi.ai/docs/errors): EggAPI error response format and common failure cases - [API Reference](https://eggapi.ai/docs/api-reference): Reference conventions for the EggAPI public API ## Models - [Seedream 5.0 Pro (text-to-image)](https://eggapi.ai/models/bytedance/seedream-v5.0-pro): `bytedance/seedream-v5.0-pro` · image · from $0.05625 per image (1k $0.05625, 2k $0.1125) - [Seedream 5.0 Pro (image-to-image)](https://eggapi.ai/models/bytedance/seedream-v5.0-pro/edit): `bytedance/seedream-v5.0-pro/edit` · image · from $0.05625 per image (1k $0.05625, 2k $0.1125) - [Seedream 4.5 (text-to-image)](https://eggapi.ai/models/bytedance/seedream-v4.5): `bytedance/seedream-v4.5` · image · from $0.05 per image (1k $0.05, 2k $0.05, 4k $0.05) - [Seedream 4.5 (image-to-image)](https://eggapi.ai/models/bytedance/seedream-v4.5/edit): `bytedance/seedream-v4.5/edit` · image · from $0.05 per image (1k $0.05, 2k $0.05, 4k $0.05) - [Nano Banana Pro (text-to-image)](https://eggapi.ai/models/google/nano-banana-pro/text-to-image): `google/nano-banana-pro/text-to-image` · image · from $0.0225 per image (1k $0.0225, 2k $0.0225, 4k $0.03375) - [Nano Banana Pro (image-to-image)](https://eggapi.ai/models/google/nano-banana-pro/edit): `google/nano-banana-pro/edit` · image · from $0.0225 per image (1k $0.0225, 2k $0.0225, 4k $0.03375) - [Nano Banana 2 (text-to-image)](https://eggapi.ai/models/google/nano-banana-2/text-to-image): `google/nano-banana-2/text-to-image` · image · from $0.0135 per image (0.5k $0.016875, 1k $0.0135, 2k $0.01575, 4k $0.02025) - [Nano Banana 2 (image-to-image)](https://eggapi.ai/models/google/nano-banana-2/edit): `google/nano-banana-2/edit` · image · from $0.0135 per image (0.5k $0.016875, 1k $0.0135, 2k $0.01575, 4k $0.02025) - [GPT Image 2 (text-to-image)](https://eggapi.ai/models/openai/gpt-image-2/text-to-image): `openai/gpt-image-2/text-to-image` · image · from $0.009563 per image (1k $0.009563, 2k $0.016875, 4k $0.02475) - [GPT Image 2 (image-to-image)](https://eggapi.ai/models/openai/gpt-image-2/edit): `openai/gpt-image-2/edit` · image · from $0.009563 per image (1k $0.009563, 2k $0.016875, 4k $0.02475) - [Seedance 2.5 (text-to-video)](https://eggapi.ai/models/bytedance/seedance-2.5/text-to-video): `bytedance/seedance-2.5/text-to-video` · video · from $0.111339 per second (480p $0.111339, 720p $0.250455, 1080p $0.619986) - [Seedance 2.5 (image-to-video)](https://eggapi.ai/models/bytedance/seedance-2.5/image-to-video): `bytedance/seedance-2.5/image-to-video` · video · from $0.111339 per second (480p $0.111339, 720p $0.250455, 1080p $0.619986) - [Seedance 2.0 (text-to-video)](https://eggapi.ai/models/bytedance/seedance-2.0/text-to-video): `bytedance/seedance-2.0/text-to-video` · video · from $0.07425 per second (480p $0.07425, 720p $0.15975, 1080p $0.3987, 4k $0.81225) - [Seedance 2.0 (image-to-video)](https://eggapi.ai/models/bytedance/seedance-2.0/image-to-video): `bytedance/seedance-2.0/image-to-video` · video · from $0.07425 per second (480p $0.07425, 720p $0.15975, 1080p $0.3987, 4k $0.81225) - [Wan 3.0 (text-to-video)](https://eggapi.ai/models/alibaba/wan-3.0/text-to-video): `alibaba/wan-3.0/text-to-video` · video · from $0.0625 per second (480p $0.0625, 720p $0.125, 1080p $0.25) - [Wan 3.0 (image-to-video)](https://eggapi.ai/models/alibaba/wan-3.0/image-to-video): `alibaba/wan-3.0/image-to-video` · video · from $0.0625 per second (480p $0.0625, 720p $0.125, 1080p $0.25) - [Wan 2.7 (text-to-video)](https://eggapi.ai/models/alibaba/wan-2.7/text-to-video): `alibaba/wan-2.7/text-to-video` · video · from $0.0747 per second (720p $0.0747, 1080p $0.1233) - [Wan 2.7 (image-to-video)](https://eggapi.ai/models/alibaba/wan-2.7/image-to-video): `alibaba/wan-2.7/image-to-video` · video · from $0.0747 per second (720p $0.0747, 1080p $0.1233) ## Website - [Models](https://eggapi.ai/models): browse and try every published model - [Pricing](https://eggapi.ai/pricing): prices per image and per second of video - [Connect agents](https://eggapi.ai/connect): MCP setup for Claude Code, Codex, and Cursor - [Dashboard](https://eggapi.ai/dashboard): API keys, balance, usage, and webhook secret ## Optional - [Full documentation in one file](https://eggapi.ai/llms-full.txt): every docs page plus the parameters of every model - [Chinese documentation](https://eggapi.ai/zh/docs) - [OpenAPI spec](https://eggapi.ai/openapi.json): every endpoint, request body, and response schema