Conservez toute la piste de voix, insérez les plans de coupe fournis qui correspondent aux propos et exportez un MP4 vertical avec des sous-titres synchronisés.
Conservez toute la piste de voix, insérez les plans de coupe fournis qui correspondent aux propos et exportez un MP4 vertical avec des sous-titres synchronisés.
--- name: talking-video-broll-mix description: Preserve a talking video's voice track, cut to supplied B-roll that matches what is said, and export a vertical MP4 with synchronized captions. Use an existing talking video or create one from an authorized portrait first. --- # Mix Talking Video with B-roll Keep the speaker's original timeline and audio. At selected phrases, briefly replace the picture with silent footage that shows what the speaker is describing. Deliver a 9:16 MP4 with captions timed to the same speech. ## Loadout capabilities - Use <action-tag>cli:ffmpeg:inspect_media</action-tag> to verify source duration, streams, and the final export. For uploaded files, resolve temporary references when necessary with <action-tag>direct:file_storage_tools:file_get_download_url</action-tag>. - Use <action-tag>direct:fal:fal_speech_to_text</action-tag> to obtain timestamped speech from the actual talking video. - Use <action-tag>direct:fal:fal_analyze_media</action-tag> when supplied footage needs shot descriptions. - Use <action-tag>cli:hyperframes:render</action-tag> to render the approved timeline. If the client does not provide a talking-video mix preparation tool, use the composition guidance in <skill-tag>skill:c4cff8e1-161f-556c-9103-02288a535ac2</skill-tag> and preserve the timeline rules below. - When the user starts from a portrait, use <skill-tag>skill:6c83f3dd-b28b-5b12-9df6-2b92f1956066</skill-tag> for consent, script approval, speech, and the talking video. Use the exact linked revision and stop after getting the talking video asset, then continue here. ## 1. Confirm the source media Identify the primary talking video and at least one supplied B-roll video. Reuse an existing talking video in the conversation when the user identifies it. For a new talking video, get one usable portrait, confirmed consent, and the agreed script before generating. Collect the B-roll before incurring generation costs. Save the successful talking video asset for any retry or re-edit. Inspect the actual video duration and check that the source has an audible speech track. Preserve its full duration. In the hosted video editor, the mix accepts up to 60 seconds of talking video and up to 10 cutaways. The portrait-generation Skill has its own shorter per-clip limit. ## 2. Transcribe and plan the cuts Read the live schema, then use `fal-ai/wizper` with `asset_inputs.audio_url` set to the talking video asset or temporary file ID. Set `model_input.chunk_level` to `word`, `merge_chunks` to `false`, and `language` to the spoken language, such as `zh` for Mandarin. Wizper accepts MP4. Follow the client's preflight and approval requirements. If timestamped transcription is unavailable, use supplied timecoded captions or request a compatible MP4 before rendering. Group measured word times into short, readable, non-overlapping cues. Keep the actual spoken meaning. Correct names and numbers from the approved script where the audio supports them. Retain observed timing when editing caption text. Use milliseconds in the hosted preparation tool. For each cutaway, pick a cue about the subject shown by the footage. Reuse user descriptions or inspect the footage with `fal-ai/video-understanding`, mapping `asset_inputs.video_url` to the B-roll file and asking for visible subjects and candidate in-points. Check that the source range can cover the cue. Ask if the clip's contents or in-point remain unclear. Leave the speaker visible during uncovered phrases, especially the opening and closing when appropriate. Keep captions clear of the speaker and the subject as much as the supplied framing allows. ## 3. Prepare, render, and check In the hosted video editor, call `prepare_talking_video_mix` with the uploaded talking video reference or generated video asset ID, its measured duration, the ordered caption cues, and the B-roll attachment plus source in-point for each selected zero-based cue index. Preflight and execute the exact render input the tool returns. In other clients, create the equivalent HyperFrames composition using the available media URLs. Place the talking video at zero for the full duration and keep its audio. Overlay each muted cutaway for exactly its cue window. Place timed captions above both visual layers. Check the export for a vertical MP4, one audible track, the source duration, and a return to the speaker outside cutaway windows. Review sample frames and the speech around a cut if the client can inspect media. State which checks were possible. If export fails after generation, keep the existing talking video and retry only the unresolved edit step with the user's requested changes and the applicable approval.
Utilisez Produce Avatar IP System pour verrouiller une identité d’ancrage, valider la distribution et les modules, créer des scènes séparables, tester le mouvement avec de vraies Actions Fal et livrer un paquet traçable.
Concevez des scènes HTML de marque modifiables avec Aident PPT Skill, animez-les sur une timeline GSAP unique, puis révisez et rendez la vidéo avec HyperFrames.