Overview
Upload once. Use everywhere. Assets are the media files (videos, images, audio) you reuse across multiple video projects. Upload your brand assets, product shots, and B-roll, then reference them in prompts.Supported Asset Types
Video Files
MP4
Most common format, widely supported
MOV
QuickTime format, high quality
AVI
Windows video format
WebM
Web-optimized video format
Image Files
PNG
Transparent backgrounds supported
JPEG
Compressed photos and graphics
GIF
Animated graphics
WebP
Modern web image format
Audio Files
MP3
Most common audio format
WAV
Uncompressed, high quality
OGG
Open-source audio format
AAC
Advanced audio coding
Maximum file size: 100MB per upload
Uploading Assets
Single File Upload
Batch Upload
Upload multiple assets at once:Managing Assets
List All Assets
View all your uploaded assets:Filter by Type
Get specific types of assets:Organize with Naming Conventions
Use descriptive names in your file paths to keep assets organized:Using Assets in Videos
Reference in Prompts
Reference uploaded assets in your video prompts:Asset Library Pattern
Create a reusable asset library:Best Practices
1. Optimize Before Upload
Compress large files
Compress large files
Keep files under 100MB by compressing them before upload:Images:
- Use tools like TinyPNG, ImageOptim, or Squoosh
- Convert to WebP for smaller file sizes
- Resize to appropriate dimensions
- Use HandBrake or FFmpeg to compress
- Target reasonable bitrates (e.g., 5-10 Mbps for 1080p)
- Consider lower resolutions if appropriate
- Use 128-320 kbps for MP3
- Consider mono instead of stereo for voice
- Trim silence from beginning and end
Use appropriate formats
Use appropriate formats
Choose the right format for your use case:
- PNG: Logos, graphics with transparency
- JPEG: Photos, complex images without transparency
- MP4: General video content
- MP3: Background music, voiceovers
Validate before upload
Validate before upload
2. Track Asset Usage
Keep a record of which assets are used in which projects:3. Implement Retry Logic
Handle upload failures gracefully:4. Clean Up Unused Assets
Periodically review and delete unused assets:Common Workflows
Workflow 1: Branded Content
Workflow 2: Template Library
Troubleshooting
Upload fails with 413 error
Upload fails with 413 error
Cause: File exceeds 100MB limitSolution:
- Compress the file
- Split into smaller segments
- Use a lower resolution/quality
Asset URL not working in prompts
Asset URL not working in prompts
Cause: Asset still processing or URL expiredSolution:
- Check asset status:
GET /api/v1/assets/{assetId} - Wait for
state: "ready" - Use fresh URLs (don’t cache old URLs)
Wrong content type error
Wrong content type error
Cause: Content-Type header doesn’t match fileSolution:
- Verify file extension matches content type
- Use correct MIME types:
- PNG:
image/png - JPEG:
image/jpeg - MP4:
video/mp4 - MP3:
audio/mpeg
- PNG:
Next Steps
Upload Asset
API reference for asset uploads
Video Creation
Use assets in your videos
Error Handling
Handle upload errors