VideoUltra API
    Preparing search index...

    Function mainTrack

    • The single main track.

      Parameters

      • project: {
            assets: Record<
                string,
                {
                    audioTrack?: number;
                    credit?: string;
                    duration: number;
                    fps?: number;
                    hasAudio: boolean;
                    hdr?: boolean;
                    height?: number;
                    id: string;
                    kind: "video"
                    | "image"
                    | "audio"
                    | "lut"
                    | "compound";
                    mimeType: string;
                    name: string;
                    rotation?: 0 | 90 | 180 | 270;
                    size: number;
                    source:
                        | { key: string; type: "opfs" }
                        | { key: string; type: "handle" }
                        | { type: "url"; url: string }
                        | { type: "compound" };
                    tracks?: {
                        caption?: {
                            highlight: "type" | "fill" | "none" | "word" | "box" | "reveal";
                            highlightColor: string;
                            preset: string;
                        };
                        hidden: boolean;
                        id: string;
                        items: (
                            | {
                                adjust: {
                                    brightness?: (...)
                                    | (...);
                                    contrast?: (...) | (...);
                                    highlights?: (...) | (...);
                                    saturation?: (...) | (...);
                                    shadows?: (...) | (...);
                                    sharpen?: (...) | (...);
                                    tint?: (...) | (...);
                                    vignette?: (...) | (...);
                                    warmth?: (...) | (...);
                                };
                                animation?: { in?: ...; loop?: ...; out?: ... };
                                assetId: string;
                                audioFx?: {
                                    compress?: ...;
                                    denoise?: ...;
                                    eq?: ...;
                                    keepPitch?: ...;
                                    pitch?: ...;
                                };
                                blend?: | "normal"
                                | "multiply"
                                | "screen"
                                | "overlay"
                                | "soft-light"
                                | "add"
                                | "lighten"
                                | "darken"
                                | "difference";
                                crop: { bottom: number; left: number; right: number; top: number };
                                duck?: number;
                                duration: number;
                                fadeIn: number;
                                fadeOut: number;
                                filter: { id: ...; intensity: ... } | null;
                                fit: "fit" | "fill";
                                groupId?: string;
                                hidden?: boolean;
                                id: string;
                                key?: { color: ...; softness: ...; spill: ...; tolerance: ... };
                                keyframes?: {
                                    opacity?: ...;
                                    rotation?: ...;
                                    scale?: ...;
                                    shift?: ...;
                                    x?: ...;
                                    y?: ...;
                                };
                                kind: "video";
                                locked?: boolean;
                                lut?: { assetId: ...; intensity: ... };
                                mask?: { feather: ...; invert?: ...; shape: ... };
                                muted: boolean;
                                name?: string;
                                sourceIn: number;
                                speed: number;
                                start: number;
                                transform: {
                                    flipX: boolean;
                                    flipY: boolean;
                                    opacity: number;
                                    rotation: number;
                                    scale: number;
                                    x: number;
                                    y: number;
                                };
                                transitionIn: | {
                                    direction?: ...;
                                    duration: ...;
                                    ease?: ...;
                                    type: ...;
                                }
                                | null;
                                volume: number;
                            }
                            | {
                                adjust: {
                                    brightness?: (...)
                                    | (...);
                                    contrast?: (...) | (...);
                                    highlights?: (...) | (...);
                                    saturation?: (...) | (...);
                                    shadows?: (...) | (...);
                                    sharpen?: (...) | (...);
                                    tint?: (...) | (...);
                                    vignette?: (...) | (...);
                                    warmth?: (...) | (...);
                                };
                                animation?: { in?: ...; loop?: ...; out?: ... };
                                assetId: string;
                                blend?:
                                    | "normal"
                                    | "multiply"
                                    | "screen"
                                    | "overlay"
                                    | "soft-light"
                                    | "add"
                                    | "lighten"
                                    | "darken"
                                    | "difference";
                                crop: { bottom: number; left: number; right: number; top: number };
                                cutout?: { assetId: ... };
                                duration: number;
                                filter: { id: ...; intensity: ... } | null;
                                fit: "fit" | "fill";
                                groupId?: string;
                                hidden?: boolean;
                                id: string;
                                key?: { color: ...; softness: ...; spill: ...; tolerance: ... };
                                keyframes?: {
                                    opacity?: ...;
                                    rotation?: ...;
                                    scale?: ...;
                                    shift?: ...;
                                    x?: ...;
                                    y?: ...;
                                };
                                kind: "image";
                                locked?: boolean;
                                lut?: { assetId: ...; intensity: ... };
                                mask?: { feather: ...; invert?: ...; shape: ... };
                                name?: string;
                                start: number;
                                transform: {
                                    flipX: boolean;
                                    flipY: boolean;
                                    opacity: number;
                                    rotation: number;
                                    scale: number;
                                    x: number;
                                    y: number;
                                };
                                transitionIn: | {
                                    direction?: ...;
                                    duration: ...;
                                    ease?: ...;
                                    type: ...;
                                }
                                | null;
                            }
                            | {
                                adjust: {
                                    brightness?: (...)
                                    | (...);
                                    contrast?: (...) | (...);
                                    highlights?: (...) | (...);
                                    saturation?: (...) | (...);
                                    shadows?: (...) | (...);
                                    sharpen?: (...) | (...);
                                    tint?: (...) | (...);
                                    vignette?: (...) | (...);
                                    warmth?: (...) | (...);
                                };
                                animation?: { in?: ...; loop?: ...; out?: ... };
                                assetId: string;
                                blend?:
                                    | "normal"
                                    | "multiply"
                                    | "screen"
                                    | "overlay"
                                    | "soft-light"
                                    | "add"
                                    | "lighten"
                                    | "darken"
                                    | "difference";
                                crop: { bottom: number; left: number; right: number; top: number };
                                duration: number;
                                filter: { id: ...; intensity: ... } | null;
                                fit: "fit" | "fill";
                                groupId?: string;
                                hidden?: boolean;
                                id: string;
                                key?: { color: ...; softness: ...; spill: ...; tolerance: ... };
                                keyframes?: {
                                    opacity?: ...;
                                    rotation?: ...;
                                    scale?: ...;
                                    shift?: ...;
                                    x?: ...;
                                    y?: ...;
                                };
                                kind: "freeze";
                                locked?: boolean;
                                lut?: { assetId: ...; intensity: ... };
                                mask?: { feather: ...; invert?: ...; shape: ... };
                                name?: string;
                                sourceTime: number;
                                start: number;
                                transform: {
                                    flipX: boolean;
                                    flipY: boolean;
                                    opacity: number;
                                    rotation: number;
                                    scale: number;
                                    x: number;
                                    y: number;
                                };
                                transitionIn: | {
                                    direction?: ...;
                                    duration: ...;
                                    ease?: ...;
                                    type: ...;
                                }
                                | null;
                            }
                            | {
                                assetId: string;
                                audioFx?: {
                                    compress?: ...;
                                    denoise?: ...;
                                    eq?: ...;
                                    keepPitch?: ...;
                                    pitch?: ...;
                                };
                                duck?: number;
                                duration: number;
                                fadeIn: number;
                                fadeOut: number;
                                groupId?: string;
                                hidden?: boolean;
                                id: string;
                                kind: "audio";
                                locked?: boolean;
                                muted: boolean;
                                name?: string;
                                sourceIn: number;
                                speed: number;
                                start: number;
                                volume: number;
                            }
                            | {
                                adjust: {
                                    brightness?: (...)
                                    | (...);
                                    contrast?: (...) | (...);
                                    highlights?: (...) | (...);
                                    saturation?: (...) | (...);
                                    shadows?: (...) | (...);
                                    sharpen?: (...) | (...);
                                    tint?: (...) | (...);
                                    vignette?: (...) | (...);
                                    warmth?: (...) | (...);
                                };
                                animation?: { in?: ...; loop?: ...; out?: ... };
                                blend?:
                                    | "normal"
                                    | "multiply"
                                    | "screen"
                                    | "overlay"
                                    | "soft-light"
                                    | "add"
                                    | "lighten"
                                    | "darken"
                                    | "difference";
                                duration: number;
                                filter: { id: ...; intensity: ... }
                                | null;
                                groupId?: string;
                                hidden?: boolean;
                                id: string;
                                keyframes?: {
                                    opacity?: ...;
                                    rotation?: ...;
                                    scale?: ...;
                                    shift?: ...;
                                    x?: ...;
                                    y?: ...;
                                };
                                kind: "text";
                                locked?: boolean;
                                maxWidth?: number;
                                name?: string;
                                start: number;
                                style: {
                                    align: (...)
                                    | (...)
                                    | (...);
                                    background: (...) | (...);
                                    color: string;
                                    fontFamily: string;
                                    fontWeight: number;
                                    italic: boolean;
                                    letterSpacing: number;
                                    lineHeight: number;
                                    outline: (...) | (...);
                                    shadow: (...) | (...);
                                    size: number;
                                };
                                text: string;
                                transform: {
                                    flipX: boolean;
                                    flipY: boolean;
                                    opacity: number;
                                    rotation: number;
                                    scale: number;
                                    x: number;
                                    y: number;
                                };
                                unsure?: boolean;
                                words?: (...)[];
                            }
                            | {
                                adjust: {
                                    brightness?: (...)
                                    | (...);
                                    contrast?: (...) | (...);
                                    highlights?: (...) | (...);
                                    saturation?: (...) | (...);
                                    shadows?: (...) | (...);
                                    sharpen?: (...) | (...);
                                    tint?: (...) | (...);
                                    vignette?: (...) | (...);
                                    warmth?: (...) | (...);
                                };
                                animation?: { in?: ...; loop?: ...; out?: ... };
                                assetId: string | null;
                                blend?:
                                    | "normal"
                                    | "multiply"
                                    | "screen"
                                    | "overlay"
                                    | "soft-light"
                                    | "add"
                                    | "lighten"
                                    | "darken"
                                    | "difference";
                                cutout?: { assetId: ... };
                                duration: number;
                                emoji: string | null;
                                filter: { id: ...; intensity: ... } | null;
                                groupId?: string;
                                hidden?: boolean;
                                id: string;
                                keyframes?: {
                                    opacity?: ...;
                                    rotation?: ...;
                                    scale?: ...;
                                    shift?: ...;
                                    x?: ...;
                                    y?: ...;
                                };
                                kind: "sticker";
                                locked?: boolean;
                                name?: string;
                                start: number;
                                transform: {
                                    flipX: boolean;
                                    flipY: boolean;
                                    opacity: number;
                                    rotation: number;
                                    scale: number;
                                    x: number;
                                    y: number;
                                };
                            }
                            | {
                                amount: number;
                                duration: number;
                                effect: "blur"
                                | "pixelate";
                                groupId?: string;
                                height: number;
                                hidden?: boolean;
                                id: string;
                                keyframes?: {
                                    opacity?: ...;
                                    rotation?: ...;
                                    scale?: ...;
                                    shift?: ...;
                                    x?: ...;
                                    y?: ...;
                                };
                                kind: "region";
                                locked?: boolean;
                                name?: string;
                                shape: "rectangle"
                                | "ellipse";
                                start: number;
                                transform: {
                                    flipX: boolean;
                                    flipY: boolean;
                                    opacity: number;
                                    rotation: number;
                                    scale: number;
                                    x: number;
                                    y: number;
                                };
                                width: number;
                            }
                        )[];
                        kind: "overlay"
                        | "audio"
                        | "text"
                        | "main"
                        | "caption";
                        locked: boolean;
                        muted: boolean;
                    }[];
                    vfr?: boolean;
                    width?: number;
                },
            >;
            createdAt: string;
            id: string;
            markers?: { id: string; label?: string; time: number }[];
            name: string;
            settings: {
                background:
                    | { color: string; type: "color" }
                    | { amount: number; type: "blur" };
                exportRange?: { end: number; start: number };
                frameRate: { den: number; num: number };
                height: number;
                width: number;
            };
            tracks: {
                caption?: {
                    highlight: "type"
                    | "fill"
                    | "none"
                    | "word"
                    | "box"
                    | "reveal";
                    highlightColor: string;
                    preset: string;
                };
                hidden: boolean;
                id: string;
                items: (
                    | {
                        adjust: {
                            brightness?: number;
                            contrast?: number;
                            highlights?: number;
                            saturation?: number;
                            shadows?: number;
                            sharpen?: number;
                            tint?: number;
                            vignette?: number;
                            warmth?: number;
                        };
                        animation?: {
                            in?: { duration: number; type: string };
                            loop?: { speed?: (...) | (...); type: string };
                            out?: { duration: number; type: string };
                        };
                        assetId: string;
                        audioFx?: {
                            compress?: number;
                            denoise?: number;
                            eq?: { high: number; low: number; mid: number };
                            keepPitch?: boolean;
                            pitch?: number;
                        };
                        blend?: | "normal"
                        | "multiply"
                        | "screen"
                        | "overlay"
                        | "soft-light"
                        | "add"
                        | "lighten"
                        | "darken"
                        | "difference";
                        crop: { bottom: number; left: number; right: number; top: number };
                        duck?: number;
                        duration: number;
                        fadeIn: number;
                        fadeOut: number;
                        filter: { id: string; intensity: number } | null;
                        fit: "fit" | "fill";
                        groupId?: string;
                        hidden?: boolean;
                        id: string;
                        key?: {
                            color: string;
                            softness: number;
                            spill: number;
                            tolerance: number;
                        };
                        keyframes?: {
                            opacity?: { ease?: ...; t: ...; v: ... }[];
                            rotation?: { ease?: ...; t: ...; v: ... }[];
                            scale?: { ease?: ...; t: ...; v: ... }[];
                            shift?: number;
                            x?: { ease?: ...; t: ...; v: ... }[];
                            y?: { ease?: ...; t: ...; v: ... }[];
                        };
                        kind: "video";
                        locked?: boolean;
                        lut?: { assetId: string; intensity: number };
                        mask?: { feather: number; invert?: boolean; shape: string };
                        muted: boolean;
                        name?: string;
                        sourceIn: number;
                        speed: number;
                        start: number;
                        transform: {
                            flipX: boolean;
                            flipY: boolean;
                            opacity: number;
                            rotation: number;
                            scale: number;
                            x: number;
                            y: number;
                        };
                        transitionIn: | {
                            direction?: "left"
                            | "right"
                            | "up"
                            | "down";
                            duration: number;
                            ease?:
                                | "linear"
                                | "smooth"
                                | "ease-in"
                                | "ease-out"
                                | "snappy"
                                | "expo"
                                | "back"
                                | "anticipate"
                                | "bounce"
                                | "elastic"
                                | "ball"
                                | "slow-mo"
                                | "steps";
                            type: string;
                        }
                        | null;
                        volume: number;
                    }
                    | {
                        adjust: {
                            brightness?: number;
                            contrast?: number;
                            highlights?: number;
                            saturation?: number;
                            shadows?: number;
                            sharpen?: number;
                            tint?: number;
                            vignette?: number;
                            warmth?: number;
                        };
                        animation?: {
                            in?: { duration: number; type: string };
                            loop?: { speed?: (...) | (...); type: string };
                            out?: { duration: number; type: string };
                        };
                        assetId: string;
                        blend?: | "normal"
                        | "multiply"
                        | "screen"
                        | "overlay"
                        | "soft-light"
                        | "add"
                        | "lighten"
                        | "darken"
                        | "difference";
                        crop: { bottom: number; left: number; right: number; top: number };
                        cutout?: { assetId: string };
                        duration: number;
                        filter: { id: string; intensity: number } | null;
                        fit: "fit" | "fill";
                        groupId?: string;
                        hidden?: boolean;
                        id: string;
                        key?: {
                            color: string;
                            softness: number;
                            spill: number;
                            tolerance: number;
                        };
                        keyframes?: {
                            opacity?: { ease?: ...; t: ...; v: ... }[];
                            rotation?: { ease?: ...; t: ...; v: ... }[];
                            scale?: { ease?: ...; t: ...; v: ... }[];
                            shift?: number;
                            x?: { ease?: ...; t: ...; v: ... }[];
                            y?: { ease?: ...; t: ...; v: ... }[];
                        };
                        kind: "image";
                        locked?: boolean;
                        lut?: { assetId: string; intensity: number };
                        mask?: { feather: number; invert?: boolean; shape: string };
                        name?: string;
                        start: number;
                        transform: {
                            flipX: boolean;
                            flipY: boolean;
                            opacity: number;
                            rotation: number;
                            scale: number;
                            x: number;
                            y: number;
                        };
                        transitionIn: | {
                            direction?: "left"
                            | "right"
                            | "up"
                            | "down";
                            duration: number;
                            ease?:
                                | "linear"
                                | "smooth"
                                | "ease-in"
                                | "ease-out"
                                | "snappy"
                                | "expo"
                                | "back"
                                | "anticipate"
                                | "bounce"
                                | "elastic"
                                | "ball"
                                | "slow-mo"
                                | "steps";
                            type: string;
                        }
                        | null;
                    }
                    | {
                        adjust: {
                            brightness?: number;
                            contrast?: number;
                            highlights?: number;
                            saturation?: number;
                            shadows?: number;
                            sharpen?: number;
                            tint?: number;
                            vignette?: number;
                            warmth?: number;
                        };
                        animation?: {
                            in?: { duration: number; type: string };
                            loop?: { speed?: (...) | (...); type: string };
                            out?: { duration: number; type: string };
                        };
                        assetId: string;
                        blend?: | "normal"
                        | "multiply"
                        | "screen"
                        | "overlay"
                        | "soft-light"
                        | "add"
                        | "lighten"
                        | "darken"
                        | "difference";
                        crop: { bottom: number; left: number; right: number; top: number };
                        duration: number;
                        filter: { id: string; intensity: number } | null;
                        fit: "fit" | "fill";
                        groupId?: string;
                        hidden?: boolean;
                        id: string;
                        key?: {
                            color: string;
                            softness: number;
                            spill: number;
                            tolerance: number;
                        };
                        keyframes?: {
                            opacity?: { ease?: ...; t: ...; v: ... }[];
                            rotation?: { ease?: ...; t: ...; v: ... }[];
                            scale?: { ease?: ...; t: ...; v: ... }[];
                            shift?: number;
                            x?: { ease?: ...; t: ...; v: ... }[];
                            y?: { ease?: ...; t: ...; v: ... }[];
                        };
                        kind: "freeze";
                        locked?: boolean;
                        lut?: { assetId: string; intensity: number };
                        mask?: { feather: number; invert?: boolean; shape: string };
                        name?: string;
                        sourceTime: number;
                        start: number;
                        transform: {
                            flipX: boolean;
                            flipY: boolean;
                            opacity: number;
                            rotation: number;
                            scale: number;
                            x: number;
                            y: number;
                        };
                        transitionIn: | {
                            direction?: "left"
                            | "right"
                            | "up"
                            | "down";
                            duration: number;
                            ease?:
                                | "linear"
                                | "smooth"
                                | "ease-in"
                                | "ease-out"
                                | "snappy"
                                | "expo"
                                | "back"
                                | "anticipate"
                                | "bounce"
                                | "elastic"
                                | "ball"
                                | "slow-mo"
                                | "steps";
                            type: string;
                        }
                        | null;
                    }
                    | {
                        assetId: string;
                        audioFx?: {
                            compress?: number;
                            denoise?: number;
                            eq?: { high: number; low: number; mid: number };
                            keepPitch?: boolean;
                            pitch?: number;
                        };
                        duck?: number;
                        duration: number;
                        fadeIn: number;
                        fadeOut: number;
                        groupId?: string;
                        hidden?: boolean;
                        id: string;
                        kind: "audio";
                        locked?: boolean;
                        muted: boolean;
                        name?: string;
                        sourceIn: number;
                        speed: number;
                        start: number;
                        volume: number;
                    }
                    | {
                        adjust: {
                            brightness?: number;
                            contrast?: number;
                            highlights?: number;
                            saturation?: number;
                            shadows?: number;
                            sharpen?: number;
                            tint?: number;
                            vignette?: number;
                            warmth?: number;
                        };
                        animation?: {
                            in?: { duration: number; type: string };
                            loop?: { speed?: (...) | (...); type: string };
                            out?: { duration: number; type: string };
                        };
                        blend?: | "normal"
                        | "multiply"
                        | "screen"
                        | "overlay"
                        | "soft-light"
                        | "add"
                        | "lighten"
                        | "darken"
                        | "difference";
                        duration: number;
                        filter: { id: string; intensity: number }
                        | null;
                        groupId?: string;
                        hidden?: boolean;
                        id: string;
                        keyframes?: {
                            opacity?: { ease?: ...; t: ...; v: ... }[];
                            rotation?: { ease?: ...; t: ...; v: ... }[];
                            scale?: { ease?: ...; t: ...; v: ... }[];
                            shift?: number;
                            x?: { ease?: ...; t: ...; v: ... }[];
                            y?: { ease?: ...; t: ...; v: ... }[];
                        };
                        kind: "text";
                        locked?: boolean;
                        maxWidth?: number;
                        name?: string;
                        start: number;
                        style: {
                            align: "left"
                            | "right"
                            | "center";
                            background: { color: string; padding: number; radius: number } | null;
                            color: string;
                            fontFamily: string;
                            fontWeight: number;
                            italic: boolean;
                            letterSpacing: number;
                            lineHeight: number;
                            outline: { color: string; width: number } | null;
                            shadow: { blur: number; color: string; x: number; y: number } | null;
                            size: number;
                        };
                        text: string;
                        transform: {
                            flipX: boolean;
                            flipY: boolean;
                            opacity: number;
                            rotation: number;
                            scale: number;
                            x: number;
                            y: number;
                        };
                        unsure?: boolean;
                        words?: { end: number; start: number; text: string }[];
                    }
                    | {
                        adjust: {
                            brightness?: number;
                            contrast?: number;
                            highlights?: number;
                            saturation?: number;
                            shadows?: number;
                            sharpen?: number;
                            tint?: number;
                            vignette?: number;
                            warmth?: number;
                        };
                        animation?: {
                            in?: { duration: number; type: string };
                            loop?: { speed?: (...) | (...); type: string };
                            out?: { duration: number; type: string };
                        };
                        assetId: string
                        | null;
                        blend?:
                            | "normal"
                            | "multiply"
                            | "screen"
                            | "overlay"
                            | "soft-light"
                            | "add"
                            | "lighten"
                            | "darken"
                            | "difference";
                        cutout?: { assetId: string };
                        duration: number;
                        emoji: string | null;
                        filter: { id: string; intensity: number } | null;
                        groupId?: string;
                        hidden?: boolean;
                        id: string;
                        keyframes?: {
                            opacity?: { ease?: ...; t: ...; v: ... }[];
                            rotation?: { ease?: ...; t: ...; v: ... }[];
                            scale?: { ease?: ...; t: ...; v: ... }[];
                            shift?: number;
                            x?: { ease?: ...; t: ...; v: ... }[];
                            y?: { ease?: ...; t: ...; v: ... }[];
                        };
                        kind: "sticker";
                        locked?: boolean;
                        name?: string;
                        start: number;
                        transform: {
                            flipX: boolean;
                            flipY: boolean;
                            opacity: number;
                            rotation: number;
                            scale: number;
                            x: number;
                            y: number;
                        };
                    }
                    | {
                        amount: number;
                        duration: number;
                        effect: "blur"
                        | "pixelate";
                        groupId?: string;
                        height: number;
                        hidden?: boolean;
                        id: string;
                        keyframes?: {
                            opacity?: { ease?: ...; t: ...; v: ... }[];
                            rotation?: { ease?: ...; t: ...; v: ... }[];
                            scale?: { ease?: ...; t: ...; v: ... }[];
                            shift?: number;
                            x?: { ease?: ...; t: ...; v: ... }[];
                            y?: { ease?: ...; t: ...; v: ... }[];
                        };
                        kind: "region";
                        locked?: boolean;
                        name?: string;
                        shape: "rectangle"
                        | "ellipse";
                        start: number;
                        transform: {
                            flipX: boolean;
                            flipY: boolean;
                            opacity: number;
                            rotation: number;
                            scale: number;
                            x: number;
                            y: number;
                        };
                        width: number;
                    }
                )[];
                kind: "overlay"
                | "audio"
                | "text"
                | "main"
                | "caption";
                locked: boolean;
                muted: boolean;
            }[];
            updatedAt: string;
            version: 6;
        }
        • assets: Record<
              string,
              {
                  audioTrack?: number;
                  credit?: string;
                  duration: number;
                  fps?: number;
                  hasAudio: boolean;
                  hdr?: boolean;
                  height?: number;
                  id: string;
                  kind: "video"
                  | "image"
                  | "audio"
                  | "lut"
                  | "compound";
                  mimeType: string;
                  name: string;
                  rotation?: 0 | 90 | 180 | 270;
                  size: number;
                  source:
                      | { key: string; type: "opfs" }
                      | { key: string; type: "handle" }
                      | { type: "url"; url: string }
                      | { type: "compound" };
                  tracks?: {
                      caption?: {
                          highlight: "type" | "fill" | "none" | "word" | "box" | "reveal";
                          highlightColor: string;
                          preset: string;
                      };
                      hidden: boolean;
                      id: string;
                      items: (
                          | {
                              adjust: {
                                  brightness?: (...)
                                  | (...);
                                  contrast?: (...) | (...);
                                  highlights?: (...) | (...);
                                  saturation?: (...) | (...);
                                  shadows?: (...) | (...);
                                  sharpen?: (...) | (...);
                                  tint?: (...) | (...);
                                  vignette?: (...) | (...);
                                  warmth?: (...) | (...);
                              };
                              animation?: { in?: ...; loop?: ...; out?: ... };
                              assetId: string;
                              audioFx?: {
                                  compress?: ...;
                                  denoise?: ...;
                                  eq?: ...;
                                  keepPitch?: ...;
                                  pitch?: ...;
                              };
                              blend?: | "normal"
                              | "multiply"
                              | "screen"
                              | "overlay"
                              | "soft-light"
                              | "add"
                              | "lighten"
                              | "darken"
                              | "difference";
                              crop: { bottom: number; left: number; right: number; top: number };
                              duck?: number;
                              duration: number;
                              fadeIn: number;
                              fadeOut: number;
                              filter: { id: ...; intensity: ... } | null;
                              fit: "fit" | "fill";
                              groupId?: string;
                              hidden?: boolean;
                              id: string;
                              key?: { color: ...; softness: ...; spill: ...; tolerance: ... };
                              keyframes?: {
                                  opacity?: ...;
                                  rotation?: ...;
                                  scale?: ...;
                                  shift?: ...;
                                  x?: ...;
                                  y?: ...;
                              };
                              kind: "video";
                              locked?: boolean;
                              lut?: { assetId: ...; intensity: ... };
                              mask?: { feather: ...; invert?: ...; shape: ... };
                              muted: boolean;
                              name?: string;
                              sourceIn: number;
                              speed: number;
                              start: number;
                              transform: {
                                  flipX: boolean;
                                  flipY: boolean;
                                  opacity: number;
                                  rotation: number;
                                  scale: number;
                                  x: number;
                                  y: number;
                              };
                              transitionIn: | {
                                  direction?: ...;
                                  duration: ...;
                                  ease?: ...;
                                  type: ...;
                              }
                              | null;
                              volume: number;
                          }
                          | {
                              adjust: {
                                  brightness?: (...)
                                  | (...);
                                  contrast?: (...) | (...);
                                  highlights?: (...) | (...);
                                  saturation?: (...) | (...);
                                  shadows?: (...) | (...);
                                  sharpen?: (...) | (...);
                                  tint?: (...) | (...);
                                  vignette?: (...) | (...);
                                  warmth?: (...) | (...);
                              };
                              animation?: { in?: ...; loop?: ...; out?: ... };
                              assetId: string;
                              blend?:
                                  | "normal"
                                  | "multiply"
                                  | "screen"
                                  | "overlay"
                                  | "soft-light"
                                  | "add"
                                  | "lighten"
                                  | "darken"
                                  | "difference";
                              crop: { bottom: number; left: number; right: number; top: number };
                              cutout?: { assetId: ... };
                              duration: number;
                              filter: { id: ...; intensity: ... } | null;
                              fit: "fit" | "fill";
                              groupId?: string;
                              hidden?: boolean;
                              id: string;
                              key?: { color: ...; softness: ...; spill: ...; tolerance: ... };
                              keyframes?: {
                                  opacity?: ...;
                                  rotation?: ...;
                                  scale?: ...;
                                  shift?: ...;
                                  x?: ...;
                                  y?: ...;
                              };
                              kind: "image";
                              locked?: boolean;
                              lut?: { assetId: ...; intensity: ... };
                              mask?: { feather: ...; invert?: ...; shape: ... };
                              name?: string;
                              start: number;
                              transform: {
                                  flipX: boolean;
                                  flipY: boolean;
                                  opacity: number;
                                  rotation: number;
                                  scale: number;
                                  x: number;
                                  y: number;
                              };
                              transitionIn: | {
                                  direction?: ...;
                                  duration: ...;
                                  ease?: ...;
                                  type: ...;
                              }
                              | null;
                          }
                          | {
                              adjust: {
                                  brightness?: (...)
                                  | (...);
                                  contrast?: (...) | (...);
                                  highlights?: (...) | (...);
                                  saturation?: (...) | (...);
                                  shadows?: (...) | (...);
                                  sharpen?: (...) | (...);
                                  tint?: (...) | (...);
                                  vignette?: (...) | (...);
                                  warmth?: (...) | (...);
                              };
                              animation?: { in?: ...; loop?: ...; out?: ... };
                              assetId: string;
                              blend?:
                                  | "normal"
                                  | "multiply"
                                  | "screen"
                                  | "overlay"
                                  | "soft-light"
                                  | "add"
                                  | "lighten"
                                  | "darken"
                                  | "difference";
                              crop: { bottom: number; left: number; right: number; top: number };
                              duration: number;
                              filter: { id: ...; intensity: ... } | null;
                              fit: "fit" | "fill";
                              groupId?: string;
                              hidden?: boolean;
                              id: string;
                              key?: { color: ...; softness: ...; spill: ...; tolerance: ... };
                              keyframes?: {
                                  opacity?: ...;
                                  rotation?: ...;
                                  scale?: ...;
                                  shift?: ...;
                                  x?: ...;
                                  y?: ...;
                              };
                              kind: "freeze";
                              locked?: boolean;
                              lut?: { assetId: ...; intensity: ... };
                              mask?: { feather: ...; invert?: ...; shape: ... };
                              name?: string;
                              sourceTime: number;
                              start: number;
                              transform: {
                                  flipX: boolean;
                                  flipY: boolean;
                                  opacity: number;
                                  rotation: number;
                                  scale: number;
                                  x: number;
                                  y: number;
                              };
                              transitionIn: | {
                                  direction?: ...;
                                  duration: ...;
                                  ease?: ...;
                                  type: ...;
                              }
                              | null;
                          }
                          | {
                              assetId: string;
                              audioFx?: {
                                  compress?: ...;
                                  denoise?: ...;
                                  eq?: ...;
                                  keepPitch?: ...;
                                  pitch?: ...;
                              };
                              duck?: number;
                              duration: number;
                              fadeIn: number;
                              fadeOut: number;
                              groupId?: string;
                              hidden?: boolean;
                              id: string;
                              kind: "audio";
                              locked?: boolean;
                              muted: boolean;
                              name?: string;
                              sourceIn: number;
                              speed: number;
                              start: number;
                              volume: number;
                          }
                          | {
                              adjust: {
                                  brightness?: (...)
                                  | (...);
                                  contrast?: (...) | (...);
                                  highlights?: (...) | (...);
                                  saturation?: (...) | (...);
                                  shadows?: (...) | (...);
                                  sharpen?: (...) | (...);
                                  tint?: (...) | (...);
                                  vignette?: (...) | (...);
                                  warmth?: (...) | (...);
                              };
                              animation?: { in?: ...; loop?: ...; out?: ... };
                              blend?:
                                  | "normal"
                                  | "multiply"
                                  | "screen"
                                  | "overlay"
                                  | "soft-light"
                                  | "add"
                                  | "lighten"
                                  | "darken"
                                  | "difference";
                              duration: number;
                              filter: { id: ...; intensity: ... }
                              | null;
                              groupId?: string;
                              hidden?: boolean;
                              id: string;
                              keyframes?: {
                                  opacity?: ...;
                                  rotation?: ...;
                                  scale?: ...;
                                  shift?: ...;
                                  x?: ...;
                                  y?: ...;
                              };
                              kind: "text";
                              locked?: boolean;
                              maxWidth?: number;
                              name?: string;
                              start: number;
                              style: {
                                  align: (...)
                                  | (...)
                                  | (...);
                                  background: (...) | (...);
                                  color: string;
                                  fontFamily: string;
                                  fontWeight: number;
                                  italic: boolean;
                                  letterSpacing: number;
                                  lineHeight: number;
                                  outline: (...) | (...);
                                  shadow: (...) | (...);
                                  size: number;
                              };
                              text: string;
                              transform: {
                                  flipX: boolean;
                                  flipY: boolean;
                                  opacity: number;
                                  rotation: number;
                                  scale: number;
                                  x: number;
                                  y: number;
                              };
                              unsure?: boolean;
                              words?: (...)[];
                          }
                          | {
                              adjust: {
                                  brightness?: (...)
                                  | (...);
                                  contrast?: (...) | (...);
                                  highlights?: (...) | (...);
                                  saturation?: (...) | (...);
                                  shadows?: (...) | (...);
                                  sharpen?: (...) | (...);
                                  tint?: (...) | (...);
                                  vignette?: (...) | (...);
                                  warmth?: (...) | (...);
                              };
                              animation?: { in?: ...; loop?: ...; out?: ... };
                              assetId: string | null;
                              blend?:
                                  | "normal"
                                  | "multiply"
                                  | "screen"
                                  | "overlay"
                                  | "soft-light"
                                  | "add"
                                  | "lighten"
                                  | "darken"
                                  | "difference";
                              cutout?: { assetId: ... };
                              duration: number;
                              emoji: string | null;
                              filter: { id: ...; intensity: ... } | null;
                              groupId?: string;
                              hidden?: boolean;
                              id: string;
                              keyframes?: {
                                  opacity?: ...;
                                  rotation?: ...;
                                  scale?: ...;
                                  shift?: ...;
                                  x?: ...;
                                  y?: ...;
                              };
                              kind: "sticker";
                              locked?: boolean;
                              name?: string;
                              start: number;
                              transform: {
                                  flipX: boolean;
                                  flipY: boolean;
                                  opacity: number;
                                  rotation: number;
                                  scale: number;
                                  x: number;
                                  y: number;
                              };
                          }
                          | {
                              amount: number;
                              duration: number;
                              effect: "blur"
                              | "pixelate";
                              groupId?: string;
                              height: number;
                              hidden?: boolean;
                              id: string;
                              keyframes?: {
                                  opacity?: ...;
                                  rotation?: ...;
                                  scale?: ...;
                                  shift?: ...;
                                  x?: ...;
                                  y?: ...;
                              };
                              kind: "region";
                              locked?: boolean;
                              name?: string;
                              shape: "rectangle"
                              | "ellipse";
                              start: number;
                              transform: {
                                  flipX: boolean;
                                  flipY: boolean;
                                  opacity: number;
                                  rotation: number;
                                  scale: number;
                                  x: number;
                                  y: number;
                              };
                              width: number;
                          }
                      )[];
                      kind: "overlay"
                      | "audio"
                      | "text"
                      | "main"
                      | "caption";
                      locked: boolean;
                      muted: boolean;
                  }[];
                  vfr?: boolean;
                  width?: number;
              },
          >
        • createdAt: string
        • id: string
        • Optionalmarkers?: { id: string; label?: string; time: number }[]

          Markers, in time order (file version 4+).

        • name: string
        • settings: {
              background:
                  | { color: string; type: "color" }
                  | { amount: number; type: "blur" };
              exportRange?: { end: number; start: number };
              frameRate: { den: number; num: number };
              height: number;
              width: number;
          }
          • background: { color: string; type: "color" } | { amount: number; type: "blur" }
          • OptionalexportRange?: { end: number; start: number }

            The part of the timeline to export (in / out points, flicks; end exclusive). Optional (file version 3+); missing = the whole video. May lie past the end after edits: exports clamp it to the video's length.

          • frameRate: { den: number; num: number }
          • height: number
          • width: number
        • tracks: {
              caption?: {
                  highlight: "type" | "fill" | "none" | "word" | "box" | "reveal";
                  highlightColor: string;
                  preset: string;
              };
              hidden: boolean;
              id: string;
              items: (
                  | {
                      adjust: {
                          brightness?: number;
                          contrast?: number;
                          highlights?: number;
                          saturation?: number;
                          shadows?: number;
                          sharpen?: number;
                          tint?: number;
                          vignette?: number;
                          warmth?: number;
                      };
                      animation?: {
                          in?: { duration: number; type: string };
                          loop?: { speed?: (...) | (...); type: string };
                          out?: { duration: number; type: string };
                      };
                      assetId: string;
                      audioFx?: {
                          compress?: number;
                          denoise?: number;
                          eq?: { high: number; low: number; mid: number };
                          keepPitch?: boolean;
                          pitch?: number;
                      };
                      blend?: | "normal"
                      | "multiply"
                      | "screen"
                      | "overlay"
                      | "soft-light"
                      | "add"
                      | "lighten"
                      | "darken"
                      | "difference";
                      crop: { bottom: number; left: number; right: number; top: number };
                      duck?: number;
                      duration: number;
                      fadeIn: number;
                      fadeOut: number;
                      filter: { id: string; intensity: number } | null;
                      fit: "fit" | "fill";
                      groupId?: string;
                      hidden?: boolean;
                      id: string;
                      key?: {
                          color: string;
                          softness: number;
                          spill: number;
                          tolerance: number;
                      };
                      keyframes?: {
                          opacity?: { ease?: ...; t: ...; v: ... }[];
                          rotation?: { ease?: ...; t: ...; v: ... }[];
                          scale?: { ease?: ...; t: ...; v: ... }[];
                          shift?: number;
                          x?: { ease?: ...; t: ...; v: ... }[];
                          y?: { ease?: ...; t: ...; v: ... }[];
                      };
                      kind: "video";
                      locked?: boolean;
                      lut?: { assetId: string; intensity: number };
                      mask?: { feather: number; invert?: boolean; shape: string };
                      muted: boolean;
                      name?: string;
                      sourceIn: number;
                      speed: number;
                      start: number;
                      transform: {
                          flipX: boolean;
                          flipY: boolean;
                          opacity: number;
                          rotation: number;
                          scale: number;
                          x: number;
                          y: number;
                      };
                      transitionIn: | {
                          direction?: "left"
                          | "right"
                          | "up"
                          | "down";
                          duration: number;
                          ease?:
                              | "linear"
                              | "smooth"
                              | "ease-in"
                              | "ease-out"
                              | "snappy"
                              | "expo"
                              | "back"
                              | "anticipate"
                              | "bounce"
                              | "elastic"
                              | "ball"
                              | "slow-mo"
                              | "steps";
                          type: string;
                      }
                      | null;
                      volume: number;
                  }
                  | {
                      adjust: {
                          brightness?: number;
                          contrast?: number;
                          highlights?: number;
                          saturation?: number;
                          shadows?: number;
                          sharpen?: number;
                          tint?: number;
                          vignette?: number;
                          warmth?: number;
                      };
                      animation?: {
                          in?: { duration: number; type: string };
                          loop?: { speed?: (...) | (...); type: string };
                          out?: { duration: number; type: string };
                      };
                      assetId: string;
                      blend?: | "normal"
                      | "multiply"
                      | "screen"
                      | "overlay"
                      | "soft-light"
                      | "add"
                      | "lighten"
                      | "darken"
                      | "difference";
                      crop: { bottom: number; left: number; right: number; top: number };
                      cutout?: { assetId: string };
                      duration: number;
                      filter: { id: string; intensity: number } | null;
                      fit: "fit" | "fill";
                      groupId?: string;
                      hidden?: boolean;
                      id: string;
                      key?: {
                          color: string;
                          softness: number;
                          spill: number;
                          tolerance: number;
                      };
                      keyframes?: {
                          opacity?: { ease?: ...; t: ...; v: ... }[];
                          rotation?: { ease?: ...; t: ...; v: ... }[];
                          scale?: { ease?: ...; t: ...; v: ... }[];
                          shift?: number;
                          x?: { ease?: ...; t: ...; v: ... }[];
                          y?: { ease?: ...; t: ...; v: ... }[];
                      };
                      kind: "image";
                      locked?: boolean;
                      lut?: { assetId: string; intensity: number };
                      mask?: { feather: number; invert?: boolean; shape: string };
                      name?: string;
                      start: number;
                      transform: {
                          flipX: boolean;
                          flipY: boolean;
                          opacity: number;
                          rotation: number;
                          scale: number;
                          x: number;
                          y: number;
                      };
                      transitionIn: | {
                          direction?: "left"
                          | "right"
                          | "up"
                          | "down";
                          duration: number;
                          ease?:
                              | "linear"
                              | "smooth"
                              | "ease-in"
                              | "ease-out"
                              | "snappy"
                              | "expo"
                              | "back"
                              | "anticipate"
                              | "bounce"
                              | "elastic"
                              | "ball"
                              | "slow-mo"
                              | "steps";
                          type: string;
                      }
                      | null;
                  }
                  | {
                      adjust: {
                          brightness?: number;
                          contrast?: number;
                          highlights?: number;
                          saturation?: number;
                          shadows?: number;
                          sharpen?: number;
                          tint?: number;
                          vignette?: number;
                          warmth?: number;
                      };
                      animation?: {
                          in?: { duration: number; type: string };
                          loop?: { speed?: (...) | (...); type: string };
                          out?: { duration: number; type: string };
                      };
                      assetId: string;
                      blend?: | "normal"
                      | "multiply"
                      | "screen"
                      | "overlay"
                      | "soft-light"
                      | "add"
                      | "lighten"
                      | "darken"
                      | "difference";
                      crop: { bottom: number; left: number; right: number; top: number };
                      duration: number;
                      filter: { id: string; intensity: number } | null;
                      fit: "fit" | "fill";
                      groupId?: string;
                      hidden?: boolean;
                      id: string;
                      key?: {
                          color: string;
                          softness: number;
                          spill: number;
                          tolerance: number;
                      };
                      keyframes?: {
                          opacity?: { ease?: ...; t: ...; v: ... }[];
                          rotation?: { ease?: ...; t: ...; v: ... }[];
                          scale?: { ease?: ...; t: ...; v: ... }[];
                          shift?: number;
                          x?: { ease?: ...; t: ...; v: ... }[];
                          y?: { ease?: ...; t: ...; v: ... }[];
                      };
                      kind: "freeze";
                      locked?: boolean;
                      lut?: { assetId: string; intensity: number };
                      mask?: { feather: number; invert?: boolean; shape: string };
                      name?: string;
                      sourceTime: number;
                      start: number;
                      transform: {
                          flipX: boolean;
                          flipY: boolean;
                          opacity: number;
                          rotation: number;
                          scale: number;
                          x: number;
                          y: number;
                      };
                      transitionIn: | {
                          direction?: "left"
                          | "right"
                          | "up"
                          | "down";
                          duration: number;
                          ease?:
                              | "linear"
                              | "smooth"
                              | "ease-in"
                              | "ease-out"
                              | "snappy"
                              | "expo"
                              | "back"
                              | "anticipate"
                              | "bounce"
                              | "elastic"
                              | "ball"
                              | "slow-mo"
                              | "steps";
                          type: string;
                      }
                      | null;
                  }
                  | {
                      assetId: string;
                      audioFx?: {
                          compress?: number;
                          denoise?: number;
                          eq?: { high: number; low: number; mid: number };
                          keepPitch?: boolean;
                          pitch?: number;
                      };
                      duck?: number;
                      duration: number;
                      fadeIn: number;
                      fadeOut: number;
                      groupId?: string;
                      hidden?: boolean;
                      id: string;
                      kind: "audio";
                      locked?: boolean;
                      muted: boolean;
                      name?: string;
                      sourceIn: number;
                      speed: number;
                      start: number;
                      volume: number;
                  }
                  | {
                      adjust: {
                          brightness?: number;
                          contrast?: number;
                          highlights?: number;
                          saturation?: number;
                          shadows?: number;
                          sharpen?: number;
                          tint?: number;
                          vignette?: number;
                          warmth?: number;
                      };
                      animation?: {
                          in?: { duration: number; type: string };
                          loop?: { speed?: (...) | (...); type: string };
                          out?: { duration: number; type: string };
                      };
                      blend?: | "normal"
                      | "multiply"
                      | "screen"
                      | "overlay"
                      | "soft-light"
                      | "add"
                      | "lighten"
                      | "darken"
                      | "difference";
                      duration: number;
                      filter: { id: string; intensity: number }
                      | null;
                      groupId?: string;
                      hidden?: boolean;
                      id: string;
                      keyframes?: {
                          opacity?: { ease?: ...; t: ...; v: ... }[];
                          rotation?: { ease?: ...; t: ...; v: ... }[];
                          scale?: { ease?: ...; t: ...; v: ... }[];
                          shift?: number;
                          x?: { ease?: ...; t: ...; v: ... }[];
                          y?: { ease?: ...; t: ...; v: ... }[];
                      };
                      kind: "text";
                      locked?: boolean;
                      maxWidth?: number;
                      name?: string;
                      start: number;
                      style: {
                          align: "left"
                          | "right"
                          | "center";
                          background: { color: string; padding: number; radius: number } | null;
                          color: string;
                          fontFamily: string;
                          fontWeight: number;
                          italic: boolean;
                          letterSpacing: number;
                          lineHeight: number;
                          outline: { color: string; width: number } | null;
                          shadow: { blur: number; color: string; x: number; y: number } | null;
                          size: number;
                      };
                      text: string;
                      transform: {
                          flipX: boolean;
                          flipY: boolean;
                          opacity: number;
                          rotation: number;
                          scale: number;
                          x: number;
                          y: number;
                      };
                      unsure?: boolean;
                      words?: { end: number; start: number; text: string }[];
                  }
                  | {
                      adjust: {
                          brightness?: number;
                          contrast?: number;
                          highlights?: number;
                          saturation?: number;
                          shadows?: number;
                          sharpen?: number;
                          tint?: number;
                          vignette?: number;
                          warmth?: number;
                      };
                      animation?: {
                          in?: { duration: number; type: string };
                          loop?: { speed?: (...) | (...); type: string };
                          out?: { duration: number; type: string };
                      };
                      assetId: string
                      | null;
                      blend?:
                          | "normal"
                          | "multiply"
                          | "screen"
                          | "overlay"
                          | "soft-light"
                          | "add"
                          | "lighten"
                          | "darken"
                          | "difference";
                      cutout?: { assetId: string };
                      duration: number;
                      emoji: string | null;
                      filter: { id: string; intensity: number } | null;
                      groupId?: string;
                      hidden?: boolean;
                      id: string;
                      keyframes?: {
                          opacity?: { ease?: ...; t: ...; v: ... }[];
                          rotation?: { ease?: ...; t: ...; v: ... }[];
                          scale?: { ease?: ...; t: ...; v: ... }[];
                          shift?: number;
                          x?: { ease?: ...; t: ...; v: ... }[];
                          y?: { ease?: ...; t: ...; v: ... }[];
                      };
                      kind: "sticker";
                      locked?: boolean;
                      name?: string;
                      start: number;
                      transform: {
                          flipX: boolean;
                          flipY: boolean;
                          opacity: number;
                          rotation: number;
                          scale: number;
                          x: number;
                          y: number;
                      };
                  }
                  | {
                      amount: number;
                      duration: number;
                      effect: "blur"
                      | "pixelate";
                      groupId?: string;
                      height: number;
                      hidden?: boolean;
                      id: string;
                      keyframes?: {
                          opacity?: { ease?: ...; t: ...; v: ... }[];
                          rotation?: { ease?: ...; t: ...; v: ... }[];
                          scale?: { ease?: ...; t: ...; v: ... }[];
                          shift?: number;
                          x?: { ease?: ...; t: ...; v: ... }[];
                          y?: { ease?: ...; t: ...; v: ... }[];
                      };
                      kind: "region";
                      locked?: boolean;
                      name?: string;
                      shape: "rectangle"
                      | "ellipse";
                      start: number;
                      transform: {
                          flipX: boolean;
                          flipY: boolean;
                          opacity: number;
                          rotation: number;
                          scale: number;
                          x: number;
                          y: number;
                      };
                      width: number;
                  }
              )[];
              kind: "overlay"
              | "audio"
              | "text"
              | "main"
              | "caption";
              locked: boolean;
              muted: boolean;
          }[]
        • updatedAt: string
        • version: 6

      Returns {
          caption?: {
              highlight: "type" | "fill" | "none" | "word" | "box" | "reveal";
              highlightColor: string;
              preset: string;
          };
          hidden: boolean;
          id: string;
          items: (
              | {
                  adjust: {
                      brightness?: number;
                      contrast?: number;
                      highlights?: number;
                      saturation?: number;
                      shadows?: number;
                      sharpen?: number;
                      tint?: number;
                      vignette?: number;
                      warmth?: number;
                  };
                  animation?: {
                      in?: { duration: number; type: string };
                      loop?: { speed?: number; type: string };
                      out?: { duration: number; type: string };
                  };
                  assetId: string;
                  audioFx?: {
                      compress?: number;
                      denoise?: number;
                      eq?: { high: number; low: number; mid: number };
                      keepPitch?: boolean;
                      pitch?: number;
                  };
                  blend?: | "normal"
                  | "multiply"
                  | "screen"
                  | "overlay"
                  | "soft-light"
                  | "add"
                  | "lighten"
                  | "darken"
                  | "difference";
                  crop: { bottom: number; left: number; right: number; top: number };
                  duck?: number;
                  duration: number;
                  fadeIn: number;
                  fadeOut: number;
                  filter: { id: string; intensity: number } | null;
                  fit: "fit" | "fill";
                  groupId?: string;
                  hidden?: boolean;
                  id: string;
                  key?: {
                      color: string;
                      softness: number;
                      spill: number;
                      tolerance: number;
                  };
                  keyframes?: {
                      opacity?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      rotation?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      scale?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      shift?: number;
                      x?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      y?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                  };
                  kind: "video";
                  locked?: boolean;
                  lut?: { assetId: string; intensity: number };
                  mask?: { feather: number; invert?: boolean; shape: string };
                  muted: boolean;
                  name?: string;
                  sourceIn: number;
                  speed: number;
                  start: number;
                  transform: {
                      flipX: boolean;
                      flipY: boolean;
                      opacity: number;
                      rotation: number;
                      scale: number;
                      x: number;
                      y: number;
                  };
                  transitionIn: | {
                      direction?: "left"
                      | "right"
                      | "up"
                      | "down";
                      duration: number;
                      ease?:
                          | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps";
                      type: string;
                  }
                  | null;
                  volume: number;
              }
              | {
                  adjust: {
                      brightness?: number;
                      contrast?: number;
                      highlights?: number;
                      saturation?: number;
                      shadows?: number;
                      sharpen?: number;
                      tint?: number;
                      vignette?: number;
                      warmth?: number;
                  };
                  animation?: {
                      in?: { duration: number; type: string };
                      loop?: { speed?: number; type: string };
                      out?: { duration: number; type: string };
                  };
                  assetId: string;
                  blend?: | "normal"
                  | "multiply"
                  | "screen"
                  | "overlay"
                  | "soft-light"
                  | "add"
                  | "lighten"
                  | "darken"
                  | "difference";
                  crop: { bottom: number; left: number; right: number; top: number };
                  cutout?: { assetId: string };
                  duration: number;
                  filter: { id: string; intensity: number } | null;
                  fit: "fit" | "fill";
                  groupId?: string;
                  hidden?: boolean;
                  id: string;
                  key?: {
                      color: string;
                      softness: number;
                      spill: number;
                      tolerance: number;
                  };
                  keyframes?: {
                      opacity?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      rotation?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      scale?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      shift?: number;
                      x?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      y?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                  };
                  kind: "image";
                  locked?: boolean;
                  lut?: { assetId: string; intensity: number };
                  mask?: { feather: number; invert?: boolean; shape: string };
                  name?: string;
                  start: number;
                  transform: {
                      flipX: boolean;
                      flipY: boolean;
                      opacity: number;
                      rotation: number;
                      scale: number;
                      x: number;
                      y: number;
                  };
                  transitionIn: | {
                      direction?: "left"
                      | "right"
                      | "up"
                      | "down";
                      duration: number;
                      ease?:
                          | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps";
                      type: string;
                  }
                  | null;
              }
              | {
                  adjust: {
                      brightness?: number;
                      contrast?: number;
                      highlights?: number;
                      saturation?: number;
                      shadows?: number;
                      sharpen?: number;
                      tint?: number;
                      vignette?: number;
                      warmth?: number;
                  };
                  animation?: {
                      in?: { duration: number; type: string };
                      loop?: { speed?: number; type: string };
                      out?: { duration: number; type: string };
                  };
                  assetId: string;
                  blend?: | "normal"
                  | "multiply"
                  | "screen"
                  | "overlay"
                  | "soft-light"
                  | "add"
                  | "lighten"
                  | "darken"
                  | "difference";
                  crop: { bottom: number; left: number; right: number; top: number };
                  duration: number;
                  filter: { id: string; intensity: number } | null;
                  fit: "fit" | "fill";
                  groupId?: string;
                  hidden?: boolean;
                  id: string;
                  key?: {
                      color: string;
                      softness: number;
                      spill: number;
                      tolerance: number;
                  };
                  keyframes?: {
                      opacity?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      rotation?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      scale?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      shift?: number;
                      x?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      y?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                  };
                  kind: "freeze";
                  locked?: boolean;
                  lut?: { assetId: string; intensity: number };
                  mask?: { feather: number; invert?: boolean; shape: string };
                  name?: string;
                  sourceTime: number;
                  start: number;
                  transform: {
                      flipX: boolean;
                      flipY: boolean;
                      opacity: number;
                      rotation: number;
                      scale: number;
                      x: number;
                      y: number;
                  };
                  transitionIn: | {
                      direction?: "left"
                      | "right"
                      | "up"
                      | "down";
                      duration: number;
                      ease?:
                          | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps";
                      type: string;
                  }
                  | null;
              }
              | {
                  assetId: string;
                  audioFx?: {
                      compress?: number;
                      denoise?: number;
                      eq?: { high: number; low: number; mid: number };
                      keepPitch?: boolean;
                      pitch?: number;
                  };
                  duck?: number;
                  duration: number;
                  fadeIn: number;
                  fadeOut: number;
                  groupId?: string;
                  hidden?: boolean;
                  id: string;
                  kind: "audio";
                  locked?: boolean;
                  muted: boolean;
                  name?: string;
                  sourceIn: number;
                  speed: number;
                  start: number;
                  volume: number;
              }
              | {
                  adjust: {
                      brightness?: number;
                      contrast?: number;
                      highlights?: number;
                      saturation?: number;
                      shadows?: number;
                      sharpen?: number;
                      tint?: number;
                      vignette?: number;
                      warmth?: number;
                  };
                  animation?: {
                      in?: { duration: number; type: string };
                      loop?: { speed?: number; type: string };
                      out?: { duration: number; type: string };
                  };
                  blend?: | "normal"
                  | "multiply"
                  | "screen"
                  | "overlay"
                  | "soft-light"
                  | "add"
                  | "lighten"
                  | "darken"
                  | "difference";
                  duration: number;
                  filter: { id: string; intensity: number }
                  | null;
                  groupId?: string;
                  hidden?: boolean;
                  id: string;
                  keyframes?: {
                      opacity?: {
                          ease?:
                              | "linear"
                              | "smooth"
                              | "ease-in"
                              | "ease-out"
                              | "snappy"
                              | "expo"
                              | "back"
                              | "anticipate"
                              | "bounce"
                              | "elastic"
                              | "ball"
                              | "slow-mo"
                              | "steps"
                              | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      rotation?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      scale?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      shift?: number;
                      x?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      y?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                  };
                  kind: "text";
                  locked?: boolean;
                  maxWidth?: number;
                  name?: string;
                  start: number;
                  style: {
                      align: "left"
                      | "right"
                      | "center";
                      background: { color: string; padding: number; radius: number } | null;
                      color: string;
                      fontFamily: string;
                      fontWeight: number;
                      italic: boolean;
                      letterSpacing: number;
                      lineHeight: number;
                      outline: { color: string; width: number } | null;
                      shadow: { blur: number; color: string; x: number; y: number } | null;
                      size: number;
                  };
                  text: string;
                  transform: {
                      flipX: boolean;
                      flipY: boolean;
                      opacity: number;
                      rotation: number;
                      scale: number;
                      x: number;
                      y: number;
                  };
                  unsure?: boolean;
                  words?: { end: number; start: number; text: string }[];
              }
              | {
                  adjust: {
                      brightness?: number;
                      contrast?: number;
                      highlights?: number;
                      saturation?: number;
                      shadows?: number;
                      sharpen?: number;
                      tint?: number;
                      vignette?: number;
                      warmth?: number;
                  };
                  animation?: {
                      in?: { duration: number; type: string };
                      loop?: { speed?: number; type: string };
                      out?: { duration: number; type: string };
                  };
                  assetId: string
                  | null;
                  blend?:
                      | "normal"
                      | "multiply"
                      | "screen"
                      | "overlay"
                      | "soft-light"
                      | "add"
                      | "lighten"
                      | "darken"
                      | "difference";
                  cutout?: { assetId: string };
                  duration: number;
                  emoji: string | null;
                  filter: { id: string; intensity: number } | null;
                  groupId?: string;
                  hidden?: boolean;
                  id: string;
                  keyframes?: {
                      opacity?: {
                          ease?:
                              | "linear"
                              | "smooth"
                              | "ease-in"
                              | "ease-out"
                              | "snappy"
                              | "expo"
                              | "back"
                              | "anticipate"
                              | "bounce"
                              | "elastic"
                              | "ball"
                              | "slow-mo"
                              | "steps"
                              | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      rotation?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      scale?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      shift?: number;
                      x?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      y?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                  };
                  kind: "sticker";
                  locked?: boolean;
                  name?: string;
                  start: number;
                  transform: {
                      flipX: boolean;
                      flipY: boolean;
                      opacity: number;
                      rotation: number;
                      scale: number;
                      x: number;
                      y: number;
                  };
              }
              | {
                  amount: number;
                  duration: number;
                  effect: "blur"
                  | "pixelate";
                  groupId?: string;
                  height: number;
                  hidden?: boolean;
                  id: string;
                  keyframes?: {
                      opacity?: {
                          ease?:
                              | "linear"
                              | "smooth"
                              | "ease-in"
                              | "ease-out"
                              | "snappy"
                              | "expo"
                              | "back"
                              | "anticipate"
                              | "bounce"
                              | "elastic"
                              | "ball"
                              | "slow-mo"
                              | "steps"
                              | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      rotation?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      scale?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      shift?: number;
                      x?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                      y?: {
                          ease?: | "linear"
                          | "smooth"
                          | "ease-in"
                          | "ease-out"
                          | "snappy"
                          | "expo"
                          | "back"
                          | "anticipate"
                          | "bounce"
                          | "elastic"
                          | "ball"
                          | "slow-mo"
                          | "steps"
                          | [(...), (...), (...), (...)];
                          t: number;
                          v: number;
                      }[];
                  };
                  kind: "region";
                  locked?: boolean;
                  name?: string;
                  shape: "rectangle"
                  | "ellipse";
                  start: number;
                  transform: {
                      flipX: boolean;
                      flipY: boolean;
                      opacity: number;
                      rotation: number;
                      scale: number;
                      x: number;
                      y: number;
                  };
                  width: number;
              }
          )[];
          kind: "overlay"
          | "audio"
          | "text"
          | "main"
          | "caption";
          locked: boolean;
          muted: boolean;
      }

      • Optionalcaption?: {
            highlight: "type" | "fill" | "none" | "word" | "box" | "reveal";
            highlightColor: string;
            preset: string;
        }

        Caption rows only: their look (file version 3+).

        • highlight: "type" | "fill" | "none" | "word" | "box" | "reveal"

          none; word: the word being said changes colour; box: it gets a box behind it; fill: words fill with colour letter by letter as they're said; reveal: words appear as they're said; type: letters appear as they're said.

        • highlightColor: string

          Colour of the highlight (text colour, or the box).

        • preset: string

          Caption style preset id (CAPTION_PRESETS), for the picker.

      • hidden: boolean
      • id: string
      • items: (
            | {
                adjust: {
                    brightness?: number;
                    contrast?: number;
                    highlights?: number;
                    saturation?: number;
                    shadows?: number;
                    sharpen?: number;
                    tint?: number;
                    vignette?: number;
                    warmth?: number;
                };
                animation?: {
                    in?: { duration: number; type: string };
                    loop?: { speed?: number; type: string };
                    out?: { duration: number; type: string };
                };
                assetId: string;
                audioFx?: {
                    compress?: number;
                    denoise?: number;
                    eq?: { high: number; low: number; mid: number };
                    keepPitch?: boolean;
                    pitch?: number;
                };
                blend?: | "normal"
                | "multiply"
                | "screen"
                | "overlay"
                | "soft-light"
                | "add"
                | "lighten"
                | "darken"
                | "difference";
                crop: { bottom: number; left: number; right: number; top: number };
                duck?: number;
                duration: number;
                fadeIn: number;
                fadeOut: number;
                filter: { id: string; intensity: number } | null;
                fit: "fit" | "fill";
                groupId?: string;
                hidden?: boolean;
                id: string;
                key?: {
                    color: string;
                    softness: number;
                    spill: number;
                    tolerance: number;
                };
                keyframes?: {
                    opacity?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    rotation?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    scale?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    shift?: number;
                    x?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    y?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                };
                kind: "video";
                locked?: boolean;
                lut?: { assetId: string; intensity: number };
                mask?: { feather: number; invert?: boolean; shape: string };
                muted: boolean;
                name?: string;
                sourceIn: number;
                speed: number;
                start: number;
                transform: {
                    flipX: boolean;
                    flipY: boolean;
                    opacity: number;
                    rotation: number;
                    scale: number;
                    x: number;
                    y: number;
                };
                transitionIn: | {
                    direction?: "left"
                    | "right"
                    | "up"
                    | "down";
                    duration: number;
                    ease?:
                        | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps";
                    type: string;
                }
                | null;
                volume: number;
            }
            | {
                adjust: {
                    brightness?: number;
                    contrast?: number;
                    highlights?: number;
                    saturation?: number;
                    shadows?: number;
                    sharpen?: number;
                    tint?: number;
                    vignette?: number;
                    warmth?: number;
                };
                animation?: {
                    in?: { duration: number; type: string };
                    loop?: { speed?: number; type: string };
                    out?: { duration: number; type: string };
                };
                assetId: string;
                blend?: | "normal"
                | "multiply"
                | "screen"
                | "overlay"
                | "soft-light"
                | "add"
                | "lighten"
                | "darken"
                | "difference";
                crop: { bottom: number; left: number; right: number; top: number };
                cutout?: { assetId: string };
                duration: number;
                filter: { id: string; intensity: number } | null;
                fit: "fit" | "fill";
                groupId?: string;
                hidden?: boolean;
                id: string;
                key?: {
                    color: string;
                    softness: number;
                    spill: number;
                    tolerance: number;
                };
                keyframes?: {
                    opacity?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    rotation?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    scale?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    shift?: number;
                    x?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    y?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                };
                kind: "image";
                locked?: boolean;
                lut?: { assetId: string; intensity: number };
                mask?: { feather: number; invert?: boolean; shape: string };
                name?: string;
                start: number;
                transform: {
                    flipX: boolean;
                    flipY: boolean;
                    opacity: number;
                    rotation: number;
                    scale: number;
                    x: number;
                    y: number;
                };
                transitionIn: | {
                    direction?: "left"
                    | "right"
                    | "up"
                    | "down";
                    duration: number;
                    ease?:
                        | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps";
                    type: string;
                }
                | null;
            }
            | {
                adjust: {
                    brightness?: number;
                    contrast?: number;
                    highlights?: number;
                    saturation?: number;
                    shadows?: number;
                    sharpen?: number;
                    tint?: number;
                    vignette?: number;
                    warmth?: number;
                };
                animation?: {
                    in?: { duration: number; type: string };
                    loop?: { speed?: number; type: string };
                    out?: { duration: number; type: string };
                };
                assetId: string;
                blend?: | "normal"
                | "multiply"
                | "screen"
                | "overlay"
                | "soft-light"
                | "add"
                | "lighten"
                | "darken"
                | "difference";
                crop: { bottom: number; left: number; right: number; top: number };
                duration: number;
                filter: { id: string; intensity: number } | null;
                fit: "fit" | "fill";
                groupId?: string;
                hidden?: boolean;
                id: string;
                key?: {
                    color: string;
                    softness: number;
                    spill: number;
                    tolerance: number;
                };
                keyframes?: {
                    opacity?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    rotation?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    scale?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    shift?: number;
                    x?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    y?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                };
                kind: "freeze";
                locked?: boolean;
                lut?: { assetId: string; intensity: number };
                mask?: { feather: number; invert?: boolean; shape: string };
                name?: string;
                sourceTime: number;
                start: number;
                transform: {
                    flipX: boolean;
                    flipY: boolean;
                    opacity: number;
                    rotation: number;
                    scale: number;
                    x: number;
                    y: number;
                };
                transitionIn: | {
                    direction?: "left"
                    | "right"
                    | "up"
                    | "down";
                    duration: number;
                    ease?:
                        | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps";
                    type: string;
                }
                | null;
            }
            | {
                assetId: string;
                audioFx?: {
                    compress?: number;
                    denoise?: number;
                    eq?: { high: number; low: number; mid: number };
                    keepPitch?: boolean;
                    pitch?: number;
                };
                duck?: number;
                duration: number;
                fadeIn: number;
                fadeOut: number;
                groupId?: string;
                hidden?: boolean;
                id: string;
                kind: "audio";
                locked?: boolean;
                muted: boolean;
                name?: string;
                sourceIn: number;
                speed: number;
                start: number;
                volume: number;
            }
            | {
                adjust: {
                    brightness?: number;
                    contrast?: number;
                    highlights?: number;
                    saturation?: number;
                    shadows?: number;
                    sharpen?: number;
                    tint?: number;
                    vignette?: number;
                    warmth?: number;
                };
                animation?: {
                    in?: { duration: number; type: string };
                    loop?: { speed?: number; type: string };
                    out?: { duration: number; type: string };
                };
                blend?: | "normal"
                | "multiply"
                | "screen"
                | "overlay"
                | "soft-light"
                | "add"
                | "lighten"
                | "darken"
                | "difference";
                duration: number;
                filter: { id: string; intensity: number }
                | null;
                groupId?: string;
                hidden?: boolean;
                id: string;
                keyframes?: {
                    opacity?: {
                        ease?:
                            | "linear"
                            | "smooth"
                            | "ease-in"
                            | "ease-out"
                            | "snappy"
                            | "expo"
                            | "back"
                            | "anticipate"
                            | "bounce"
                            | "elastic"
                            | "ball"
                            | "slow-mo"
                            | "steps"
                            | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    rotation?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    scale?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    shift?: number;
                    x?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    y?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                };
                kind: "text";
                locked?: boolean;
                maxWidth?: number;
                name?: string;
                start: number;
                style: {
                    align: "left"
                    | "right"
                    | "center";
                    background: { color: string; padding: number; radius: number } | null;
                    color: string;
                    fontFamily: string;
                    fontWeight: number;
                    italic: boolean;
                    letterSpacing: number;
                    lineHeight: number;
                    outline: { color: string; width: number } | null;
                    shadow: { blur: number; color: string; x: number; y: number } | null;
                    size: number;
                };
                text: string;
                transform: {
                    flipX: boolean;
                    flipY: boolean;
                    opacity: number;
                    rotation: number;
                    scale: number;
                    x: number;
                    y: number;
                };
                unsure?: boolean;
                words?: { end: number; start: number; text: string }[];
            }
            | {
                adjust: {
                    brightness?: number;
                    contrast?: number;
                    highlights?: number;
                    saturation?: number;
                    shadows?: number;
                    sharpen?: number;
                    tint?: number;
                    vignette?: number;
                    warmth?: number;
                };
                animation?: {
                    in?: { duration: number; type: string };
                    loop?: { speed?: number; type: string };
                    out?: { duration: number; type: string };
                };
                assetId: string
                | null;
                blend?:
                    | "normal"
                    | "multiply"
                    | "screen"
                    | "overlay"
                    | "soft-light"
                    | "add"
                    | "lighten"
                    | "darken"
                    | "difference";
                cutout?: { assetId: string };
                duration: number;
                emoji: string | null;
                filter: { id: string; intensity: number } | null;
                groupId?: string;
                hidden?: boolean;
                id: string;
                keyframes?: {
                    opacity?: {
                        ease?:
                            | "linear"
                            | "smooth"
                            | "ease-in"
                            | "ease-out"
                            | "snappy"
                            | "expo"
                            | "back"
                            | "anticipate"
                            | "bounce"
                            | "elastic"
                            | "ball"
                            | "slow-mo"
                            | "steps"
                            | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    rotation?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    scale?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    shift?: number;
                    x?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    y?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                };
                kind: "sticker";
                locked?: boolean;
                name?: string;
                start: number;
                transform: {
                    flipX: boolean;
                    flipY: boolean;
                    opacity: number;
                    rotation: number;
                    scale: number;
                    x: number;
                    y: number;
                };
            }
            | {
                amount: number;
                duration: number;
                effect: "blur"
                | "pixelate";
                groupId?: string;
                height: number;
                hidden?: boolean;
                id: string;
                keyframes?: {
                    opacity?: {
                        ease?:
                            | "linear"
                            | "smooth"
                            | "ease-in"
                            | "ease-out"
                            | "snappy"
                            | "expo"
                            | "back"
                            | "anticipate"
                            | "bounce"
                            | "elastic"
                            | "ball"
                            | "slow-mo"
                            | "steps"
                            | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    rotation?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    scale?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    shift?: number;
                    x?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                    y?: {
                        ease?: | "linear"
                        | "smooth"
                        | "ease-in"
                        | "ease-out"
                        | "snappy"
                        | "expo"
                        | "back"
                        | "anticipate"
                        | "bounce"
                        | "elastic"
                        | "ball"
                        | "slow-mo"
                        | "steps"
                        | [(...), (...), (...), (...)];
                        t: number;
                        v: number;
                    }[];
                };
                kind: "region";
                locked?: boolean;
                name?: string;
                shape: "rectangle"
                | "ellipse";
                start: number;
                transform: {
                    flipX: boolean;
                    flipY: boolean;
                    opacity: number;
                    rotation: number;
                    scale: number;
                    x: number;
                    y: number;
                };
                width: number;
            }
        )[]
      • kind: "overlay" | "audio" | "text" | "main" | "caption"

        main: the story — items back to back from 0, no gaps (exactly one main track). overlay: picture-in-picture video/images/stickers and blurred areas. text: titles. audio: music, sfx, voice. caption: captions — text items in time order with one look (file version 3+). Items within one track never overlap.

      • locked: boolean
      • muted: boolean