Skip to main content

Introduction

Upload custom media assets to JoggAI to enhance your videos. Include branded images, product photos, background videos, custom audio, and more in your video creation projects.

Key Features

Multiple Formats

Support for images, videos, and audio

Easy Integration

Reference assets by ID in video creation

Organized Storage

Organize assets into folders

Reusable Assets

Upload once, use in multiple projects

Workflow Overview

1

Get Signed URL

Request upload URL with file metadata
2

Upload File

Upload file using PUT request to signed URL
3

Use Asset URL

Use asset_url from Step 1 in video creation
Assets are stored permanently and can be reused across multiple video projects.

Quick Start

Key Parameters


Code Examples

Scenario 1: Upload Image

Upload product photos, logos, or background images: Step 1: Get Signed URL
Response:
Step 2: Upload File Using PUT
After successful PUT upload, use the asset_url from Step 1 response in your video creation requests.
Supported Image Formats:
Recommended resolution: 1920x1080 or higher

Scenario 2: Upload Video

Upload background videos or product demos: Step 1: Get Signed URL
Response:
Step 2: Upload File Using PUT
Supported Video Formats:
Videos longer than 5 minutes will be rejected. Codec: H.264/H.265

Scenario 3: Upload Audio

Upload custom voiceovers or background music: Step 1: Get Signed URL
Response:
Step 2: Upload File Using PUT
Supported Audio Formats:
Recommended: MP3 at 192 kbps for music, 128 kbps for voice

Scenario 4: Use Uploaded Assets in Video

Reference uploaded assets in video creation:
Use asset_id values to reference your uploaded assets in any video creation endpoint.

Format Specifications

Images

Recommended Settings:
  • Resolution: 1920x1080 (1080p) or higher
  • Quality: 80-90% for JPG
  • Format: JPG for photos, PNG for transparency
Optimization:

Videos

Recommended Settings:
  • Resolution: 1920x1080 (1080p)
  • Codec: H.264
  • Bitrate: 5-8 Mbps
  • Frame Rate: 24, 30, or 60 fps
  • Audio: AAC, 192 kbps
Optimization:

Audio

Recommended Settings:
  • Music: MP3, 192-256 kbps, Stereo
  • Voice: MP3, 128-192 kbps, Mono
  • Sample Rate: 44.1 kHz
Optimization:

Use Case Examples

Upload product images and demo videos:
  • Product photos in multiple angles
  • Usage demonstration videos
  • Brand logos and watermarks
  • Background music for product showcases
Create professional corporate content:
  • Company logos and branding
  • Office or facility videos
  • Employee photos
  • Corporate audio branding
Build engaging social media videos:
  • Eye-catching graphics
  • Short video clips
  • Trending audio tracks
  • Branded visual elements
Enhance learning materials:
  • Diagrams and charts
  • Demonstration videos
  • Background music
  • Custom voiceovers

Best Practices

Before Uploading

  • Compress files to reduce upload time and storage
  • Test files locally to ensure they’re not corrupted
  • Use appropriate formats (JPG for photos, MP4 for videos, MP3 for audio)
  • Optimize quality - balance between quality and file size

Organization

  • Use descriptive names for easy identification
  • Leverage folder parameter to organize by project or type
  • Document asset IDs in your project management system
  • Maintain a local backup of original files

File Size Limits


Troubleshooting

Error: File size exceeds limitSolutions:
  • Images: Reduce resolution or quality (use 80-85% quality for JPG)
  • Videos: Lower bitrate, reduce resolution, or shorten duration
  • Audio: Convert to MP3, reduce bitrate to 128-192 kbps
  • General: Compress before upload using tools like FFmpeg or ImageMagick
Error: File format not supportedSolutions:
  • Convert to supported format (JPG/PNG for images, MP4 for videos, MP3 for audio)
  • Check file extension matches actual format
  • Ensure file is not corrupted
  • For videos, ensure codec is H.264
Error: Upload failed or timeoutSolutions:
  • Check internet connection stability
  • Verify API key is valid and has upload permissions
  • Ensure file path is correct
  • Try compressing the file first
  • Retry with exponential backoff
Problem: Uploaded asset looks poor qualitySolutions:
  • Upload higher resolution original files
  • Don’t upscale low-resolution images
  • For JPG, use 85-90% quality setting
  • For videos, use appropriate bitrate (5-8 Mbps for 1080p)
  • For audio, use at least 192 kbps for music

Create Avatar Videos

Use uploaded assets in avatar videos

Product Videos

Include custom media in product videos

Template Videos

Use assets in video templates

Upload API Reference

Detailed API documentation