Overview
Animation transforms static images into dynamic animated videos with smooth motion and camera effects. The API creates engaging stop-motion style animations, adding movement, depth, and visual effects. You can optionally provide an image as a starting point and add audio for synchronized effects.How It Works
- Provide a prompt - Describe the animation you want to create
- Optionally add an image - Use a starting image for the animation
- Optionally add audio - Include audio for synchronized effects
- API generates the animation - AI creates smooth animated video
- Download the result - Retrieve your animation video
Use Cases
- Music videos - Create visually engaging content for songs
- Social media content - Eye-catching animated posts and stories
- B-roll footage - Generate supplementary video content
- Creative projects - Artistic animations and motion graphics
- Animated avatars - Moving profile pictures and characters
Best Practices
Using Source Images
When providing a starting image:- Match the style - The prompt should complement your image
- High quality - Better images produce better animations
- Clear subjects - Well-defined subjects animate more smoothly
Audio Synchronization
When adding audio:- Match the mood - Audio should complement the visual style
- Set
end_secondsto control output duration and provide audio long enough for that clip. - See the input file guide for supported audio formats.
Code Examples
Basic Animation from Prompt
Animation from Image
Animation with Audio
Pricing
Animation estimates credits from bothfps and end_seconds. Increasing either increases the number of frames to render. Read credits_charged from the completed job for the final total.
Resolution Limits
width and height are required and must each be at least 64 pixels. Maximum dimensions depend on your subscription and the tool limits. See Resolution Limits.
API Reference
Animation API Reference
View full API specification
Related Tools
Image to Video
Convert static images to dynamic videos
Text to Video
Generate videos from text descriptions