yikart/aitoearn/generating-videos
Claude Code and agent skill by yikart/aitoearn
- community
Checking that the SKILL.md file is still in the repository.
Generates videos using Grok. Supports text-to-video and image-to-video. AI视频生成、文生视频、图生视频。
Install
npx vskill@latest install yikart/aitoearn/generating-videosSKILL.md
The same SKILL.md was published earlier as yikart/aitoearn/generating-videos.
Video Generation
Generates videos using Grok.
Model Selection Strategy
Use grok-imagine-video for video generation.
| Scenario | Use Model | Reason | |
|---|---|---|---|
| Video 1-15s | grok-imagine-video | Grok supports direct 1-15s generation | |
| Text-to-video | grok-imagine-video | Prompt-only generation | |
| Image-to-video | grok-imagine-video | Uses one reference image | |
| Video >15s | Generate multiple clips, then load editing-videos to concatenate | Grok max duration is 15s |
Language Rule
Video prompts MUST follow the user's language. If the user writes in Chinese, generate Chinese prompts; if in English, generate English prompts. If the user explicitly requests a specific language, use that language.
Grok Video Model
| Model | Speed | Quality | Max Duration | Use Case | |
|---|---|---|---|---|---|
grok-imagine-video | Fast | Good | 15s | Default video generation |
Parameters
| Parameter | Values | Default | Description | |
|---|---|---|---|---|
duration | 1-15 | model default | Video duration in seconds | |
resolution | 480p, 720p | 720p | Video resolution | |
aspectRatio | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3 | 9:16 | Video aspect ratio | |
imageUrl | URL | none | Reference image URL for image-to-video |
Workflow
- Call
generateVideoWithGrokwith prompt and optional parameters. - Poll
getGrokVideoStatusevery 30 seconds. - Maximum wait: 5 minutes.
- Save completed output to draft unless the user explicitly asks for media library only.
Prompt Structure
[Subject & Background] + [Action] + [Style] + [Camera] + [Atmosphere] + [Audio]
Subject & Background
Specify the main focus and environmental context.
Examples:
- "A young woman with long black hair wearing a red dress"
- "White concrete apartment building with organic shapes and lush greenery"
Action
Describe what the subject is doing.
Examples:
- "walks slowly towards the camera"
- "transforms from liquid to solid"
Style
Add aesthetic direction.
Examples:
- Film noir
- Surrealism
- Cyberpunk
- 3D cartoon animation
- Cinematic documentary
Camera
Describe movement and framing.
Examples:
- "slow dolly-in"
- "handheld tracking shot"
- "close-up with shallow depth of field"
Atmosphere
Describe lighting, color, mood, and setting.
Examples:
- "warm sunset lighting"
- "misty morning atmosphere"
- "high contrast studio lighting"
Audio
Include useful audio cues when relevant.
Examples:
- "soft ambient city sounds"
- "gentle piano music"
- "footsteps on wet pavement"
Aspect Ratio Guidance
| Platform / Use | Aspect Ratio | |
|---|---|---|
| TikTok, Reels, Shorts, mobile social video | 9:16 | |
| YouTube landscape, website hero, presentation | 16:9 | |
| Profile or square feed asset | 1:1 | |
| Portrait-style content | 3:4 or 2:3 | |
| Landscape social feed | 4:3 or 3:2 |
Long Video Strategy
For videos longer than 15 seconds:
- Split the video into independent 15-second-or-shorter segments.
- Generate each segment with
generateVideoWithGrok. - Poll every task until complete.
- Load
editing-videos. - Use the video editing tool to concatenate the completed segments.
Keep prompts visually consistent across segments by repeating subject, style, lighting, camera language, and environment details.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingproject/aitoearn-backend/apps/aitoearn-ai/src/core/agent/skills/generating-videos/SKILL.md
Popularity
- Repository stars
- 25,976
- Repository forks
- 4,184
- 7-day trend score
- 51
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Sep 2026, 2 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yikart/aitoearn/generating-videos)