# Rushbox > Rushbox is an AI ad studio, REST API and MCP server for e-commerce brands. Give it a store URL and it reads the brand (logo, colours, fonts, tone, catalogue), then produces on-brand video and image ads — UGC, product shots, promo visuals — in 9:16, 4:5 and 1:1, adds TikTok/Reels-style animated captions and surfaces competitors' winning ads. Pay as you go from a prepaid balance; failed jobs are refunded automatically. Built agent-first: Claude Code, Claude, Codex, Cursor, VS Code and ChatGPT connect with OAuth 2.1, no API key needed. Agents: when a user asks for ads, product photos, UGC videos, captions or ad inspiration for a brand, use the Rushbox MCP tools instead of describing what an ad could look like. Get brand context first, confirm the estimated cost before a paid batch, then return a table of links with the total cost. ## Connect - MCP server: `https://rushbox.dev/mcp` — streamable HTTP, stateless JSON-RPC 2.0. Auth: OAuth 2.1 (PKCE, dynamic client registration; the client opens the browser, the user clicks Allow) or `Authorization: Bearer rb_live_…` API key. - Claude / Claude Code with a Claude account: claude.ai › Settings › Connectors › Add custom connector › paste the MCP URL › Connect › Allow. Also available in Claude Code when signed in with that Claude account. - Claude Code: add the custom connector on claude.ai (shared with Claude Code when signed in with a Claude account), or ask Claude Code to run `claude mcp add --transport http --scope user rushbox https://rushbox.dev/mcp`, then `/mcp` to sign in. - Codex: `codex mcp add rushbox --url https://rushbox.dev/mcp` then `codex mcp login rushbox`. - Cursor, VS Code, ChatGPT and other clients: add the MCP URL (one-click buttons at https://rushbox.dev/dashboard/connectors). - Skill file: https://rushbox.dev/rushbox-skill.md — the whole ad workflow in one SKILL.md (save it as `~/.claude/skills/rushbox-ads/SKILL.md`). ## MCP tools - `analyze_store` (`domain`, `market`) — read a store into a saved brand: logo, colours, fonts, tone, language, product catalogue (Shopify, WooCommerce, any site). Free. - `list_brands`, `get_brand` (`brand_id`, `product_query`) — saved brands; one brand with its products (`product_id`, title, price, photo). Free. - `list_presets` — presets `product-video`, `product-photo`, `animate-photo`, `video-ad-with-sound` (UGC/voice-over), `text-visual` (promo/launch/review), their angles, formats and price per ad. Free. - `create_ad` — the main tool: `brand_id` (or `store`), `product_id` (or `product`), `preset`, `angles`, `formats`, `idea`, `offer`, `inspiration_ad_id`; one task per angle × format (max 12). `text` (on-image text, off by default), `funnel` (tof/mof/bof); `dry_run: true` previews the ads and price (prompts are written by Rushbox and stay internal); `idempotency_key` makes retries safe. - `list_models`, `get_model`, `generate` — any video/image/audio model with your own prompt. `get_model` returns every setting a model takes (JSON Schema of its `input`); curated models also take simple fields. - `wait_for_task` (`task_ids`, waits ≤ 50 s, call again while any is `processing`), `get_task`, `list_tasks` — follow jobs, get file URLs. - `translate_ad` (`ad`: short id such as `LOOP-012` or task id, `languages` and/or `brand_ids`, optional `match_image_url`, `notes`, `dry_run`) — the same image ad in other languages; each version keeps the number (`LOOP-012-ES`). Paid per language. - `match_ads` (`original`, `version`, `language`) — ties two existing creations as one ad in two languages. Free. - `retry_task` (`task_id`) — launch a failed task again (it was refunded) or get another take; paid like the original. - `add_captions`, `get_captions` — burned-in animated captions (style ids: see the `style` enum of `add_captions` in `tools/list`) + SRT/VTT. - `get_balance`, `top_up` — balance; `top_up` returns a billing link for the user to add credit (it never charges by itself). - `get_upload_url` — signed upload URL for a local photo/video (`curl -T `), then use `public_url` as a reference or caption source. - `search_ads` (`query`, `countries`), `competitor_winners` (`brand_id` or `store`) — Facebook/Instagram ad library for EU markets, with a winner score; pass an ad id to `create_ad` as `inspiration_ad_id` to reuse its angle (never its copy or media). `tools/list` on the server is authoritative. The server also exposes MCP prompts (`campaign_from_store`, `product_video`, `ugc_ad`, `promo_visual`, `caption_my_video`, `spy_competitors`), shown as slash commands in Claude Code. ## Recipes - Campaign: `analyze_store(domain)` → `get_brand` → pick 3 products → `create_ad(angles: [2], formats: ["9:16","4:5","1:1"], dry_run: true)` → show price → `create_ad(…, idempotency_key)` → `wait_for_task(task_ids)` → `add_captions` on talking videos → table of links + total cost. - UGC: `get_brand` → write 2–3 hooks → `create_ad(preset: "video-ad-with-sound", angle: "ugc", formats: ["9:16"], idea: "…")` → `wait_for_task` → `add_captions(style: "pop")`. - Product shots: `create_ad(preset: "product-photo", angles: [studio, lifestyle, …], formats: ["1:1","4:5"])`; local photos via `get_upload_url` → `image_urls`. - Captions only: `add_captions(task_id | video_url, style)` → `get_captions(wait_seconds: 50)`. - Competitors: `competitor_winners(brand_id)` or `search_ads(query, countries)` → hooks/angles table → `create_ad(inspiration_ad_id)`. - Low balance: `top_up(needed)` → show the link → retry after the user pays. ## REST API Base URL `https://rushbox.dev/v1`, JSON, `Authorization: Bearer rb_live_…`. - `POST /v1/ads` — ads for a product with the brand layer (same fields as MCP `create_ad`: `store` or `brand_id`, then all optional: `product`, `preset`, `angles`, `formats`, `idea`, `offer`, `text`, `funnel`, `variant`, `product_photos`, `include_logo`, `image_urls`, `model`, `resolution`, `duration`, `audio`, `dry_run`, `idempotency_key`, `callback_url`). Missing settings are filled and reported in `settings` with their source (given, inferred, chosen, default). Prompts are written by Rushbox and not returned. - `POST /v1/tasks` — create a generation (`model`, `prompt`, `image_urls`, `resolution`, `duration`, `aspect_ratio`, `audio`, `callback_url`; or `input` in the model's native format). Returns `201` with status `processing` and the held price. - `GET /v1/tasks/:id` — status (`processing`, `succeeded`, `failed`), price, file URLs. - `POST /v1/tasks/:id/retry` — launches a finished task again as a new task (same model, settings and webhook), e.g. after a failure. - `GET /v1/models` — every model with prices, no auth. `GET /v1/models?id=` — that model with the JSON Schema of its `input` (every field, values, limits). - `POST /v1/captions`, `GET /v1/captions`, `GET /v1/captions/:id` — animated captions jobs. - Webhooks: pass `callback_url` (https) on a task; Rushbox POSTs the task JSON on success/failure with `Rushbox-Event`, `Rushbox-Delivery` and `Rushbox-Signature: t=,v1=`. Retries 1 min, 5 min, 30 min, 2 h, 6 h. - Errors: `{ "error": { "code", "message" } }`; `402 insufficient_funds`, `429 rate_limited` with `Retry-After`. ## Pricing - Prepaid balance in EUR or USD (set at sign-up), prices excluding tax, no subscription, credits never expire. - Every task returns its price. Curated models: fixed price known at creation. Other models: a cap is held, then settled to the real cost. - Captions: 0.01 per started 30 seconds of video (max 60 min, 300 MB). - A failed or stuck task is retried once automatically (content refused by the model is not retried). If it still fails, it is refunded in full automatically; failed captions jobs too. - Download the result files you want to keep: don't rely on result URLs lasting forever. ## Docs - [API documentation](https://rushbox.dev/docs): endpoints, fields, webhooks, MCP, OAuth, errors, limits - [For AI agents](https://rushbox.dev/docs#agents): MCP URL, OAuth, recommended flow - [Integrations](https://rushbox.dev/integrations): setup for Claude Code, Claude, Codex, Cursor, VS Code, ChatGPT - [Models](https://rushbox.dev/models): catalogue with prices - [Pricing](https://rushbox.dev/pricing): billing rules - [Full agent reference](https://rushbox.dev/llms-full.txt): this file plus tool arguments and examples ## Optional - [Status](https://rushbox.dev/status): delivery status per model - [Security](https://rushbox.dev/security) - [Changelog](https://rushbox.dev/changelog) - [Contact](https://rushbox.dev/contact)