Install
openclaw skills install video-generator-auto-postGenerate videos using local AI models (ComfyUI/Stable Video Diffusion) and auto-publish to social media platforms. Supports text-to-video, image-to-video, ba...
openclaw skills install video-generator-auto-postCreated by 小龙虾 AI 工作室
"小龙虾,有大钳(前)途!"
Contact for custom services: +86 15805942886
Need custom AI video workflows, automation setup, or bulk content generation? Reach out!
Generate AI videos locally and publish them to social media platforms automatically.
# Windows (winget)
winget install Comfy.ComfyUI-Desktop
# Or download from https://comfyui.org
In ComfyUI Manager, install:
Recommended: Store videos on D: drive to save C: space
Edit comfyui/settings.json:
{
"output_directory": "D:/AI-Video-Studio/outputs",
"model_path": "D:/AI-Video-Studio/models",
"workflow_path": "D:/AI-Video-Studio/workflows",
"auto_save": true
}
Or use command line:
ComfyUI.exe --output-directory "D:/AI-Video-Studio/outputs" --model-path "D:/AI-Video-Studio/models"
Best for: Short clips (2-4 seconds), realistic motion
Prompt → SVD Model → Decode → Save MP4
Settings:
Best for: Bringing static images to life
Image + Prompt → SVD XT → Decode → Save MP4
Tips:
Best for: 5-15 second animated clips
Prompt → Stable Diffusion XL → AnimateDiff → Save MP4
Settings:
| Platform | 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 |
| 15:00 | 16:9, 1:1, 9:16 | 200MB | |
| YouTube Shorts | 1:00 | 9:16 | 128MB |
See scripts/auto-post.py for automation.
Setup:
pip install tweepy google-auth.envpython scripts/auto-post.py video.mp4 --platforms allFor each video:
See references/caption-templates.md for examples.
Generate multiple videos at once:
# Using the batch script
python scripts/batch-generate.py --prompts prompts.txt --output ./videos
# Process 100 videos overnight
python scripts/batch-generate.py --prompts prompts.txt --count 100 --queue
Fix:
--lowvram flagFix:
--precision fp16Fix:
scripts/generate-video.py - Single video generationscripts/batch-generate.py - Batch processingscripts/auto-post.py - Auto-publish to social mediascripts/optimize-video.py - Compress for platformsreferences/prompt-guide.md - Writing effective video promptsreferences/platform-specs.md - Detailed platform requirementsreferences/caption-templates.md - Social media caption templatesreferences/workflow-examples.json - ComfyUI workflow examplesassets/default-workflow.json - Basic text-to-video workflowassets/optimal-settings.json - Recommended settings per platformassets/hashtag-lists.json - Curated hashtag collectionsUse this skill when:
| 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 |
| Upscale 2x | 30-60 sec | 4-6 GB |
Ready to create viral AI videos? Let's go! 🦞🎬