MCP: Keyframes (#196) #210
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
needs-info
needs-triage
question
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crowmaki/ai-studio!210
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-196-mcp-keyframes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #196. Part of #157.
A harness can now pin a Shot's look with Keyframes through the MCP server. Each tool wraps the existing
ApiImplkeyframe command, so edits land in the undo log with their usual labels.Tools
read_shot_keyframes: a Shot's Keyframes in time order, with anchor, origin, provenance (prompt and seed, Edit, or Take frame) andoffRatio, plus the jobs still making a Keyframe or failed at it.generate_keyframe: queues a Keyframe at an anchor from a prompt. Returns thejobIdandread_shot_keyframes.edit_keyframe: queues an Edit from an instruction, ordered references and an optional seed.import_keyframe: imports an image file, such as a Blender still. Undo label "Add keyframe".keyframe_from_take: the first or last frame of a ready Rendition becomes another Shot's Keyframe. Undo label "Use take frame as keyframe".remove_keyframe: removes the Keyframe at a Shot's anchor. Undo label "Remove keyframe".view_imageaccepts{kind: "keyframe", id}.Anchors use the shape
read_shot_keyframesshows:{kind: "start"},{kind: "end"}or{kind: "at", ms}. An unknown kind,atwithoutms, orstart/endwithmsis refused with the valid anchors listed.Tests
src-tauri/tests/mcp_keyframes.rscovers each acceptance criterion:wait_for_jobs→view_image, then EditThe
pngandshown_imagehelpers moved intotests/common/mcp.rs, so the references and keyframes tests share them.