Asset commands require authentication. Run
oanim login to sign in, or set ANIMATE_API_KEY. You can also set ANIMATE_FAL_KEY to use your own fal.ai key directly.Image commands
gen-image
Generate an image from a text prompt.edit-image
Edit an existing image with a text prompt.remove-bg
Remove the background from an image.upscale
Upscale an image 2x.run — any model
Run any fal.ai model directly. This is how you access video generation, audio generation, and any other model not covered by the dedicated commands above.Video generation
Audio generation
Other models
--out is provided and the model returns a URL, the file is downloaded. Otherwise the raw JSON response is printed to stdout.
When to use each command
Supported models
25+ models across image, video, audio, and more. See Credits & Billing for the full model list and per-operation costs.Highlights
Tips
- Generate backgrounds at your video resolution (1920x1080 by default)
- Use
staticFile()in Remotion to reference files inpublic/ - Remove backgrounds on product shots so they composite cleanly over gradient backgrounds
- Generate short video clips with Kling/Veo and composite them into your Remotion project
- Use Beatoven for background music, then add it with Remotion’s
<Audio>component