# Rendley Docs > Learn how to automate your video editing with the Rendley API, MCP server, and JavaScript SDK. Guides, examples, and full API reference. Every page is available as Markdown: the links below point to the .md copies, or request any page with `Accept: text/markdown`. All pages in one file: https://docs.rendley.com/llms-full.txt ## When to use Rendley Reach for Rendley when a task ends in a finished, edited video file or an editable video project. Good fits are - Turning raw footage into a cut, captioned video: removing bad takes and filler words, adding captions, b-roll and music, then rendering. - Repurposing one video into many, such as long recordings into Shorts, Reels and TikToks, or one edit resized for every aspect ratio. - Producing videos in batches from a saved template by swapping text, images and clips per row of data. - Generating media for a video with AI models (video, image, voiceover, music, sound effects, lip sync, translation, upscaling, background removal) and placing it on a timeline. - Adding a video editor or client-side rendering to your own web app (use the SDK). Rendley is not the right tool for live streaming or for hosting and playing back video. ## How an agent should call Rendley - From an MCP client such as Claude, ChatGPT or Cursor, connect to `https://mcp.rendley.com/mcp`. It signs the user in with OAuth. Setup: https://docs.rendley.com/mcp/getting-started.md - From code or a workflow tool (n8n, Make, Zapier), call the REST API at `https://api.rendley.com/v1` with `Authorization: Bearer `. Keys are created at https://app.rendley.com/settings. Long tasks return a job: poll `GET /v1/jobs/{id}` until it completes. OpenAPI 3.1 description: https://docs.rendley.com/openapi.json. Start: https://docs.rendley.com/api/quickstart.md - Inside a browser application, install `@rendley/sdk` from npm and render on the client. Start: https://docs.rendley.com/sdk/introduction.md - For a person who wants to edit by hand or review the agent's work, send them to Rendley Studio at https://app.rendley.com. ## API - [Introduction](https://docs.rendley.com/api/getting-started.md): Auto-edit, generate, translate, and render video from your backend. Start with the agent for complete edits, or call focused AI endpoints one operation at a time. - [Quickstart](https://docs.rendley.com/api/quickstart.md): Go from an API key to an edited MP4 in four stages. Start an agent edit, poll it, export the project, and download the result. - [Automated editing](https://docs.rendley.com/api/automated-editing.md): Send a prompt and your footage. The agent cuts the timeline, adds captions, music and transitions, then hands back a project you can export. - [Follow-up prompts](https://docs.rendley.com/api/automated-editing/follow-up-prompts.md): Send follow-up instructions on the same thread to adjust an automated edit. The agent keeps the timeline it built and applies your changes on top. - [Approvals](https://docs.rendley.com/api/automated-editing/approvals.md): Run the agent in interactive mode so it pauses for your approval, asks clarifying questions, and waits for an answer before touching the timeline. - [Results and export](https://docs.rendley.com/api/automated-editing/results.md): Read what the agent changed, export the finished project to MP4, and download the file. Includes error handling for partial and failed edits. - [Authentication](https://docs.rendley.com/api/authentication.md): Create an API key and authenticate every request with a bearer token. Covers key management, workspace scoping and the errors you will hit. - [Jobs and polling](https://docs.rendley.com/api/polling.md): Long-running AI and export operations return jobs. Learn the job lifecycle, poll safely, and read the finished output. - [Errors and retries](https://docs.rendley.com/api/errors.md): Every status code the Rendley API returns, the shape of an error body, and which failures are worth retrying. Includes backoff guidance. - [Credits and cost](https://docs.rendley.com/api/credits.md): Price direct AI and export calls before you run them. Their /cost endpoints accept the same body and do not start work or spend credits. - [Auto-edit from a prompt](https://docs.rendley.com/api/examples/auto-edit-from-a-prompt.md): A complete runnable script that turns raw footage into a captioned highlight reel using one prompt. Available in cURL, JavaScript and Python. - [Auto-caption a video](https://docs.rendley.com/api/examples/auto-caption-a-video.md): Send a video and a prompt. The agent transcribes the audio and places styled captions on the timeline, then exports a captioned MP4. - [Generate videos in bulk](https://docs.rendley.com/api/examples/generate-videos-in-bulk.md): Render hundreds of personalized videos from one template and a list of rows. Covers batching, concurrency limits and collecting the finished files. - [Render a video](https://docs.rendley.com/api/render-a-video.md): Build a timeline in JSON, swap in your own text and media, and export it to MP4. The programmatic route when you want exact control over every frame. - [Generate and download](https://docs.rendley.com/api/examples/generate-and-download.md): Start a text-to-video job, poll it to completion, and save the resulting MP4 to disk. Runnable in cURL, JavaScript and Python. - [Generate an image](https://docs.rendley.com/api/examples/generate-image.md): Generate images from a text prompt using FLUX, Imagen, Seedream or Nano Banana through one endpoint. Compare models and pick the right one. - [Text to speech](https://docs.rendley.com/api/examples/text-to-speech.md): Turn a script into natural-sounding narration, browse the voice catalog, and drop the audio straight onto a video timeline. - [Generate music](https://docs.rendley.com/api/examples/generate-music.md): Describe the mood you want and get an original music track for your video. Control duration and style, then add it to a project. - [Remove a background](https://docs.rendley.com/api/examples/remove-background.md): Cut the background out of any footage without a green screen, then composite the subject onto a new scene. Works frame by frame on the whole clip. - [Lip sync a video](https://docs.rendley.com/api/examples/lip-sync-a-video.md): Match a speaker's mouth movements to a new audio track. Use it to dub footage into another language or to fix a bad take without a reshoot. - [Translate a video](https://docs.rendley.com/api/examples/translate-video.md): Translate spoken audio into another language while keeping the original speaker's voice. Covers language pairs, timing and lip sync. - [Upscale a video](https://docs.rendley.com/api/examples/upscale-video.md): Raise the resolution of low-quality footage to 1080p or 4K. Useful for old recordings, phone video and anything shot below your delivery spec. - [Isolate a voice](https://docs.rendley.com/api/examples/isolate-a-voice.md): Strip music, room echo and background noise from a recording so only clean dialogue remains. Built for interviews, podcasts and field footage. ## MCP - [Edit videos from your AI assistant](https://docs.rendley.com/mcp/getting-started.md): Connect Rendley MCP to Claude, ChatGPT, Codex, or any MCP client. Describe the video you want, edit your own files, and export the finished result from the conversation. - [Authentication](https://docs.rendley.com/mcp/authentication.md): Sign in to Rendley from your MCP client, or use an API key when the client cannot complete browser authentication. - [Automation connector](https://docs.rendley.com/mcp/automation.md): Use Rendley’s full video-editing agent over MCP. It can work with your files, edit projects, generate media, create motion graphics, and export a finished video. - [Connect your AI client](https://docs.rendley.com/mcp/connect.md): Connect Claude, ChatGPT, Codex, or another MCP client to Rendley’s full video-automation endpoint and verify that it can edit and export. - [Claude](https://docs.rendley.com/mcp/claude.md): Connect Claude Desktop, Claude on the web, or Claude Code to Rendley’s automation endpoint and create finished videos from the conversation. - [ChatGPT and Codex](https://docs.rendley.com/mcp/chatgpt.md): Install Rendley in ChatGPT from the plugin directory, or connect a custom connector or Codex, then create finished videos from the conversation. - [Other clients](https://docs.rendley.com/mcp/other-clients.md): Connect Cursor, VS Code, Windsurf, Zed, Perplexity or any client that speaks remote MCP, with a JSON config or the mcp-remote bridge. - [What the agent can do](https://docs.rendley.com/mcp/capabilities.md): Explore every Rendley MCP capability, from understanding source media to editing timelines, generating assets, creating motion graphics, localizing, applying a brand kit and exporting finished videos. - [Example prompts](https://docs.rendley.com/mcp/examples.md): Copy and adapt practical prompts for editing local footage, creating complete videos, motion graphics, social clips, localization, branding, and media enhancement. - [Work with your files](https://docs.rendley.com/mcp/local-files.md): Use local video, audio, images, logos, fonts, chat attachments, public links, and existing Rendley media in an MCP-powered edit. - [Motion graphics with your AI model](https://docs.rendley.com/mcp/motion-graphics.md): Let the model in your MCP client create editable titles, lower thirds, logo reveals, transitions, data visuals, and complete animated scenes without using Rendley generation credits. - [The Claude directory version](https://docs.rendley.com/mcp/public-connector.md): The Rendley connector listed in the Claude directory. It edits and exports on a paid plan, but does not generate media. - [Troubleshooting](https://docs.rendley.com/mcp/troubleshooting.md): Fix the common Rendley MCP problems, such as the server not appearing, auth failures, tool calls timing out and stale client caches. ## SDK - [JavaScript Video Editing SDK](https://docs.rendley.com/sdk/introduction.md): Use Rendley's video rendering infrastructure in your product. Add a timeline, effects, transitions, captions and export to any web app. React, Vue or vanilla JS. - [Installation](https://docs.rendley.com/sdk/quick-start/installation.md): Install the Rendley SDK via npm, yarn or pnpm. One package for browser-based video editing. Works with React, Vue, Angular, Svelte or vanilla JavaScript. - [Your first video](https://docs.rendley.com/sdk/quick-start/create-first-video.md): Build your first video with the Rendley SDK in under 5 minutes. Initialize the engine, add clips to the timeline and export an MP4. - [Rendley SDK Core Concepts](https://docs.rendley.com/sdk/concepts.md): How the Rendley video editing SDK fits together. Engine, Timeline, Layers, Clips, Library and the rendering pipeline. Architecture guide for developers. - [Engine](https://docs.rendley.com/sdk/getting-started/engine.md): The Engine is the main entry point for the Rendley SDK. A singleton that manages the timeline, rendering pipeline and media library for your video editing app. - [Display and canvas](https://docs.rendley.com/sdk/getting-started/display.md): Configure the WebGL canvas where the Rendley SDK renders every frame. Set resolution, aspect ratio, background color and display scaling for your video editor. - [Media library](https://docs.rendley.com/sdk/getting-started/library.md): Upload and organize media assets. Video, audio, images, fonts, effects, transitions and subtitles. In the Rendley SDK media library. - [Timeline](https://docs.rendley.com/sdk/getting-started/timeline.md): The Timeline drives the composition in the Rendley SDK. It owns all layers and clips, controls playback, and tracks the current frame for your video editor. - [Layers](https://docs.rendley.com/sdk/getting-started/layer.md): Arrange clips in stacked layers for overlapping video compositions. Each layer controls z-order, visibility and blending in the Rendley SDK timeline. - [Clips](https://docs.rendley.com/sdk/getting-started/clips.md): Working with clips in the Rendley SDK. The common API shared by video, image, audio, text, shape, SVG, GIF, Lottie and custom clip types. - [Project settings](https://docs.rendley.com/sdk/getting-started/settings.md): Global configuration for the Rendley SDK. Encoder, decoder, render loop, media processing, subtitle defaults, canvas behavior and export quality settings. - [Events and state](https://docs.rendley.com/sdk/user-interface/listening-to-events.md): Listen to video editor events in the Rendley SDK. React to timeline changes, clip selection, playback state, export progress and user actions. - [Video clips](https://docs.rendley.com/sdk/getting-started/clips/video.md): Load, trim, loop and render video files on the canvas. VideoClip supports trimming, freeze frames, playback speed, volume control and audio extraction. - [Audio clips](https://docs.rendley.com/sdk/getting-started/clips/audio.md): Add audio clips to the timeline with trimming, playback speed, pitch preservation and volume fades. Mix background music, voiceovers and sound effects. - [Image clips](https://docs.rendley.com/sdk/getting-started/clips/image.md): Add images to the video timeline with the Rendley SDK. Position, scale, crop, animate and layer image overlays over video clips. - [Text clips](https://docs.rendley.com/sdk/getting-started/clips/text.md): Render styled text on the video canvas. Font selection, color, stroke, drop shadow, letter spacing, line height, alignment and multi-line support. - [HTML text clips](https://docs.rendley.com/sdk/getting-started/clips/html-text.md): Render HTML snippets as visual elements on the video canvas. Support for mixed styles, nested elements, inline formatting and CSS-styled text. - [Subtitle clips](https://docs.rendley.com/sdk/getting-started/clips/subtitles.md): Render time-synced animated subtitles on the video canvas. Pull text from SRT data, highlight the active word and style each subtitle segment independently. - [Shape clips](https://docs.rendley.com/sdk/getting-started/clips/shape.md): Add rectangles, circles, lines and custom shapes to video with the Rendley SDK. Style with fills, strokes, rounded corners and gradients. - [SVG clips](https://docs.rendley.com/sdk/getting-started/clips/svg.md): Render SVG vector graphics on the canvas at any resolution. Ideal for logos, icons, illustrations and scalable overlays that stay sharp when scaled. - [GIF clips](https://docs.rendley.com/sdk/getting-started/clips/gif.md): Render animated GIFs with transparency on the video canvas. Ideal for stickers, memes, animated overlays and looping decorative elements. - [Lottie clips](https://docs.rendley.com/sdk/getting-started/clips/lottie.md): Render Lottie and Bodymovin animations from After Effects on the video canvas. Scalable motion graphics with full playback control and timeline sync. - [Adjustment clips](https://docs.rendley.com/sdk/getting-started/clips/adjustment.md): Apply effects and filters to everything below an adjustment clip. Stack color grading, blur, glow and custom shaders non-destructively across multiple layers. - [Placeholder clips](https://docs.rendley.com/sdk/getting-started/clips/placeholder.md): Reserve a slot on the timeline while media is still loading. The placeholder clip is replaced by the real clip in place once the asset is ready. - [Custom clips](https://docs.rendley.com/sdk/getting-started/clips/custom.md): Extend CustomClip to create your own clip types. Inherit timing, trimming, transforms, animations, effects and serialization. Render anything on the canvas. - [Styling](https://docs.rendley.com/sdk/getting-started/styling.md): Control the visual style of text and shape clips. Position, scale, rotation, opacity, color, stroke and drop shadow. Through the Rendley SDK ClipStyle API. - [Fonts](https://docs.rendley.com/sdk/getting-started/fonts.md): Load and use custom fonts in the Rendley SDK. Google Fonts, local files or any web font. Full control over typography for text overlays and captions. - [Subtitles and captions](https://docs.rendley.com/sdk/getting-started/subtitles.md): Display time-synced subtitles and captions in your video editor. Add them manually, from SRT files or from word-level transcription data for animated captions. - [Crop and zoom](https://docs.rendley.com/sdk/getting-started/crop.md): Crop the visible area of any media clip non-destructively. Animate crop and zoom with keyframes for Ken Burns effects and focus-pull transitions. - [Playback speed](https://docs.rendley.com/sdk/getting-started/playback-speed.md): Speed up or slow down video, audio, GIF and Lottie clips. Preserve audio pitch at different speeds, and add volume fade-in and fade-out effects. - [Filters](https://docs.rendley.com/sdk/getting-started/filters.md): Apply LUT-based color grading and video filters in the browser. Load built-in presets or import custom LUT files for precise color control with WebGL. - [Effects](https://docs.rendley.com/sdk/getting-started/effects.md): Add GPU-accelerated video effects. Blur, glow, waves, color grading and custom GLSL shaders. To any clip in the composition. Real-time preview in the browser. - [Transitions](https://docs.rendley.com/sdk/getting-started/transitions.md): Add GPU-accelerated transitions between clips using WebGL shaders. Built-in wipes, dissolves and slides plus custom GLSL transitions for your video editor. - [Animation](https://docs.rendley.com/sdk/getting-started/animation.md): Two animation systems, the PropertyAnimator for keyframe-based motion and the AnimationController for quick entrance/exit presets. Pick based on the job. - [Keyframe animator](https://docs.rendley.com/sdk/getting-started/property-animator.md): Animate any clip property with keyframes. Position, scale, rotation, opacity, crop and more. Easing curves, bezier control and per-frame precision. - [Preset animations](https://docs.rendley.com/sdk/getting-started/animation-layered.md): Preset animation controller for the Rendley SDK. Apply in/out/loop animation presets to clips and customize timing, easing and delay. - [Masking](https://docs.rendley.com/sdk/getting-started/masking.md): Mask any clip using another clip as its alpha source. Shapes, text, images or video. Non-destructive compositing and reveal effects in the browser. - [Storage and uploads](https://docs.rendley.com/sdk/getting-started/storage.md): Configure where the Rendley SDK stores media assets. Default in-memory mode, custom storage backends for S3 or cloud uploads, and persistent project workflows. - [Save and restore](https://docs.rendley.com/sdk/getting-started/save-restore.md): Serialize a video project to JSON and restore it later. Store compositions in a database, enable cross-session editing and share video projects between users. - [Zip archive](https://docs.rendley.com/sdk/getting-started/zip-archive.md): Build and read .zip archives inside the FFmpeg virtual filesystem. Package video projects with all their assets for download or transfer. - [Undo and redo](https://docs.rendley.com/sdk/getting-started/undo-redo.md): Built-in undo/redo system that records state changes across the Engine, Timeline, Layers, Clips, Library and Subtitles. Full history management for your editor. - [Filmstrips and waveforms](https://docs.rendley.com/sdk/getting-started/filmstrip.md): Extract filmstrip frame thumbnails and audio waveform data from media files. Build timeline scrubbers and visual previews for your video editor UI. - [FFmpeg in the browser](https://docs.rendley.com/sdk/getting-started/ffmpeg.md): The Rendley SDK bundles FFmpeg compiled to WebAssembly for probing, transcoding and audio mixing during video export. Works in any modern browser. - [Export](https://docs.rendley.com/sdk/getting-started/export.md): Export video to MP4 or WebM with the Rendley SDK. Configure resolution, bitrate, format and track progress. Client-side or server-side. - [Render in the browser](https://docs.rendley.com/sdk/rendering/render-on-device.md): Render video in the browser using the device GPU and CPU. WebCodecs for hardware-accelerated encoding with a WASM fallback. Zero server cost. - [Render on a server](https://docs.rendley.com/sdk/rendering/render-on-server.md): Render video on the server with headless Chromium and the Rendley SDK. Identical output to client-side, with batch processing and full resource control. - [Video Editor UI](https://docs.rendley.com/sdk/video-editor-ui/overview.md): Drop a full video editor into any web page with one HTML tag. Timeline, media library, effects, transitions, captions and export. White-label ready. - [Installation](https://docs.rendley.com/sdk/video-editor-ui/installation.md): Install the Rendley Video Editor UI web component via npm. Works with React, Vue, Angular, Svelte or plain HTML. One tag, no framework lock-in. - [Configuration](https://docs.rendley.com/sdk/video-editor-ui/configuration.md): Customize the Video Editor UI. Enable or disable features, set branding, configure media sources and control the editing workflow. - [Events and methods](https://docs.rendley.com/sdk/video-editor-ui/events-and-methods.md): The rendley-video-editor web component emits lifecycle events and exposes methods for reaching into the underlying Rendley SDK. Full API reference. - [Integration recipes](https://docs.rendley.com/sdk/video-editor-ui/common-tasks.md): Common Video Editor UI recipes. Load a project, set the composition, pre-populate media, listen to events and export programmatically. - [Source code license](https://docs.rendley.com/sdk/video-editor-ui/source-code.md): Purchase the source code to customize the Video Editor UI, remove the Rendley logo, integrate third-party services, and self-host the entire editor. - [Slideshow video](https://docs.rendley.com/sdk/examples/slideshow-video.md): Create a slideshow video from scratch with the Rendley SDK. Upload images, arrange them on the timeline, add transitions between slides and export as MP4. - [Background removal](https://docs.rendley.com/sdk/examples/background-removal.md): Remove video backgrounds in real time with a WebGL chroma key shader. Runnable example using the Rendley SDK custom clip API for green-screen compositing. - [Best practices](https://docs.rendley.com/sdk/best-practices.md): Optimize Rendley SDK performance in production. Manage memory, speed up video rendering, handle large files and keep in-browser video editing smooth. - [Troubleshooting](https://docs.rendley.com/sdk/troubleshooting.md): Fix common Rendley SDK issues. WebGL errors, codec support, memory limits, rendering glitches and build problems. Solutions and workarounds for each. - [FAQ](https://docs.rendley.com/sdk/faq.md): Frequently asked questions about the Rendley video editing SDK. Licensing, browser support, file formats, performance and troubleshooting. - [SDK changelog](https://docs.rendley.com/sdk/changelog.md): Release notes and version history for the Rendley video editing SDK. Breaking changes, new features, bug fixes and performance improvements. - [SDK roadmap](https://docs.rendley.com/sdk/roadmap.md): Planned and completed improvements for the Rendley video editing SDK, grouped by priority. See what's coming for rendering, effects and codecs. - [Editor UI changelog](https://docs.rendley.com/sdk/video-editor-ui/changelog.md): Release notes and version history for the Rendley Video Editor UI web component. New features, fixes and breaking changes per version. - [Editor UI roadmap](https://docs.rendley.com/sdk/video-editor-ui/roadmap.md): Planned and completed features for the Rendley Video Editor UI web component. Upcoming capabilities, feature requests and release timeline. ## Connect - [Introduction](https://docs.rendley.com/connect/getting-started.md): Rendley Connect adds video editing to your product without you building an editor. Your users edit in Rendley, and your server gets the finished file. - [Quickstart](https://docs.rendley.com/connect/quickstart.md): Integrate Rendley Connect end to end. Create a session, redirect the user, handle the return and download the video, with the API reference inline. - [Prepare your assets](https://docs.rendley.com/connect/assets.md): Host the media you send in a Connect session. Supported files, the CORS headers the editor needs, configs for S3, R2, GCS, nginx and Express. - [Continue editing](https://docs.rendley.com/connect/continue-editing.md): Let a user change a video they already edited. Pass continue_session_id to reopen their Rendley project with all their edits. - [Keys and errors](https://docs.rendley.com/connect/authentication.md): Create and send a Connect key, the error codes the API returns, the messages users can see in the editor, and fixes for common problems. ## Optional - [API reference](https://docs.rendley.com/sdk/api-reference/index.html): Full generated TypeScript API reference for @rendley/sdk.