Skip to content

video.hook_overlay

Operation: video.hook_overlay
Category: video
Tags: ffmpeg, video, text, overlay

Overlay hook text on the first seconds of each clip

Type: Native (built-in)
Timeout: 300s
Retries: 3 (ExponentialWithJitter)

NameTypeRequiredDefaultDescription
clipsJSONYesArray of clip objects with ‘path’ and ‘hook_text’
viral_momentsJSONNoOriginal viral moments for hook_text fallback
NameTypeDescription
clipsJSONClip objects with updated paths
clip_countNumberNumber of clips processed
{
"border_width": 3,
"duration_secs": 2.0,
"font_color": "white",
"font_size": 64,
"position": "center"
}
import { WorkflowBuilder } from "@fabric-platform/sdk";
const workflow = new WorkflowBuilder("my-workflow")
.node("video-hook-overlay", "tool", (n) =>
n.config({
operation: "video.hook_overlay",
// ... node-specific config
})
)
.build();