Skip to main content

API overview

remotion

Core APIs: useCurrentFrame(), interpolate(), etc.

<AbsoluteFill>
Position content absolutely and in full size
<AnimatedImage>
Display a GIF, AVIF or animated WebP image
<Artifact>
Emit an extra file during rendering
calculateMetadata()
Transform the metadata of a composition
cancelRender()
Abort an error
<CanvasImage>
Render an image into a canvas and apply effects
<Composition>
Define a video
continueRender()
Unblock a render
createEffect()
Create custom effects for canvas components
createEffectImplementation()
Type the state of one backend implementation of an effect
delayRender()
Block a render from continuing
Easing
Customize animation curve of interpolate()
<Folder>
Organize compositions in the Studio sidebar
<Freeze>
Freeze some content in time
getInputProps()
Receive the user-defined input data
getRemotionEnvironment()
Determine if you are currently previewing or rendering
getStaticFiles()
Get all files in the public/ folder
<Html5Audio>
Synchronize <audio> with Remotion's time
<Html5Video>
Synchronize a <video> with Remotion's time
<HtmlInCanvas>
Draw DOM content into a canvas via HTML-in-canvas
<IFrame>
Render an <iframe> tag and wait for it to load
<Img>
Render an <img> tag and wait for it to load
Interactive.create()
Add timing and Studio controls to a component
InteractivitySchema
Define timeline controls for components and effects
interpolate()
Map a range of values to another
interpolateColors()
Map a range of values to colors
<Loop>
Play some content repeatedly
measureSpring()
Determine the duration of a spring
<OffthreadVideo>
Alternative to <Html5Video>
prefetch()
Fetch an asset and keep it in memory
random()
Get deterministic pseudorandom values
registerRoot()
Initialize a Remotion project
<Sequence>
Time-shifts it's children
<Series>
Display contents after another
<Solid>
Render a solid-color rectangle on a canvas
spring()
Physics-based animation primitive
staticFile()
Access file from public/ folder
<Still>
Define a still
<Track>
Group clips on one Studio timeline row
useBufferState()
Inform the Player that your component is loading data
useCurrentFrame()
Obtain the current time
useCurrentScale()
Get the scale factor of the canvas
useDelayRender()
Scoped delayRender(), continueRender() and cancelRender()
usePixelDensity()
Get the pixel density factor of the current render or preview
useRemotionEnvironment()
Get information about the current Remotion environment
useVideoConfig()
Get the duration, dimensions and FPS of a composition
VERSION
Get the current version of Remotion
watchStaticFile()
Get notified when a static file changes

@remotion/animated-emoji

Google Fonts Animated Emojis as Remotion Components

@remotion/animation-utils

Obtain info about video and audio.

@remotion/bundler

Create a Webpack bundle from Node.JS

@remotion/captions

Common operations for subtitles.

@remotion/cloudrun

Render videos and stills on GCP Cloud Run

@remotion/elevenlabs

Work with transcriptions from ElevenLabs

@remotion/enable-scss

Bundler override for enabling SASS/SCSS

@remotion/fonts

Load font files onto a page.

@remotion/gif

Include a GIF in your video.

@remotion/google-fonts

Load Google Fonts onto a page.

@remotion/gsap

Use GSAP timelines in Remotion.

@remotion/install-whisper-cpp

Whisper.cpp installation and transcription

@remotion/lambda

Render videos and stills on AWS Lambda

estimatePrice()
Estimate the price of a render
deployFunction()
Create a new function in AWS Lambda
deleteFunction()
Delete a function in AWS Lambda
getFunctionInfo()
Gets information about a function
getFunctions()
Lists available Remotion Lambda functions
getCompositionsOnLambda()
Gets list of compositions inside a Lambda function
deleteSite()
Delete a bundle from S3
deploySiteFromBundle()
Upload an existing bundle to S3
deploySite()
Deprecated: Bundle and upload a site to S3
getAwsClient()
Access the AWS SDK directly
getRegions()
Get all available regions
getSites()
Get all available sites
downloadMedia()
Download a render artifact from S3
cancelRenderOnLambda()
Cancel an in-progress render
deleteRender()
Delete a render and its metadata from S3
getUserPolicy()
Get the policy JSON for your AWS user
getRolePolicy()
Get the policy JSON for your AWS role
getOrCreateBucket()
Ensure a Remotion S3 bucket exists
getRenderProgress()
Query the progress of a render
presignUrl()
Make a private file public to those with the link
renderFramesOnLambda()
Trigger an image sequence render
renderFramesOnLambdaAndStream()
Render an image sequence and stream progress
renderMediaOnLambda()
Trigger a video or audio render
renderMediaOnLambdaAndStream()
Render a video or audio and stream progress
renderStillOnLambda()
Trigger a still render
simulatePermissions()
Ensure permissions are correctly set up
speculateFunctionName()
Get the lambda function name based on its configuration
validateWebhookSignature()
Validate an incoming webhook request is authentic
appRouterWebhook()
Handle incoming webhooks specifically for the Next.js app router
pagesRouterWebhook()
Handle incoming webhooks specifically for the Next.js pages router
expressWebhook()
Handle incoming webhooks specifically for Express.js

