packages/docs/docs/stills.mdx
Remotion is a great solution for rendering thumbnails of videos or dynamic still images too. See our Still template for an easy way to get started.
If you already have a Remotion project, read on how you can render stills.
Use the <Still /> component instead of the <Composition /> one to define a still. The timeline will disappear, and you will not have to define a duration or FPS value.
You can use the <Thumbnail> component from @remotion/player to preview a still image in a regular React app (Next.js, Vite, Create React App, etc.). This is useful if you want to display your still in a web application before rendering it.
You can use the npx remotion still command to render a still image. Example command:
npx remotion still --props='{"custom": "data"}' my-comp out.png
You can use the --image-format flag to determine the output format. The default format is png, with jpeg, webp and pdf being the other options.
By default the frame with number of a composition is being rendered, you can control it using the --frame flag.
You can use the renderStill() Node.JS API to render a still frame programmatically.
:::warning
Experimental feature - expect bugs and breaking changes at any time.
Track progress on GitHub and discuss in the #web-renderer channel on Discord.
:::
You can use the renderStillOnWeb() browser API to render a still frame programmatically.
You can use Remotion Lambda to render stills:
renderStillOnLambda() API.npx remotion lambda still CLI command.You can use Cloud Run to render stills:
renderStillOnCloudRun() API.npx remotion cloudrun still CLI command.