
Video Outpainting
Spatially widen or reframe video (e.g. 9:16 to 16:9) while keeping central action consistent.
Install
npx skills add https://github.com/agentspace-so/runcomfy-agent-skills --skill video-outpaintingWhat is this skill?
- Prompt-shaped spatial extension via Wan 2-7 edit-video
- Aspect ratio transforms such as vertical to horizontal delivery
- ComfyUI outpaint path when seam quality matters for hero cuts
Adoption & trust: 150k installs on skills.sh; 15 GitHub stars; 2/3 security scanners passed (skills.sh audits).
Recommended Skills
Video Editagentspace-so/runcomfy-agent-skills
Image To Videoagentspace-so/runcomfy-agent-skills
Image Editagentspace-so/runcomfy-agent-skills
Flux Kontextagentspace-so/runcomfy-agent-skills
Nano Banana 2agentspace-so/runcomfy-agent-skills
Nano Banana Editagentspace-so/runcomfy-agent-skills
Journey fit
Primary fit
Supports creating reframed hero and platform-specific video assets inside agent workflows before ship or distribution. CLI skill combining Wan 2-7 edit-video routing with ComfyUI outpaint workflows for agent-invoked spatial video extension.
Common Questions / FAQ
Is Video Outpainting safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Video Outpainting
# Video Outpainting Extend a video's spatial canvas — uncrop vertically or horizontally, change aspect ratio while preserving the central action. This skill routes spatial extension through Wan 2-7 edit-video for prompt-shaped canvas changes, and points the agent at dedicated ComfyUI outpaint workflows when hero-grade seam quality matters. [runcomfy.com](https://www.runcomfy.com/?utm_source=skills.sh&utm_medium=skill&utm_campaign=video-outpainting) · [Wan 2-7 edit-video](https://www.runcomfy.com/models/wan-ai/wan-2-7/edit?utm_source=skills.sh&utm_medium=skill&utm_campaign=video-outpainting) · [CLI docs](https://docs.runcomfy.com/cli/introduction?utm_source=skills.sh&utm_medium=skill&utm_campaign=video-outpainting) ## Powered by the RunComfy CLI ```bash # 1. Install (see runcomfy-cli skill for details) npm i -g @runcomfy/cli # or: npx -y @runcomfy/cli --version # 2. Sign in runcomfy login # or in CI: export RUNCOMFY_TOKEN=<token> # 3. Spatially extend a video (closest CLI-reachable approach) runcomfy run wan-ai/wan-2-7/edit-video \ --input '{"video_url": "...", "prompt": "...extend canvas..."}' \ --output-dir ./out ``` CLI deep dive: [`runcomfy-cli`](https://www.skills.sh/agentspace-so/runcomfy-agent-skills/runcomfy-cli) skill. --- ## Pick the right model **Wan 2-7 Edit-Video** — `wan-ai/wan-2-7/edit-video` *(default)* > Prompt-driven video edit; accepts spatial extension language ("extend the canvas to 16:9 by adding matching environment on the left and right"). Wide enough quality for social and most internal uses. > Pick for: aspect-ratio swap (vertical ↔ horizontal), social-cuts, uncrop where seam quality is acceptable. > Avoid for: hero ad delivery with strict seam-quality requirements — use a ComfyUI outpainting workflow. For broader video edit see [`video-edit`](https://www.skills.sh/agentspace-so/runcomfy-agent-skills/video-edit). --- ## Route 1: Wan 2-7 Edit-Video — closest CLI path **Model**: `wan-ai/wan-2-7/edit-video` **Catalog**: [Wan 2-7 edit-video](https://www.runcomfy.com/models/wan-ai/wan-2-7/edit?utm_source=skills.sh&utm_medium=skill&utm_campaign=video-outpainting) ### Invoke **Aspect-ratio swap (9:16 vertical → 16:9 horizontal):** ```bash runcomfy run wan-ai/wan-2-7/edit-video \ --input '{ "video_url": "https://your-cdn.example/vertical-clip.mp4", "prompt": "Extend the canvas to 16:9 horizontal by adding matching environment on the left and right sides. Continue the existing background style, lighting, and camera distance throughout the clip. Preserve the original action and subject framing in the center." }' \ --output-dir ./out ``` ### Prompting tips - **Lead with the canvas change**: `"Extend the canvas to 16:9"`, `"Extend downward to show more ground"`, `"Add environment on the left and right by ~30% each"`. - **Describe what extends**: same background style, same lighting, same depth of field, same camera distance. - **End with preservation**: `"Preserve the original action and subject framing in the center"` — without this Wan may restyle the central content. - **Expect quality varianc