@remotion/layout-utils

Layout helpers

@remotion/licensing

Report and query company license usage

@remotion/light-leaks

Light Leak effects

@remotion/rough-notation

Rough annotation primitives

@remotion/lottie

Include a Lottie animation in your video

@remotion/mac-cursors

Render macOS and custom CSS cursors.

@remotion/media

An experimental <NewVideo /> tag for embedding videos.

@remotion/media-parser (deprecated)

A pure JavaScript library for parsing video files

@remotion/media-utils

Obtain info about video and audio.

@remotion/motion-blur

Apply motion blur effects to components

@remotion/noise

Generate noise effects

@remotion/openai-whisper

Work with transcriptions from OpenAI Whisper

@remotion/paths

Manipulate and obtain info about SVG paths

@remotion/player

Play a Remotion video in the browser.

@remotion/preload

Preload media for the Player

@remotion/renderer

Render video, audio and stills from Node.JS or Bun

@remotion/rive

Embed Rive animations in Remotion

@remotion/sfx

Sound effects library

@remotion/shapes

Generate SVG shapes

@remotion/skia

Low-level graphics using React Native Skia

@remotion/starburst

Starburst Effect

@remotion/studio

APIs for controlling theRemotion Studio

@remotion/studio-protocol

Create Element payloads and send them into Remotion Studio

@remotion/tailwind

Bundler override for using TailwindCSS v3

@remotion/tailwind-v4

Bundler override for using TailwindCSS v4

@remotion/three

Create 3D videos using React Three Fiber

@remotion/transitions

Transition between scenes

Components

APIs

Timings

Presentations

Hover over an effect to see the preview.

@remotion/vercel

Render videos on Vercel Sandbox

@remotion/video-matting

Separate video into base and foreground layers

@remotion/webcodecs (deprecated)

Converting media using WebCodecs

convertMedia()
Converts a video using WebCodecs and Media Parser
getAvailableContainers()
Get a list of containers @remotion/webcodecs supports.
webcodecsController()
Pause, resume and abort the conversion.
canReencodeVideoTrack()
Determine if a video track can be re-encoded
canReencodeAudioTrack()
Determine if a audio track can be re-encoded
canCopyVideoTrack()
Determine if a video track can be copied without re-encoding
canCopyAudioTrack()
Determine if a audio track can be copied without re-encoding
getDefaultAudioCodec()
Gets the default audio codec for a container if no other audio codec is specified.
getDefaultVideoCodec()
Gets the default video codec for a container if no other audio codec is specified.
defaultOnAudioTrackHandler()
The default track transformation function for audio tracks.
defaultOnVideoTrackHandler()
The default track transformation function for video tracks.
getAvailableAudioCodecs()
Get the audio codecs that can fit in a container.
getAvailableVideoCodecs()
Get the video codecs that can fit in a container.
convertAudioData()
Change the format or sample rate of an AudioData object.
createAudioDecoder()
Create an AudioDecoder object.
createVideoDecoder()
Create a VideoDecoder object.
extractFrames()
Extract frames from a video at specific timestamps.
getPartialAudioData()
Extract audio data from a specific time window of a media file.
rotateAndResizeVideoFrame()
Rotate and resize a video frame.
webFsWriter
Writer that saves to browser file system using File System Access API.
bufferWriter
Writer that saves to an in-memory resizable ArrayBuffer.

@remotion/whisper-webgpu

Transcribe audio in the browser using Whisper and WebGPU

@remotion/zod-types

Zod types enabling Remotion Studio UI