Repository navigation
feat(vn): let a finished project hand its media to VN for fine-grained editing - #160
Open
jiabinchen wants to merge 1 commit into
Open
jiabinchen wants to merge 1 commit into
jiabinchen wants to merge 1 commit into
Conversation
jiabinchen
force-pushed
the
feat/vn-editing
branch
from
September 23, 2026 01:33
e3ea37e to
bad2b5f
Compare
jiabinchen
marked this pull request as ready for review
September 23, 2026 01:54
Author
|
Hi @jeffliangf @Ruijian-Zha-Utopai, I've just opened this PR to bridge the gap between PAI-Pro and VN Editor. Why this matters: A significant number of VN users in our community have expressed a strong desire to combine PAI-Pro's powerful generative capabilities with VN's fine-grained timeline editing. This integration delivers exactly that—enabling a seamless "Generate in PAI-Pro, Finish in VN" workflow entirely locally. We would love to know your thoughts on this integration. Also, please let us know:
Looking forward to your feedback! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PAI-Pro generates the raw material for a film — script, characters, locations, voices, storyboards, clips — and then stops at the canvas. This PR adds the missing last mile: an editing handoff to VN, so the generated media can be imported into a VN draft and finished with real editing tools.
The intent of the integration is simple: generate in PAI-Pro, then import into VN for fine-grained editing. It runs fully local — no CawCut account, no upload.
About VN
VN (download) is a cross-platform video editor for macOS, Windows, iOS, and Android. Its editor covers the work a generation canvas does not:
CawCut publishes the
cawcutCLI that writes VN's draft format directly. This PR vendors CawCut'scawcut-vnagent skill and wires it into PAI-Pro, so the agent can build a validated VN draft from a project's landed media and hand it to the app for that deeper edit.What's included
skills/cawcut-vn/(SKILL.md+references/), taken fromcawcut/skillv0.6.0. Registered in.claude-plugin/marketplace.jsonand thePROJECT_AGENT.mdskills-routing table, so both Claude Code and Codex projects get it.story-to-video-workflownow closes a completed run with one choice: open the cut in VN, or inspect the Timeline first. Generation stays single-entry — VN hands media requests back throughstory-to-video-workflow, never straight to a capability skill.cawcut vn status. "Open in VN" is offered only when VN is installed and meets the minimum version. On an unsupported platform (Linux — i.e. the Docker container) the agent says so and gives the host handoff instead of promising an open that cannot happen.cawcutCLI (npm install -g @ubnt/cawcut --ignore-scripts, so its postinstall can't shadow the bundled skill) andzip, so the container can build and pack a draft. It cannot open VN.docker cphandoff), linked from README,docs/skills.md,docs/setup.md, and the FAQ.pai-pro-specific adaptations to the vendored skill
The skill is CawCut's; four small edits make it fit here (called out in a
pai-pro adaptationsection inside the SKILL.md, so a future re-sync from upstream is aware of them):story-to-video-workflowinstead of the CawCut marketplace skills.--dir), not the CLI's~/Downloadsdefault.cawcut vn status/ platform support (see phase 9).AskUserQuestion→ Codexrequest_user_input), noted inPROJECT_AGENT.md.Verification
docker build --check .— no warnings.serversuite: 366 passing, 1 failing — the failure (require_background_hook.test.js) is pre-existing onmain(reproduced there) and is a NodeMODULE_TYPELESS_PACKAGE_JSONwarning from the workspace root, unrelated to this change.Notes for reviewers
docs/vn-editing.md(docker cpthe.vnout, open it where VN is installed).