FlowJoe keeps video editing decisions in the same timeline you edit by hand. Joe and connected agents can inspect that timeline and propose supported changes through FlowJoe’s approval flow. The exact actions available depend on the agent connection and the permission you selected.

Choose the right connection

  • Joe in FlowJoe: uses the tools available to the current chat and follows the selected Flow permission.
  • A live CLI brain: Joe’s CLI provider uses a run-scoped connection. Its current catalog and snapshot are the source for what that turn can do.
  • An external MCP agent: connects through Agent Bridge. Its Flow permission may be Off, Read, Propose, or Auto-apply; Off may allow manual reading only. Check the permission in Settings → AI → Agent Bridge and review every proposed change in FlowJoe.
The describe_patch_protocol action reports the current patch verbs and arguments. get_flow_snapshot reports the visible flow and normalized timeline data when read access is available. An agent should check both rather than rely on a remembered verb list. The video fields below describe the current FlowJoe sequence model; a connection may expose only part of it. When the Video Sequences editor is already open, read_video_editor can report its playhead, selection, range, loop, playback rate, safe view state and whether session Undo or Redo is available. control_video_editor can open or close the editor, undo or redo its current editing session, move the playhead, select an item, set a range, change zoom/follow/snap/ripple/fullscreen, and start or stop playback. Undo and Redo return whether the edit changed and persisted, plus safe editor state; FlowJoe checks all affected nodes, slots, stack takes and clip/audio-track references before moving a history step. Missing, private, hidden, unavailable or workspace-blocked history is refused without popping the stack; a frozen node is refused as a write target, while a readable frozen source may remain referenced. Each edit still uses its usual checked write path. These state and transport tools do not return picture pixels. Microphone recording requires an explicit request and the app’s normal microphone permission. read_video_editor reports the current editor’s view.snap state. At Propose, control_video_editor({action:"snap",enabled}) changes the local Snap setting for the current open editor immediately; this does not change the Flow. This general Snap control is separate from beat-grid preferences. read_video_editor also reports the current editor’s local view.beatGrid and view.beatBarsOnly choices. At Propose, control_video_editor({action:"beat-grid"|"beat-bars-only",nodeId,enabled}) changes one preference for the current visible editor on this computer. Pass the exact current nodeId and Boolean enabled. Hiding the grid removes beat snap targets; Bars-only keeps snapping to bar lines instead of every beat. These controls do not analyze audio, change saved beats, edit the Flow or create a Flow Undo step. The barsOnly filter on read_video_beats only filters that read’s returned points. To inspect the picture at the current playhead, use read_video_frame({nodeId}) after opening and seeking the editor. Supply the exact node ID; the editor must be open, locally owned, and showing the sequence rather than a source preview. Read or Propose access is required, and inaccessible source media is refused. FlowJoe returns the composed still as an image attachment, including the picture, titles and captions but not editor controls; it does not move the playhead or return a media URL. If the picture is still loading, the tool reports not_ready. Agents can read or maintain the current user’s local rack presets with read_video_presets and control_video_presets when the connection has the needed permission. These are local preferences, not shared Flow data. A guest cannot read or change the host’s presets. There is no direct “apply preset” action: the agent reads the chosen preset’s values and sends supported values through the checked clip or sequence patch. set_export_cache changes the local Keep Parts preference; FlowJoe still applies its own privacy rules before retaining rendered parts. read_video_presets({includePreferences:true}) also reads local Ecliptic preferences, and control_video_presets({action:"set_ecliptic_preferences",patch:{...}}) updates only supplied validated choices. Use includeControls:true to inspect the source-backed rack control ranges and choices before describing a setting.

Use the Grok subscription in FlowJoe’s browser

Joe, an authorized CLI brain, or a trusted external MCP session with Propose permission can use read_video_grok and control_video_grok to open FlowJoe’s existing Grok picker or subscription route. The picker returns only creation IDs, type, title, duration, HD availability, and selected state. The tool does not return Grok URLs, downloaded files, native paths, page HTML, or login data. An agent can select existing creations by mediaId and import them into the chosen node with the app’s existing Undo step. A connected MCP session can read and control only a route it opened; Read permission can inspect that same session’s route, but cannot open one. The route remains bound to that live host session and closes when that session is cancelled or its access changes. For a new shot, open_shot can use a visible picture or clip take as its start frame, then opens the existing Grok handoff and reports awaiting_user_generate. The person still presses Generate on Grok’s page and chooses its output settings; the tool does not call a video provider or press page controls. Use poll to refresh the existing handoff, then save after FlowJoe reports a finished video. lookup_hd reports only whether the selected Grok take has an HD version; use_hd adds it through the existing take path. These subscription-browser actions require the owner’s desktop app and Propose permission; guests cannot use the owner’s subscription. End frames are not supported by this subscription handoff.

Plan from the timeline you can see

  1. Read the target node’s current videoSequence and its gallery slots. Resolve each picture, video, audio track, and stack take by the stable IDs in that snapshot.
  2. Translate the human edit into timeline time. Clip placement starts, title starts, and markers use sequence seconds. Caption cues use the source recording’s seconds. A picture canvas is measured in pixels and does not set FPS.
  3. Preserve IDs and every unrelated item. Repeated use of one source slot is valid when each timeline placement has its own ID.
  4. Validate the patch when the tool supports validation, inspect the exact result, then send the same patch for approval. Report completion only after FlowJoe confirms that it applied.
After inserting newly staged media, use the stored slot ID returned in the applied patch’s entryRefs.created, or read it from a fresh gallery snapshot. Insertion can change the staged entry’s ID. Timeline placements need the stored slot ID; take-rendering jobs also need the actual source take ID from that slot.

Edit ordinary timeline markers

At Propose, Joe and connected agents can add, rename, move, recolor or remove ordinary timeline markers through the existing setVideoSequence proposal. Read a fresh get_flow_snapshot first. Use sequence seconds for marker times and exact marker IDs for edits or removal. Preserve every other marker and the sequence data the request does not change. Review and approve the normal sequence proposal. A beat grid is numeric timing saved on an audio track. A timeline marker is a separate sequence-time note. Lyric markers come from the existing transcript-based workflow; do not infer lyric markers from a beat read.

Align a marker to a saved bar

When the user expressly asks, Joe can place a marker at the nearest saved bar to an exact sequence time or a known timed lyric cue. For a lyric cue, keep the existing transcript workflow and convert its source time to sequence time using the track’s audible placement before alignment; normal lyric timing remains unchanged. Read the exact visible audio track with bounded read_video_beats windows and barsOnly:true, paging within the agreed bounds to look on both sides of the target. Choose the nearest returned bar, choosing the earlier bar on an exact tie. If no valid saved bars are available in bounds, report that alignment is unavailable. Before proposing, recheck the current visible beat data and read a fresh full snapshot. Preserve every existing marker, track and unrelated sequence field; add a marker with a fresh ID through the ordinary setVideoSequence proposal. Joe API chat and authenticated Joe CLI brain require Apply. External CLI/MCP use their own gated approval or optional auto-apply settings. Use the existing Flow Undo after an applied patch. This does not change transcription or consent settings, infer a timestamp from beats, or add snapping to native marker dragging.

Read saved beat or bar times

At Read or Propose, Joe and connected CLI/MCP agents can request a bounded window of beat points already saved on one visible audio track with read_video_beats. The from and to values are sequence seconds, with to excluded. Set barsOnly:true to return only bar starts. The response contains the saved beat summary, up to 200 points, and nextFrom for continuing a longer range. summary.count is the total beat count in the saved record, not the count in the current window. Use the exact nodeId and trackId from a fresh snapshot:
For CLI, save that object as beat-window.json and run flowjoe-cli action read_video_beats --file beat-window.json --json. This reads the current saved beat record only. It does not decode or analyze audio, alter the sequence, or create timeline markers. Ordinary markers remain separate sequence-time notes.

Move Bar 1 or remove saved beats

At Propose, Joe and connected CLI/MCP agents can use the existing get_flow_snapshot and setVideoSequence route for one exact visible saved audio track. Read a fresh complete snapshot, preserve the whole sequence and every visible track, and change only the requested track’s beat summary. To move Bar 1, set its bar1 to the requested zero-based index from 0 through count - 1 and preserve its meter; the shared writer retains the stored encoded beat times unchanged. To remove the saved beat metadata while keeping the music, set that track’s beats to null. Do not send a replacement beat record. Joe API chat and authenticated Joe CLI brain require Apply for setVideoSequence; owner-chat Auto-apply edits does not cover this operation. External CLI/MCP show Approve in gated mode and may instead follow their separate optional auto-apply settings for ordinary sequence edits. An applied patch can be reversed through the existing Flow Undo.

Plan a Cut to the Beat

At Propose, Joe can plan trim-only edits that move joins for two or more selected clips onto every beat, every bar, every 2 bars or every 4 bars. Give Joe the exact clip placement IDs or ordinary slot entry IDs from the open editor or a fresh snapshot. The planner accepts any order and uses the editor’s existing locked-clip, source-length and track-fit rules. Joe returns normal setVideoSequence patch operations and a proof for the current timeline revision. Keep planning and propose_flow_patch in the same Joe turn/tool run, one CLI run connection or one MCP session. A changed timeline makes the proof stale, so refresh and plan again. The owner must review and approve the normal proposal, even when automatic application is enabled. If expressly requested, plan_video_beat_cut can include one ordinary marker as marker:{time,name} or marker:null. time is an exact sequence-second time; the planner assigns a fresh marker ID and preserves existing markers. For a known saved lyric cue, get its existing timed cue with query_history/read_history and convert using the audible track’s track.start + cue.start - track.trimIn; don’t transcribe again. Use the separate saved-bar alignment workflow only when asked. A full list of 100 markers returns marker_limit. Keep the name to 60 characters. The planner returns ops and expectedBaseRevision; pass both unchanged to propose_flow_patch in the same turn/run/session. One manual Apply in Joe chat or Approve for a connected assistant is required even when auto-apply is enabled. A same-session analysisId may still save staged beats under its existing approval policy; this adds no transcription or provider request. If no joins move and there is neither a marker nor staged analysis, do not propose an empty patch. Existing Flow Undo reverses an applied change. Ordinary markers remain separate from track beats. If the user expressly asks for fresh local lyric timing for this marker, use transcribe_audio({action:"wait",timings:true,timingSource:"local",nodeId,entryId}) on the exact audio source. Preserve real cues on the original source clock. If the user identifies a repeated phrase and asks for its earliest occurrence, choose that earliest matching cue; clarify if the cue or timing is uncertain or unavailable. Convert cue.start through the exact audible placement (track.start + cue.start - track.trimIn). Do not upload audio, use paid fallback or guess timing. A saved-cue request uses query_history/read_history without retranscription. Pass the explicit marker:{time,name} with the unchanged S249 plan proof and manual approval.

Plan a sequence of video shots

A connected CLI or MCP assistant can use plan_video_shots at Propose on the owner’s supported desktop. Give it the exact target nodeId and 2–12 strict shot rows with a nonempty title and prompt. Each row may include a duration; when omitted, FlowJoe uses the length selected in the owner’s Video tab. The optional startEntryId selects the first frame from a picture or video slot. The plan uses the owner’s current Video tab model, resolution and aspect. The response gives the shot count and total duration with an estimated cost for an API model. With the Grok subscription option it gives a subscription cost note instead. Planning returns this summary to the connected assistant; it does not place a card in Joe chat, generate video or save anything to the Flow. When you want to make a video, the existing generateVideoTake path is a separate owner-approved operation for each shot.

Ask Joe to find beats

At Propose, Joe can analyze the exact current audio recording on one visible sequence track locally, then return a requested sequence-time window of beat points. The response is a bounded page with an opaque handle for continuing through the same analysis. Asking for analysis does not save beat data to the Flow. Keep detection, later pages and the proposal in one Joe turn/tool run, one CLI run connection or one MCP session. The prepared handle is bound to that caller and current Flow/source. To save the result, ask Joe to apply it to that same track. The normal video-sequence proposal needs your approval: click Apply in Joe chat or Approve on a connected assistant’s request. That approval is required even when automatic application is enabled. Joe can combine the staged beat result with requested marker or clip changes in the same proposal. Timeline markers remain separate from track beats. After opening Export, settings changes and rack opening wait for its automatic media check to finish. An active preview or export still prevents these changes; stop or finish that work first. For example, to rename a title without changing the timeline, the agent reads the existing sequence, changes only that title’s text, and sends the full kept title list with existing IDs. It also sends the visible tracks, fitTrack, and fit from the snapshot because those core audio fields are replaced together. It can omit clips, lanes, frame, mastering, and mixer because those sections are retained.

What the timeline stores

The node’s videoSequence may contain:
  • frame: {width,height} in even pixels from 2 to 8192; default 1920×1080. It defines the picture canvas, not frame rate.
  • clips: the ordered picture placements. Each placement has its own id, source nodeId and slotEntryId, and may select a stack entryId, set a video laneId and start, leave the picture out with out:true, and carry placement-specific clip edits. effectSpan, joinLimit, and joinCut retain split/join continuity. A sequence can reuse one source more than once under different placement IDs.
  • videoLanes: ordered bottom-to-top lanes with IDs, names, colors, and hidden, muted, or locked state. A placement’s laneId selects its lane.
  • tracks: audio references with stable IDs, source references, lane, start, trim, volume, fades, ducking, mute, Sound, captions, routing, and volume-line data. audioLanes holds lane names, kinds, and colors. A volume line is a flat series of source-file time and dB pairs, up to 64 points from −18 to +6 dB. Current timeline automation consists of these volume lines and ducking; there is no separate automation lane.
  • markers: sequence-time notes, with a name and marker color. The six slot color swatches may also color a marker.
  • titles: text overlays with sequence-time start and length, style, font, size, position, text color, background, in/out animation, optional fade lengths, picture-mastering opt-out, color label, and title lane. titleLanes holds the lane names and colors.
  • captions: source-timed transcript programs attached to a clip or audio track. They are separate from title overlays. Use actual transcript timing; do not estimate cue times from the words.
  • mastering and mixer: sound processing for the finished sequence. pictureMastering is the whole-picture treatment. These are separate settings.

Omission and clear behavior

For Joe and CLI setVideoSequence patches, tracks, fitTrack, and fit are replaced by the values sent, so include every visible track you intend to keep. Omitted clips are retained; clips:[] clears them. Omitted markers and titles are retained; their [] forms clear them. Omitted non-core sections such as frame, lane descriptors, mixer/mastering, picture mastering, and bounded extension fields are carried forward. A field omitted inside a section you do send uses its normalized default, so read and preserve the complete existing records before changing them. Use clips:[], markers:[], or titles:[] only when you mean to clear those lists. Use mastering:null to disable sound mastering and mixer:null to remove the mixer. sequence:null clears the visible sequence. FlowJoe retains hidden placements and audio tracks that the agent cannot see. An omitted field in a snapshot can reflect a default and is not proof that its entire section should be replaced.

Duplicate a timeline placement

For an agent-proposed duplicate, start from a fresh videoSequence snapshot and keep the source nodeId, slotEntryId, and pinned entryId exactly. Give the new placement a fresh id and deep-copy its placement-specific settings so later edits stay independent. Limit manual placement math to a simple single-lane Cut sequence with no active joins: place the copy after the source, set joinCut:true on the new placement, shift only later placements on that lane by the measured duration, and retain markers, titles, and unrelated placements. Use the editor’s existing Duplicate command for overlapping or joined layouts rather than guessing their geometry. Submit the setVideoSequence change through normal validation and approval. After an approved setVideoSequence patch, the matching open timeline refreshes from the committed sequence. undo_last_change uses Flow Undo to restore the prior sequence and refresh that timeline; it is separate from control_video_editor session Undo/Redo. An agent’s requested pause or selection is a separate intentional session operation.

Export a section of the timeline

An export is a separate approved action. It can set settings.range:{from,to} in sequence seconds to render a portion of the timeline. Keep the start and end inside the current timeline, and check the applied job result with the available export-status action before reporting a finished file. By default an export produces a new gallery slot without replacing the source timeline. With settings.addSlot:false, it can save a copy without adding that slot; set saveCopy:true when a saved copy is required.

Carry a hand edit into an agent proposal

