# ContentIndexer > ContentIndexer lets coding agents understand video: it turns a screen recording into the screens that changed and what was said over each, as Markdown that Claude Code, Cursor or ChatGPT can read and act on. Upload a bug repro, a UI walkthrough or a meeting, or send it through the REST API or the MCP server, and get back a folder with one image per screen, slides.md pairing each image with its transcript, and manifest.json with every time range. The same upload also finds faces, shot changes and key moments for video editors, exported as Premiere, Final Cut and Resolve timelines, with $5 of free credit to start. ## Screens for coding agents (bug recordings, UI walkthroughs, meetings, slide decks) - Run a job with `"detectors": ["screen_slides", "transcription"]`: one clean, deduplicated image per slide/screen plus what was said while it was on screen. Pictures are taken once the screen settles (bullet builds complete, fades skipped); cursor movement, webcam bubbles and call chrome are ignored; a slide shown twice is one image with two time ranges. - `GET /v1/jobs/{id}/slides`: JSON with `status` (ready | processing | not_requested | failed | unavailable), each slide's time ranges, `image_url` and transcript, and segments in time order (revisits included). - `GET /v1/jobs/{id}/slides/markdown`: `slides.md`, one `## Slide N (mm:ss–mm:ss)` section per segment with the image and transcript; `?images=relative` for `slides/NNN.png` paths. - `GET /v1/jobs/{id}/slides/bundle`: zip with `slides.md`, `slides/NNN.png`, `manifest.json`, `transcript.txt` and a README; drop it into Cursor or Claude Code, or attach it in ChatGPT/Claude. - `image_url`, `markdown_url` and `bundle_url` carry a 1-hour `?token=`, so they load without auth headers. - MCP: `get_job_slides` and `get_slides_markdown` (read-only). Job id `sample` is the public sample below, already indexed: free to read, no upload. - Sample: a real 46-second bug report recorded in our own app, https://www.contentindexer.com/sample/bug-report/video.mp4; what the agent got, https://www.contentindexer.com/sample/bug-report/slides.md and https://www.contentindexer.com/sample/bug-report/bug-report-for-agent.zip; the fix a fresh Claude Code session wrote from it, https://www.contentindexer.com/sample/bug-report/agent-fix.diff - Price: $0.06 per video minute for slides, $0.12 per minute for the transcript, billed per second. ## Quick Facts - Base URL: https://api.contentindexer.com - Auth: API key — `x-api-key: YOUR_API_KEY` (format: `ci_...`) - API keys: create at https://contentindexer.com/dashboard - Billing: prepaid credits, charged per second of video processed - Free credit: $5 once per account, at sign-up (about 27 minutes of screens + transcript); same features as paid. Then prepaid packs from $10, no subscription, never expire - Rate limits: 100 req/10s per IP, 1000 req/hr per user ## Core Workflow 1. POST /jobs — submit a YouTube link (youtube_url or content_url) or the content_id of an upload, optionally select detectors. Only YouTube links and your own uploads work: any other link (a direct .mp4, Vimeo, Loom) returns 400 with no credit reserved, so upload the file first (POST /v1/content/upload, multipart field "file"; or POST /v1/content/upload-url {"file_name": "bug.mov"} and PUT the raw bytes to the returned upload_url, e.g. curl -T bug.mov ; either returns the content id). 2. GET /jobs/{job_id} — poll until state = "SUCCEEDED" or "FAILED" 3. GET /jobs/{job_id}/data — fetch all extractor results 4. GET /jobs/{job_id}/moments — fetch curated moments for a vertical preset 5. GET /jobs/{job_id}/export — download timeline markers (OTIO, FCPXML, CSV) ## Available Detectors - `face_detection` — face bounding boxes per frame (MediaPipe) - `object_detection` — object labels with confidence per frame (MediaPipe) - `pose_detection` — body pose keypoints per frame (MediaPipe) - `hand_detection` — hand landmarks per frame (MediaPipe) - `shot_detection` — scene cut timestamps (FFmpeg) - `clip_embeddings` — 512-dim CLIP ViT-B/16 semantic vectors per frame - `transcription` — speech-to-text with speaker diarization and sentiment (AssemblyAI) - `optical_flow` — motion analysis using Farneback dense optical flow - `color_extraction` — dominant colors and palette via K-means clustering - `object_tracking` — SAM2 video object tracking - `animation_classifier` — animation type classification - `code_screen` — CLIP-based code screen detection (ZoomCraft) - `cursor_tracking` — cursor position and scroll detection (ZoomCraft) - `screen_slides` — one image per slide or screen, deduplicated, for LLM bundles (see Slides & screens above) ## Vertical Presets Presets bundle detector selection and moment detection rules for a use case: - `wedding` — vows, first dance, speeches, emotional moments - `video_editor` — dialogue, shot types, best takes - `training` — module boundaries, key concepts, presenter segments - `zoomcraft` — code screens, cursor movements, zoom targets List all presets: GET /presets ## Key Endpoints - POST /jobs — submit video for processing - GET /jobs/{id} — get job status and metadata - GET /jobs/{id}/data — get all extractor results - GET /jobs/{id}/moments — get curated moments (requires preset) - GET /jobs/{id}/export — download NLE timeline export - GET /jobs/{id}/remotion — generate Remotion/React animation code - GET /data?content_url=... — query results by video URL (not job ID) - GET /export?content_url=... — export by video URL - GET /presets — list vertical presets - POST /upload/presigned — get presigned S3 URL for file upload - POST /webhooks/subscriptions — subscribe to job events - GET /webhooks/subscriptions — list subscriptions - DELETE /webhooks/subscriptions/{id} — unsubscribe - GET /api-keys — list API keys (admin) - POST /api-keys — create API key (admin) - DELETE /api-keys/{name} — delete API key (admin) ## Webhook Events Subscribe once, receive all events for your account: - `job.started` — processing has begun - `job.completed` — all detectors finished successfully - `job.failed` — processing failed - `detector.mediapipe.face_detection.completed` - `detector.mediapipe.object_detection.completed` - `detector.ffmpeg.shot_detection.completed` - `detector.clip_embeddings.vectors.completed` Signatures: `x-contentindexer-signature: t={timestamp},v1={hmac-sha256}` ## Export Formats - `otio` — OpenTimelineIO (universal, all major NLEs) - `fcpxml` — Final Cut Pro XML (compatible with Premiere, FCP, DaVinci) - `csv` — flat CSV for debugging or custom plugin import ## Documentation - Full API reference (this file, extended): https://contentindexer.com/llms-full.txt - OpenAPI spec: https://contentindexer.com/openapi.yaml - Claude Code and Cursor setup (MCP, with screenshots): https://www.contentindexer.com/docs/coding-agents - Try it in 2 minutes: the open-source demo repo (a React app whose bug report is a screen recording, MCP preconfigured; prompt "Get the slides for this recording and fix the bug it shows."): https://github.com/scotthavird/contentindexer-video-app?utm_source=contentindexer&utm_medium=llms-txt&utm_campaign=video-app-demo - Developer docs: https://contentindexer.com/docs/developer - Zapier integration: https://contentindexer.com/docs/zapier ## Public Pages - https://contentindexer.com/ — main landing page: video to slides + transcript for AI tools, with a live sample - https://contentindexer.com/editor — video editor vertical - https://contentindexer.com/wedding — wedding photographer vertical - https://contentindexer.com/training — training video vertical - https://contentindexer.com/zoomcraft — ZoomCraft: auto-zoom for coding tutorials - https://contentindexer.com/videotoremotion — VideoToRemotion: video to Remotion/React - https://www.contentindexer.com/docs/coding-agents — connect ContentIndexer to Claude Code and Cursor (MCP setup, sign-in, a worked bug-report example) - https://contentindexer.com/docs/developer — developer API documentation - https://contentindexer.com/terms — terms of use - https://contentindexer.com/privacy — privacy policy ## Blog - https://www.contentindexer.com/blog — guides and data on what video AI models extract from real footage (RSS: https://www.contentindexer.com/blog/rss.xml) - [Why shot detectors miss dissolves](https://www.contentindexer.com/blog/why-shot-detectors-miss-dissolves): We ran FFmpeg and PySceneDetect at 12 settings on the same reel. All caught every hard cut. None caught a single one-second dissolve. Here's why. ## Private Pages (not for AI indexing) - /dashboard — user dashboard (authentication required) - /profile — user profile (authentication required) - /payment — payment flows (authentication required) ## Attribution If you reference ContentIndexer data, please attribute: ContentIndexer (https://contentindexer.com) ## For agents You can operate ContentIndexer and buy credits without a browser, either over MCP or the REST API. - Every page is available as Markdown: send `Accept: text/markdown`, or append `index.md` (e.g. https://www.contentindexer.com/docs/coding-agents/index.md). - Setup guide for Claude Code and Cursor, with screenshots: https://www.contentindexer.com/docs/coding-agents - Demo repo to try it end to end (MCP configured, recording already indexed as job `sample`, reference fix on the `solution` branch): https://github.com/scotthavird/contentindexer-video-app?utm_source=contentindexer&utm_medium=llms-txt&utm_campaign=video-app-demo - Claude Code: `claude mcp add --transport http contentindexer https://mcp.contentindexer.com/mcp`, then `/mcp` → contentindexer → Authenticate. - Cursor: `cursor://anysphere.cursor-deeplink/mcp/install?name=contentindexer&config=eyJ1cmwiOiJodHRwczovL21jcC5jb250ZW50aW5kZXhlci5jb20vbWNwIn0=`, or `{"mcpServers":{"contentindexer":{"url":"https://mcp.contentindexer.com/mcp"}}}` in `.cursor/mcp.json`. - OpenAPI 3.1 spec: https://api.contentindexer.com/openapi.json (REST base: https://api.contentindexer.com/v1/...) - MCP server (Streamable HTTP): https://mcp.contentindexer.com/mcp - Add it as a custom connector / remote MCP server in your client. Auth is OAuth 2.1 with PKCE (discovery: https://mcp.contentindexer.com/.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server; dynamic client registration at /oauth/register; Client ID Metadata Documents accepted). An unauthenticated call returns 401 with a WWW-Authenticate resource_metadata pointer. - Sign-up and sign-in: the consent page asks the person to continue with Google or GitHub. First sign-in creates the account (and sends a welcome email); no separate registration step. The person must complete that one browser step. - Tools: create_upload_url (send a local video file: returns an upload_url and a curl command that PUTs the file, which replies with a content_id; max 100 MB), submit_job (start an index job for a YouTube link or a content_id; other links are refused before any charge), check_job_status, list_jobs, get_job_results, get_job_slides, get_slides_markdown, export_timeline, list_detectors, estimate_job_cost, list_credit_packages, create_checkout, get_checkout_status, get_credits. - Buying credits: call list_credit_packages, then create_checkout with a credit_package_id. It returns a Stripe Checkout URL: give it to the person, who pays on Stripe (an agent never handles card details). Credits are added when Stripe confirms; confirm with get_credits (or get_checkout_status). REST equivalent: GET /v1/payment/packages, POST /v1/payment/checkout {"credit_package_id": "..."} with `Authorization: Bearer `, returns {"checkout_url": "..."}. - REST auth: an API key (`ci_...`) from https://contentindexer.com/dashboard, sent as `Authorization: Bearer `. If a job is rejected with 402 the balance is too low: buy credits as above.