Autoshorts AI transforms long videos into engaging viral shorts using the power of artificial intelligence. It analyzes video content, identifying key topics or moments likely to interest viewers, and automatically generates shorts with professional effects, animations, captions, face tracking, and music.
Experience the transformation quality. Our AI doesn't just cut—it curates, reframes, and enhances.
| 🔴 SOURCE (UNEDITED) | 🟢 RESULT (OPTIMIZED) |
|---|---|
![]() |
![]() |
| Minutes of raw footage. | 60s High-retention viral clip. |
This repository is more than a demo—it's a foundation. We provide the source code for this playground so you can:
- Discover how to interface with high-performance AI video infrastructure.
- Build your own unique frontend or Saas brand on top of our API.
- Scale instantly using our GPU clusters.
Deploy the playground locally in minutes:
git clone https://github.com/MinightDev/Autoshorts.git
cd Autoshorts
npm installCreate a .env file in the root directory. You can get your key at monzed.com/client/api.
VITE_API_BASE_URL=https://api.monzed.com/autoshorts/v1npm run devThe Monzed Engine is highly configurable. Below is an exhaustive list of every parameter you can send to the /generate endpoint.
These settings define the structural output of your video.
| Parameter | Type | Description |
|---|---|---|
resolution |
string |
1080p (1080x1920) or 720p (720x1280). Highly recommended to use 1080p for TikTok/Reels. |
clips_count |
number |
The number of segments the AI should attempt to extract (1-10 suggested). |
min_duration |
number |
Minimum length of each clip in seconds. |
max_duration |
number |
Maximum length of each clip in seconds. |
quality_preset |
string |
balanced (Fast) or best (Higher bitrate, multi-pass encoding). |
hardware |
string |
cpu (Standard) or gpu (NVIDIA T4). GPU mode enables 10x faster encoding. |
Control what the AI looks for and how it frames the narrative.
| Parameter | Type | Description |
|---|---|---|
prompt_style |
string |
AI Persona: viral_hook, storytelling, educational, funny, inspirational, etc. |
custom_prompt |
string |
(Optional) Direct instructions to the AI on what specific topics to clip. |
language |
string |
Source language code (e.g., en, es, fr). Use auto for AI detection. |
Captions are the most critical element for social media retention.
animation:word_box: Dynamic box surrounding the active word.highlight: Active word changes color.karaoke: Progressive reveal of words.glow: Soft glow transition on text.
font: Choose from premium fonts like Inter, Montserrat, Roboto, or Impact.cadence: (words_per_caption) 1-5 words. Lower values = faster, high-energy reading.styling: Controlcolor,stroke_color,stroke_width,bold, anditalic.positioning:top,center,bottom.position_x/position_y: Custom pixel offsets for precise branding.
face_tracking: (Boolean) Our proprietary AI specifically centers the speaker's face even if they move within the original wide-angle frame.crop_strategy:smart_center(AI-driven) vscenter(Fixed).effects: Array of cinematic filters:glitch,shake,vignette,vintage,soft_glow,slow_zoom_in.
voiceover_volume: Boost or normalize original speaker audio.background_music:source_url: Audio link (.mp3) or set to"auto"to let AI choose music based on content vibe.volume: 0.0 to 1.0 (Auto-ducking is enabled by default).loop: Seamless looping of tracks.
-
[!IMPORTANT] Audio Limit: For system stability, all background audio downloads (YouTube or Direct) are restricted to a maximum duration of 10 minutes. Tracks exceeding this will be rejected.
webhook_url: Receive a JSON POST payload when the job is done. Perfect for building automated SaaS pipelines.
When you are ready to take your app live:
- Production Credits: Purchase credits at monzed.com/client/api.
- Custom Features: Contact us if you need custom features or specific configurations added for your use case.
Copyright © Monzed.
This source code is provided under an Open Discovery License. You are free to explore, debug, and build applications on top of the Monzed AutoShorts API. This repo is designed to be a transparent guide for developers.
- Support & Discord: monzed.com/support
- Business Inquiries: team@monzed.com
- Contact Sales: monzed.com/products

