produce_video
Create professional videos with text overlays, optional audio replacement, and platform-specific scaling. Leverages hardware-accelerated encoding for efficient output.
Instructions
Produce a professional video with text overlays, optional audio replacement, and platform-specific scaling. Uses hardware-accelerated encoding.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_path | Yes | Absolute path to the input video file | |
| audio_path | No | Absolute path to replacement audio file (optional) | |
| use_custom_audio | No | If true, replace video audio with the provided audio file | |
| platform | No | Target platform (tiktok, reels, shorts, feed, twitter, youtube, original) | original |
| text_overlays | No | JSON array of overlays: [{"startTime":"0","endTime":"3","text":"HELLO","font":"Impact","size":48,"color":"#FFFFFF"}] | [] |
| output_path | No | Output file path (auto-generated if empty) | |
| beat_sync_effects | No | JSON array of effect IDs to trigger on beats, e.g. ["Flash","Glitch Beat"] | [] |
| target_duration | No | Target output duration in seconds (0 = use full source video) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |