Loading...
Loading...
Clone or update https://github.com/sxhzju/wechat-2d and render the default WeChat-style 2D chat motion video with Remotion. Use when users ask for 微信聊天动画, wechat 2d chat render, 微信视频消息动效, or exporting the default demo from the wechat-2d project.
npx skill4agent add vibe-motion/skills wechat-2d-renderscripts/render_wechat_2d.shworkspace_diroutput_pathout/wechat-2d-transparent.movshared/project/render-presets/default.jsonbash scripts/render_wechat_2d.sh [workspace_dir] [output_path] [props_file]skill_dir=""
for base in "${AGENTS_HOME:-$HOME/.agents}" "${CLAUDE_HOME:-$HOME/.claude}" "${CODEX_HOME:-$HOME/.codex}"; do
if [ -d "$base/skills/wechat-2d-render" ]; then
skill_dir="$base/skills/wechat-2d-render"
break
fi
done
[ -n "$skill_dir" ] || { echo "wechat-2d-render skill not found under ~/.agents, ~/.claude, or ~/.codex"; exit 1; }
bash "$skill_dir/scripts/render_wechat_2d.sh" "$(pwd)" "$(pwd)/out/wechat-2d-transparent.mov"workspace_dir/wechat-2dorigin/HEADpnpm installpnpmcorepackpnpm run remotion:ensure-browserREMOTION_OUTPUT=... REMOTION_PROPS_FILE=... pnpm run remotion:rendershared/project/projectConfig.jswechat-chat-motionScaffoldDemo30fpsyuva444p10lepreview/*remotion/*shared/scaffold/*shared/project/*shared/features/demoMotion/*{frame, fps, loop, sceneContext, pluginParams}buildScenePropsvideoWidthvideoHeightgitnodecorepackpnpm