Turn a clip into a finished UGC video
merge_adPut an app screen recording and a hook text overlay (plus optional background music) into a completed clip to make the finished UGC video for the app. Same as clipugc videos merge <clipId>.
Instructions
Put an app screen recording and a hook text overlay (plus optional background music) into a completed clip to make the finished UGC video for the app. Same as clipugc videos merge <clipId>. The clip must have status "completed" (check with get_video). This step is free at the time of writing; the live cost is the merge key of get_credits. Files are uploaded first. Returns merged_video_id: the finished video id, which is a different id space from the clip id. The finished video renders in the background. Poll get_video with {"id": <merged_video_id>, "kind": "finished"} every 5 to 10 seconds until status is "completed" or "failed", then call download_video with kind "finished".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hook | Yes | Hook text overlaid on the video, max 150 chars (same as --hook). | |
| music | No | Local path of background music, mp3/wav/m4a (same as --music). | |
| video | Yes | Clip (character video) id, as returned by other tools (numbers are fine as strings). | |
| app_video | Yes | Local path of the app screen recording: mp4, mov, m4v, 3gp or webm, max 100 MB (same as --app-video). |