This task can be performed using Swiftia
AI Video Editing and repurposing API with Advanced Styling
Best product for this task

Swiftia
social-tools
Swiftia's API transforms long videos into engaging shorts with AI, CSS styling, speaker detection, and auto-reframing.
APIVideo APIAI VideoB2BVideo AutomationCSS SubtitlesAI editingAuto ReframingSocial media automationAI clipping

What to expect from an ideal product
- Uses smart algorithms to find and follow who's talking in your videos
- Tracks speaker movements and keeps them centered in the frame
- Knows when someone new starts talking and smoothly switches focus
- Keeps faces visible and properly framed even when people move around
- Creates automatic cuts between speakers to maintain viewer attention