# AdCamera > AdCamera turns an e-commerce product page URL into ready-to-run ads: product images in 1:1, 4:5 and 9:16, 5 second 9:16 product videos, headlines, ad copy and CTAs. It reads Shopify and most store pages, plans distinct selling angles, and places the real product photo into new ad scenes. Built to be used by AI agents (Claude Code, Codex, any MCP client) as well as people. Pricing: prepaid credits, 1 credit per image, 4 per video, credits never expire, failed generations are refunded automatically. Buy at https://adcamera.com/#pricing. Images are yours to use commercially. ## Use it - [Agent skill (SKILL.md)](https://adcamera.com/skill.md): when and how an agent should use AdCamera - MCP (streamable HTTP): `https://adcamera.com/mcp` with header `Authorization: Bearer `. Tools: `estimate_ad_pack`, `create_ad_pack`, `get_ad_pack`, `list_ad_packs` - [API and MCP docs](https://adcamera.com/docs): endpoints, request and response examples, credits, refunds and errors - Setup guides: [Claude Code](https://adcamera.com/claude-code), [Codex](https://adcamera.com/codex), [Cursor](https://adcamera.com/cursor), [any MCP client](https://adcamera.com/mcp) ## HTTP API Auth: `Authorization: Bearer adc_...`. Sign in at https://adcamera.com/app (Google or an emailed link) and create a key under API keys. - `POST /v1/ads` body `{"url": string, "concepts"?: 1-6 (default 3), "formats"?: ["1:1","4:5","9:16"] (default all), "video"?: boolean (needs "9:16" in formats)}` -> 202 `{"id", "creditsCharged", "status", "poll"}`; 402 `{"error", "needed", "buy"}` when credits are too low, and no pack is created. A pack usually takes a few minutes and stops after about 15; poll until `status` is `done` or `failed` - `GET /v1/ads/{id}` -> `{"id", "status": "queued"|"planning"|"generating"|"done"|"failed", "productUrl", "product": {"title", "brand", "image", "price": {"amount", "currency"}} | null, "options": {"concepts", "formats", "video"}, "creditsCharged", "creditsRefunded", "error", "createdAt", "productSummary", "concepts": [{"angle", "headline", "primaryText", "cta", "assets": [{"kind": "image"|"video", "format", "status", "url", "error"}]}]}`. `product` is null until the page is read. `creditsRefunded` covers files that weren't made and lands when the pack finishes. `error` is a sentence to show the user as is; 404 for an id not on this account. - `GET /v1/ads?limit=20&before={id}` -> `{"ads": [...], "next": id | null}`: the account's packs, newest first, each with the fields above except `productSummary` and `concepts`, plus `previewUrl`, `delivered` and `failed` counts. Pass `next` as `before` for older packs; `limit` is 1-50. - `GET /v1/ads/{id}/download` -> a zip of the pack's finished images and videos plus `copy.txt` with each angle's headline, ad copy and CTA. Needs the key, unlike the `/media` file URLs. 409 until a file is finished, 404 for an id not on this account - `POST /v1/ads/estimate` same body as create -> `{"credits", "balance"}` - `GET /v1/account` -> `{"email", "credits"}` - `GET /v1/packs` -> `{"packs": [{"id", "name", "credits", "priceCents"}]}`, prices in US cents Errors are JSON `{"error": string}` with a message written for a person: 400 bad body or query, 401 missing or wrong key, 402 too few credits, 403 a key used on `/v1/keys` or a cross-site request with the web app's cookie, 404 not found, 409 download before any file is finished, 503 the pack couldn't start (credits refunded) or checkout is unavailable; try again in a minute.