Change a video that's already made (free preview)
preview_video_editUse this whenever the user wants to change a video they already have ("same words but more serious", "change line 3", "a stronger hook", "slower voice", "other colors", "no music", "shorter"): never make a new video from an idea for that. HypeFox starts from that video and changes only what the request touches: the other lines stay word for word, with the same scenes, voice, look and music. Free, about 15 seconds; it costs no credits. Returns the new lines (changed ones marked), what else changes and a script_id: show it to the user, change what they want, then make_video with that script_id and the final lines (edits are free: they cost no credits; the original video stays). Also videos made on the user's own footage, for 30 days (can_be_edited in get_video): there the voice is theirs, so the edit fixes how the captions are written, changes the on-screen texts (titles above the person, texts of the pictures), cuts lines, makes the ending longer ("the end cuts a word"), changes colors and music; the lines are the captions, all of them, and cut_lines / on_screen_texts / longer_ending say the rest. Not on videos made on the user's audio. What the user added in the app's editor (texts, stickers and photos on top, transitions, the subtitles' look) stays in the new video; adding those isn't done here: the user does it in the editor of the app. Waits up to 25 seconds; if it isn't ready yet, call get_script.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"video_id": "<video_id>",
"request": "<request>"
},
"name": "preview_video_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | What to change, in the user's own words | |
| video_id | Yes | The ready video to change (from list_videos or the context) |