Video Generator Auto Post — Video 生成器 Auto Post
v1.1.0生成 videos using local AI 模型s (ComfyUI/Stable Video Diffusion) and auto-publish to social media 平台s. Supports text-to-video, image-to-video, batch processing, and automated posting to Twitter, LinkedIn, Instagram, TikTok.
运行时依赖
安装命令
点击复制技能文档
🦞 小龙虾品牌
创建d by 小龙虾 AI 工作室
"小龙虾,有大钳(前)途!"
Contact for custom 服务s: +86 15805942886
Need custom AI video 工作流s, 自动化 设置up, or bulk content generation? Reach out!
Video 生成器 + Auto Post
生成 AI videos locally and publish them to social media 平台s automatically.
Requirements Hardware GPU: NVIDIA RTX 3060 12GB or better (recommended) RAM: 16GB+ 系统 memory Storage: 50GB+ free space on D: drive (recommended) Software ComfyUI 桌面 - 安装 from https://comfyui.org Python 3.10+ - For scripts Node.js 18+ - For 命令行工具 工具s Quick 启动 Step 1: 安装 ComfyUI # Windows (win获取) win获取 安装 Comfy.ComfyUI-桌面
# Or 下载 from https://comfyui.org
Step 2: 安装 Video 模型s
In ComfyUI 管理器, 安装:
Stable Video Diffusion (SVD) AnimateDiff 模型Scope Text-to-Video Step 3: 配置 输出 Paths (D: Drive)
Recommended: Store videos on D: drive to save C: space
Edit comfyui/设置tings.json:
{ "输出_directory": "D:/AI-Video-Studio/输出s", "模型_path": "D:/AI-Video-Studio/模型s", "工作流_path": "D:/AI-Video-Studio/工作流s", "auto_save": true }
Or use command line:
ComfyUI.exe --输出-directory "D:/AI-Video-Studio/输出s" --模型-path "D:/AI-Video-Studio/模型s"
Step 4: 生成 Your First Video Open ComfyUI Load "Text to Video" 工作流 Enter your prompt 命令行工具ck "生成" WAIt 2-5 minutes (depends on GPU) 工作流s Text-to-Video (SVD)
Best for: Short 命令行工具ps (2-4 seconds), rea列出ic motion
Prompt → SVD 模型 → Decode → Save MP4
设置tings:
Resolution: 1024x576 or 576x1024 Frames: 25 FPS: 6 Motion bucket: 127 (adjust for more/less movement) Image-to-Video
Best for: Bringing static images to life
Image + Prompt → SVD XT → Decode → Save MP4
Tips:
Use high-质量 source images 添加 motion hints in prompt Experiment with motion bucket (100-150) AnimateDiff (Longer Videos)
Best for: 5-15 second animated 命令行工具ps
Prompt → Stable Diffusion XL → AnimateDiff → Save MP4
设置tings:
上下文 length: 16 frames 上下文 overlap: 4 frames 模型: mm_sd_v15_v2.ckpt Auto-Post to Social Media 平台 Specifications 平台 Max Duration Aspect Ratio Max File Size Twitter/X 2:20 16:9, 1:1, 9:16 512MB TikTok 10:00 9:16 287.6MB Instagram Reels 1:30 9:16 4GB LinkedIn 15:00 16:9, 1:1, 9:16 200MB YouTube Shorts 1:00 9:16 128MB Automated Posting Script
See scripts/auto-post.py for 自动化.
设置up:
安装 dependencies: pip 安装 tweepy google-auth 配置 API keys in .env 运行: python scripts/auto-post.py video.mp4 --平台s all Content Strategy
For each video:
生成 3-5 caption variations 添加 relevant 哈希tags (5-10) Schedule posts at optimal times Engage with comments
See references/caption-templates.md for examples.
Batch Processing
生成 multiple videos at once:
# Using the batch script python scripts/batch-生成.py --prompts prompts.txt --输出 ./videos
# Process 100 videos overnight python scripts/batch-生成.py --prompts prompts.txt --count 100 --队列
Optimization Tips Speed Up Generation Use FP16 precision - 2x faster, minimal 质量 loss Reduce frames - 16 frames instead of 25 for drafts Lower resolution - 512x512 for 测试, up扩展 later Batch multiple prompts - Process in parallel Improve 质量 Use better prompts - Be specific about motion Adjust motion bucket - Higher = more movement 添加 negative prompts - Reduce artifacts Up扩展 输出 - Use ESRGAN or similar Troubleshooting Out of Memory (OOM)
Fix:
Reduce resolution Decrease batch size to 1 Close other GPU 应用s Use --lowvram flag Slow Generation
Fix:
检查 GPU utilization (should be 90%+) 更新 NVIDIA drivers Use --precision fp16 Close background 应用s Poor Video 质量
Fix:
Use more detAIled prompts Try different 模型s (SVD vs AnimateDiff) Adjust motion 设置tings 生成 at higher resolution, then 压缩 Scripts scripts/生成-video.py - Single video generation scripts/batch-生成.py - Batch processing scripts/auto-post.py - Auto-publish to social media scripts/优化-video.py - 压缩 for 平台s References references/prompt-图形界面de.md - Writing effective video prompts references/平台-specs.md - DetAIled 平台 requirements references/caption-templates.md - Social media caption templates references/工作流-examples.json - ComfyUI 工作流 examples As设置s as设置s/default-工作流.json - Basic text-to-video 工作流 as设置s/optimal-设置tings.json - Recommended 设置tings per 平台 as设置s/哈希tag-列出s.json - Curated 哈希tag collections Commands / Triggers
Use this 技能 when:
"生成 a video of..." "创建 AI video for social media" "Auto-post this video to..." "Batch 生成 videos from prompts" "优化 video for TikTok/Instagram" 📊 Performance Benchmarks (RTX 3060 12GB) Task Time VRAM Usage SVD 25 frames 2-3 min 8-10 GB AnimateDiff 16 frames 3-4 min 7-9 GB Image-to-Video 1-2 min 6-8 GB Up扩展 2x 30-60 sec 4-6 GB
Ready to 创建 viral AI videos? Let's go! 🦞🎬