Use the same edit intent and time basis as the editor, then write through the available FlowJoe action. A current CLI client can inspect the live patch catalog with flowjoe-cli action describe_patch_protocol --json, read the node with get_flow_snapshot, validate a patch, and submit it through propose_flow_patch. The command-line interface does not make an unvalidated JSON export into a saved edit. To make captions from fresh recognition, call transcribe_audio on the video entry with timings:true. FlowJoe runs the local timestamp recognizer against that existing video without detaching sound, changing its mute state, or adding a track. Video timing is local-only: an explicit online request or a saved online preference is refused before video bytes are read or uploaded. The result returns source-clock cues and retains the full cue set in Recent transcripts. To reuse a saved transcript, query transcript history and read it with includeTiming:true; cue pages default to 64 and allow up to 128 cues. Continue with the returned cursor and unchanged record revision. Timing edits invalidate cue cursors even when the words remain the same. For subtitle conversion, convert_video_captions can parse supplied SRT/WebVTT text into cues, project an existing caption program onto the selected placement’s timeline clock, or serialize cues to SRT/WebVTT (optionally within a range). It is a pure helper: it does not fetch files or save captions. Save a parsed program through the checked clip/sequence patch. To make a subtitle document, stage the returned text, MIME type and extension through the ordinary document placement flow.

Make a take or detach its sound

generateVideoTake asks the configured video service to make a new slot or stack take after approval. Required inputs are nodeId, prompt, and the current model ID. Optional inputs include startEntryId/endEntryId for picture references, goesInto:"after"|"take", destination entry IDs, duration, resolution, and aspect ratio. Check the completed generatedVideo job result before saying the take exists; a chat-only video-generation action is separate from this saved-flow operation. detachClipAudio extracts the selected video take’s sound into a new audio slot and track. It names both the destination sequence (nodeId) and the source (sourceNodeId, slotEntryId, sourceEntryId); repeated placements need placementId to identify the intended one. The original video’s sound is muted after the track is added so it is not doubled. Follow the detachedAudio job to completion before describing the new track as saved. The editor’s frame controls, keyframe diamonds and title lane tools are described in editing clips, sequencing and stitching, and captions. A tool’s live schema and the current editor state determine what a connected agent can read or change in that session.

Worked flow: propose, approve, export

Suppose the request is “rename the opening title to ‘A quieter morning’, then export seconds 0 through 18.” The agent first reads the node and saves its existing videoSequence. It keeps the existing title list and changes only the matching title’s text. It sends the visible tracks, fitTrack, and fit unchanged, plus the complete updated titles list; it omits unchanged placement and extension sections. The agent validates before proposing:
This shortened example’s empty track list is safe only for a node with no visible tracks; otherwise copy the full track list from the snapshot and include existing fitTrack and fit. After validation succeeds, submit the same operations without validateOnly and wait for FlowJoe’s approval/apply result. The agent then submits a separate export operation:
Export is a separate operation so the sequence edit is saved first. Once approved, follow the returned job with video_export_status; report an exported file only when the job result says it completed and identifies the new gallery slot. For the exact patch schema and checked runtime actions, use the connected agent’s live describe_patch_protocol and videoSequence snapshot. See editing clips, captions, audio tracks, and exporting for the matching hands-on controls.

Build and export from a source file over MCP

In a direct Agent Bridge connection, use the same MCP session for the whole workflow. To stream a video from your client, call begin_media_upload, send its bytes in order with append_media_upload_chunk, then call finish_media_upload. Pass the returned attachment ID to stage_media with kind: "video" and the exact destination node ID. Use propose_flow_patch with addImageSlots to place the staged entry. If FlowJoe shows an approval, the owner can review it while the client checks get_approval_outcome with the returned approval ID. Use the saved entry ID in a separate setVideoSequence proposal, then submit exportVideoSequence after the sequence is saved. Follow the returned job with video_export_status. The completed result identifies the exported gallery slot, which a client can read with read_media_blob if the file fits its size limit.

Choose an export size or aspect

For a one-off file, give exportVideoSequence the requested settings.size and/or settings.shape. These choices apply to that render without changing the saved canvas. Omitting them keeps the project frame; an aspect-only choice keeps its short-side resolution. Changing size or aspect with control_video_export follows the Export window’s controls and saves the sequence canvas. Its settings are a patch: send only the choices the person requested. Invalid patches are rejected before the frame writer runs. exportVideoSequence.settings.shape accepts wide, tall, square, and portrait (plus match when no saved frame fixes the output). crossfade accepts 0.1 seconds up to FlowJoe’s shared duration ceiling; the timeline bounds the actual overlap to the lengths of the neighboring clips, as it does for the visible Export window. For rack factories, call read_video_presets({unit,includeFactory:true}) before patching. Each row names applyTo, its normalized settings, and any preserveFields. Apply only the requested fields through the checked patch. Mixer factory rows preserve clips.out; include the current output route from the snapshot instead of replacing it with a factory default.