Ask the assistant
0/400
Your question is processed by an AI service and kept to improve answers. Do not enter personal data.

    AI video: *AiShot and *AiReplace

    A film ( *Scene ) can be redrawn by a video model into real footage — the editor's "AI video" window, or the reeel_ai_video tool for the agent. The markup says WHAT to redraw: shots ( *AiShot ) and, for live video, replacements ( *AiReplace ). Both elements are data: they draw nothing and take no space, and a film with them is pixel-for-pixel the same as without them. Editor only (macOS, Windows); the model is local (MiniMax H3 by default).

    *Scene duration:4s time:@t
      *AiShot id:"flight"
      *Rect x:0 y:0 w:1 h:0.7 fill:0xFFE8E2D6
      *Track value:@px
        *Keyframe at:0 v:-0.05
        *Keyframe at:4 v:1.05
        *Path d:"…" fill:0xFFFFFFFF

    What guides the model

    The model receives the frames that export draws from the shot's segment, and repeats their composition and motion frame by frame. What those frames are is decided by the scene:

    At the start of the shot What guides the model What to write in the prompt
    a 3D scene ( .Scene ) the depth of the 3D scene ("Depth" mode) or its color frame ("3D from the scene") what is in the frame, naming every object
    live video ( *Footage ) with *AiReplace the video frames themselves nothing: the replacement speaks for itself
    2D motion from elements ( *Rect , *Path , *Sprite , *Text ) the drawn frames themselves what the drawn shapes ARE in real footage

    A shot without a 3D scene does not need depth: the window says "guided by its own frames — depth is not needed", and the "Guided by video" switch is not offered if the whole film consists of such shots.

    *AiShot

    A shot is a segment of the film that the model redraws in one pass. A cut in the film is a new shot: within a pass, the model carries the look of its first frames.

    The segment is the clock the shot sits under: the whole film directly under *Scene , the layer's window under *Layer . in: / out: cut out their own segment from the start of that clock.

    Parameter Type Default Description
    id string — shot name, unique within the film; its files are ai/<id>/… , its work goes to .reeel/ai_video/<id>/
    prompt path ai/<id>/prompt.txt text about what is in the shot (in English)
    negative path ai/<id>/negative.txt what to avoid
    sample path ai/<id>/sample.png reference photo for the shot — Wan model only
    strength number 0…1 0.8 how closely the frames hold the picture
    seed number 42 "Recompute" takes the next one
    in , out seconds — own segment within the shot's clock

    All parameters are literals: shots are read before the film starts, when an expression has no value yet (analyzer: ai_shot_not_static , ai_shot_id ).

    *AiReplace

    Replaces a thing in live video: what to replace and with what. Written directly under its *AiShot ; several of them — several replacements.

    *Scene duration:4.4s time:@t
      *AiShot id:"desk"
        *AiReplace what:"the orange pencil" with:"ai/desk/pen.png" as:"a dark blue fountain pen with a gold nib"
      *Footage src:"footage/desk.mp4" fit:cover
    Parameter Type Description
    what string what to replace, in words — the model finds the thing by them
    with path a photo of what it turns into (holds the look)
    as string the same in words

    There is no mask or marking: the model finds the thing by the words and redraws the grip of the hand to the new shape. Keeping everything else intact is the prompt's job — the editor itself tells the model to keep every object, every line and inscription; whatever is visible next to the replaced thing is worth naming in ai/<id>/prompt.txt ("Keep exactly as in <Video 1>: the toy figure by the pencil, the drawing on the paper…") — what is named is kept more reliably. The agent adds this itself, looking at the first frame of the shot.

    How to draw 2D motion for AI video

    • A *Track animation affects only the track's children: the drawing goes INSIDE it (the analyzer reports variable_out_of_scope if it is next to it).
    • A shape's color can carry over to the object: a purple rectangle becomes a purple box. If you need a natural color, draw a close color or state it in the prompt.
    • The model repeats small details (steam, folds) almost as drawn.

    Running

    A person starts it: "Start" in the "AI video" window. The agent prepares the shots and texts and opens the window with the button highlighted. Quality — "Draft" / "Standard" / "High"; the film's sound — "Both" / "Source" / "Model" (a choice made at assembly; it does not re-run the model). The finished film is export/film.ai.mp4 .