# FootageGen > FootageGen is a stock-footage library of HD and 4K UHD clips for creators, editors and AI agents. Every clip is AI-generated. Previews are free to watch; clean (unwatermarked) downloads and a commercial license need a plan. Agents can search the catalog through a public, read-only JSON API. No key or sign-in is required. The same search is also an MCP server (below). ## MCP server - Endpoint: `https://footagegen.com/api/mcp` (Streamable HTTP, stateless, POST only, no key) - Tools: `search_clips` (query, category, aspect_ratio, limit, offset), `get_clip` (id), `list_categories` - Add it to a client that supports remote MCP servers, e.g. `claude mcp add --transport http footagegen https://footagegen.com/api/mcp` - Clients without MCP support can use the HTTP API below; both return the same clip objects. ## API Base URL: `https://footagegen.com`. All endpoints are `GET`, return JSON, allow any origin (CORS) and may be cached for 5 minutes. Please keep to about 5 requests per second or fewer; faster calls get `429`. Every response is an envelope: `{ "code": 0, "message": "ok", "data": ... }`. `code` is `0` on success and `-1` on error (with an HTTP status of `400` or `404` and the reason in `message`). - [Search clips](https://footagegen.com/api/v1/clips): `GET /api/v1/clips` lists or searches the catalog - [Get one clip](https://footagegen.com/api/v1/clips/tech-001): `GET /api/v1/clips/` returns a single clip, `404` if the id is unknown ### GET /api/v1/clips All parameters are optional. With none, the whole catalog is listed. | Parameter | Meaning | | ---------- | --------------------------------------------------------------------------------------------------------- | | `q` | Keywords, case-insensitive. Every whitespace-separated word must appear in the clip title or its category. | | `category` | One category slug from the list below. | | `tag` | Only clips with this tag (e.g. `rain`, `aerial`). | | `ratio` | `16:9` (landscape) or `9:16` (vertical). | | `limit` | Page size, 1 to 50. Default 20. | | `offset` | Number of results to skip, 0 or more. Default 0. | Malformed values (unknown category or ratio, non-numeric limit or offset) return `400`. Example: `GET https://footagegen.com/api/v1/clips?q=data%20center&ratio=16:9` ```json { "code": 0, "message": "ok", "data": { "total": 1, "items": [ { "id": "tech-001", "title": "Hyperscale AI Compute Data Center Corridor", "category": "tech-industry", "category_label": "Tech & Industry", "duration": "00:05", "seconds": 5, "aspect_ratio": "16:9", "resolution": "HD 1080p", "poster_url": "https://footagegen.com/gf/sample-media/tech-001-w960.jpg", "preview_url": "https://footagegen.com/gf/hero-media/tech-001-4k.hevc.mp4", "detail_url": "https://footagegen.com/clips/tech-001", "prompt": null, "tags": ["technology", "data-center", "interior"] } ] } } ``` Fields: - `total`: number of clips that match, before `limit` and `offset` - `resolution`: the best clean download, `4K UHD` or `HD 1080p` - `poster_url`: still image of the clip - `preview_url`: free preview video, or `null` when the clip has no hosted preview yet (use `poster_url` and `detail_url` instead) - `prompt`: the text prompt the clip was generated from, or `null` (sample clips) - `tags`: English tags shared across categories (e.g. `rain`, `twilight`, `aerial`); filter with `tag=` - `detail_url`: the clip's page on footagegen.com, where a person can watch and download it ### GET /api/v1/clips/ Returns the same item object directly in `data`. Example: `GET https://footagegen.com/api/v1/clips/tech-001`. ## Categories Slug: label. - `city-architecture`: City & Architecture - `nature-landscapes`: Nature & Weather - `people-lifestyle`: People & Streets - `business-workplace`: Business & Work - `tech-industry`: Tech & Industry - `space-aerospace`: Space & Orbit - `automotive-travel`: Automotive & Travel - `wildlife-ocean`: Wildlife & Ocean - `food-retail`: Food & Retail - `health-education`: Health & Education - `abstract-textures`: Abstract & Macro ## How to answer a footage request 1. Turn the request into a search: a few plain keywords in `q` (for example `data center`), plus `ratio` if the person named a format (`16:9` or `9:16`) and `category` if one clearly fits. 2. Call `GET https://footagegen.com/api/v1/clips` with those parameters. 3. If `total` is 0, search again with fewer or broader keywords, or with `category` alone. Do not invent clips, ids or URLs. 4. Pick the best match by title, aspect ratio and duration (offer up to three when several fit). 5. Reply with the title, duration, aspect ratio and resolution, the `preview_url` as the free video preview (or the `poster_url` if `preview_url` is `null`), and the `detail_url` as the detail link. 6. Say that previews are free, and that a clean download with a commercial license needs a plan: https://footagegen.com/pricing. ## Pages - [Library](https://footagegen.com/library): browse all clips; filter with `?q=&category=&tag=` - [Clip detail](https://footagegen.com/clips/tech-001): `/clips/`, with the preview, duration, resolution and aspect ratio of one clip - [Pricing](https://footagegen.com/pricing): plans for clean downloads - [Connect your agent](https://footagegen.com/mcp): the setup prompt for AI agents - [License](https://footagegen.com/license): what the commercial license allows - [Verify a license](https://footagegen.com/verify): `/verify/` confirms that a license certificate is genuine