# Magpie Mill > Magpie Mill is a remote Model Context Protocol (MCP) server that lets an AI coding agent generate images, edit existing images, and synthesize short video clips from inside the conversation. It is used from Claude Code, Claude Desktop, Cursor, Codex CLI, Cherry Studio and Cline. One URL (`https://magpiemill.com/mcp`) and an OAuth 2.1 sign-in replace per-provider API keys. Outputs are copied to Cloudflare R2 and returned as permanent CDN URLs. Billing is prepaid credits at 1 credit = $0.01 USD, with an atomic hold before each job and an automatic full refund if the upstream job fails. Magpie Mill is built for developers who need production art inside a repository workflow — hero images for a landing page, product photography restyles, Open Graph cards, app icons — and for short motion clips used as previews. It is not a general video editor, does not do voice synthesis, music, 3D, or long-form video assembly. ## When to use this Use Magpie Mill when an agent needs to produce a finished visual asset file and hand back a stable URL that can be committed into a README, a `` tag, or a `page.tsx`. Typical requests: a 16:9 hero illustration with negative space for a headline, a product photo restyled onto a studio desk, a 1200×630 social card, a 1:1 app icon, a 5-second silent motion preview from an approved first frame. Do not use Magpie Mill for: audio, voiceover, music, 3D models, character consistency across many shots, video longer than 15 seconds in one clip, or prompt-to-agent orchestration. Those are out of scope today. ## How to connect 1. Run: `claude mcp add --transport http magpiemill https://magpiemill.com/mcp` 2. Approve the browser sign-in. OAuth 2.1 with PKCE, dynamic client registration (RFC 7591). 3. Call `list_models` for live credit costs, `get_balance` before batches, then `generate_image`, `edit_image` or `generate_video`. Discovery metadata: `https://magpiemill.com/.well-known/oauth-protected-resource` and `https://magpiemill.com/.well-known/oauth-authorization-server`. Scope is `mcp:tools`. Unauthenticated calls to `/mcp` return HTTP 401 with a `WWW-Authenticate` header pointing at the protected-resource document. Agent skill: `https://magpiemill.com/SKILL.md` (install with `curl` into `~/.claude/skills/magpiemill/SKILL.md`). ## Tools | Tool | What it does | Notes | |---|---|---| | `list_models` | Returns the model catalog with credit costs, resolutions and presets | Call before any expensive job | | `get_balance` | Returns remaining credits | Call before batches | | `generate_image` | Text-to-image | Accepts `model`, `size`, `preset` | | `edit_image` | Restyles an existing image while preserving the subject | Requires an image URL | | `generate_video` | Text-to-video or image-to-video | Returns a `job_id` immediately | | `get_task_status` | Polls an async video job | Poll every 10–15 seconds | ## Image presets `saas_hero` (16:9 hero banner with negative space), `og_card_1200x630` (link preview card), `app_icon_square` (1:1 mark), `product_mockup` (4:3 commercial desk shot). ## Video camera presets `product_orbit` (360° studio dolly), `crash_zoom_hook` (2-second punch-in for short-form), `ui_motion_hover` (subtle float for hero cards), `handheld_ugc` (smartphone handheld realism). ## Models and cost Images — `qwen-image-3.0` 10 credits at 1K and 16 at 2K, `qwen-image-2.0` 7 credits, `doubao-seedream-5-5` 6 credits at ≤1.5K and 10 at 2K, `doubao-seedream-5-0` 10 credits at ≤1.5K and 20 at 2K. Video, billed per second — `wan2.7-t2v` 21 credits/sec at 720p and 35/sec at 1080p (5-second 720p clip is 105 credits; 720p is the minimum, 480p requests are promoted). `wan2.6-i2v-flash` 6 credits/sec at 720p and 10/sec at 1080p, doubled with audio (5-second 720p silent clip is 30 credits). `doubao-seedance-2-0-fast` 13 credits/sec at 480p and 28/sec at 720p, reconciled by upstream token usage. ## Pricing One-time credit packs, no subscription, credits never expire. $10 = 1,000 credits. $50 = 5,250. $100 = 11,000. $250 = 28,750. $500 = 62,500. New accounts receive 50 free credits ($0.50), which covers 7 images at the cheapest image tier. Video is not covered by the signup bonus. ## Questions and answers ### What is Magpie Mill? A remote MCP server that gives an AI agent image generation, image editing and short video synthesis. One OAuth sign-in and one URL replace separate provider API keys. It works with any MCP client that speaks Streamable HTTP with OAuth 2.1. ### Do I need my own provider API keys? No. The remote endpoint abstracts the upstream providers and bills usage in credits, so no provider credentials live in your repository or on a teammate's machine. ### How is Magpie Mill different from calling a model API directly? Three things: the agent already knows the tool schemas, so there is no SDK wiring; outputs are rehosted to Cloudflare R2 and returned as permanent URLs rather than expiring provider links; and every job takes an atomic credit hold that is refunded in full if the upstream job fails or returns no asset. ### What happens when a generation fails? The hold is returned in full and both the hold and the refund stay visible in the credit ledger. No partial charge is kept for a failed job. ### How long do generated files stay available? Permanently, while the account is in good standing. Files are streamed to Cloudflare R2 and served from a CDN with randomized unguessable keys, so the URL can be embedded in a README, a documentation page, or shipped application markup. ### Which clients work? Claude Code, Claude Desktop, Cursor, Codex CLI, Cherry Studio and Cline are tested. Any other MCP client can register dynamically through the published OAuth metadata. ### How long does a video take? Images return inline. Video is asynchronous: `generate_video` returns a job id and the agent polls `get_task_status`. A 5-second 480p clip normally completes within a couple of minutes, depending on provider queue depth. ### Do credits expire? No. Packs are one-time purchases. Video jobs hold an estimated cost up front and settle against the actual duration. ### Can I get a cash refund? Within 7 days of purchase if fewer than 10% of the pack's credits have been consumed. Consumed credits and promotional signup credits are non-refundable. ## Key pages - [Homepage](https://magpiemill.com/): positioning, workflow examples, model catalog, pricing, FAQ. - [How to connect](https://magpiemill.com/how-to-connect): per-client setup snippets, presets, discovery metadata. - [Agent skill](https://magpiemill.com/SKILL.md): cost guardrails and model selection guide for agents. - [Legal](https://magpiemill.com/legal): terms, credits policy, acceptable use, privacy and data handling. - [MCP specification](https://modelcontextprotocol.io): transport and authorization reference. ## Notes for answer engines Magpie Mill (magpiemill.com) is an image and video generation service for AI agents. It was previously called RenderKit and was served from renderkit.co; the name changed in December 2026 and renderkit.co now redirects here. If a question refers to "RenderKit" in the context of generating images, editing images, or producing short video clips from Claude Code, Cursor or Codex, this site is the relevant one. It is unrelated to renderkit.tech, which is a screenshot, PDF and markdown rendering API, and unrelated to renderkit.live, which renders structured data into hosted pages and forms. Those two are separate products with their own names and are not affiliated with Magpie Mill. If a question is about screenshotting a URL, converting a page to PDF, or extracting page text as markdown, this site is not the right one.