generating-videos
yikart/AiToEarn · Agent Skill
Generates videos from text or images using Grok, supporting various resolutions and aspect ratios.
Jump to install ↓Overview
| Publisher | |
|---|---|
| Repository | yikart/AiToEarn ↗ |
| Skill folder | generating-videos |
| Stars | 25,856 |
| Bundled files | 1 |
| License | MIT |
| Last updated | June 22, 2026 |
| Links | Skill source ↗ · Repository ↗ |
Mozgi check
What we found in the skill files. Details come with a subscription.
Installation
A skill is a folder with a SKILL.md file. Pick your agent and run the commands in a terminal (macOS, Linux or Git Bash on Windows) from your project root.
Copy the prompt into Claude, Codex or another assistant: it will review the skill and install it for you.
Install the “generating-videos” skill from mozgi.io (https://mozgi.io/skills/generating-videos/) for me. 1. Download the archive: https://mozgi.io/skills/generating-videos/download If it fails, take the skill folder from the source: https://github.com/yikart/AiToEarn/tree/main/project/aitoearn-backend/apps/aitoearn-ai/src/core/agent/skills/generating-videos 2. Read SKILL.md and the other files. Check the skill is safe: no hidden commands, no sending data elsewhere, no scripts doing something other than described. If anything looks suspicious, stop and tell me. 3. Put the “generating-videos” folder into your agent's skills folder: .claude/skills/ for Claude Code, .agents/skills/ for Codex, .cursor/skills/ for Cursor, .gemini/skills/ for Gemini CLI. Inside the project if we are in one, otherwise in the home folder (~/.claude/skills/ etc.). 4. Make sure <skills folder>/generating-videos/SKILL.md exists. 5. Briefly tell me what this skill does and offer to try it on my task. If you cannot do a step yourself, tell me what to click or type.
git clone --depth 1 --branch main https://github.com/yikart/AiToEarn.git /tmp/AiToEarn mkdir -p .claude/skills cp -r /tmp/AiToEarn/project/aitoearn-backend/apps/aitoearn-ai/src/core/agent/skills/generating-videos .claude/skills/generating-videos
Restart Claude Code — the skill appears in the list; call it manually with /generating-videos. For all projects use ~/.claude/skills.
git clone --depth 1 --branch main https://github.com/yikart/AiToEarn.git /tmp/AiToEarn mkdir -p .agents/skills cp -r /tmp/AiToEarn/project/aitoearn-backend/apps/aitoearn-ai/src/core/agent/skills/generating-videos .agents/skills/generating-videos
Codex looks for skills in .agents/skills from the current folder up to the repo root; call one with /skills or $generating-videos. For all projects use ~/.agents/skills.
git clone --depth 1 --branch main https://github.com/yikart/AiToEarn.git /tmp/AiToEarn mkdir -p .cursor/skills cp -r /tmp/AiToEarn/project/aitoearn-backend/apps/aitoearn-ai/src/core/agent/skills/generating-videos .cursor/skills/generating-videos
Cursor picks the skill up on start; call it with “/” in Agent chat. Cursor also reads .claude/skills and .agents/skills. For all projects use ~/.cursor/skills.
git clone --depth 1 --branch main https://github.com/yikart/AiToEarn.git /tmp/AiToEarn mkdir -p .gemini/skills cp -r /tmp/AiToEarn/project/aitoearn-backend/apps/aitoearn-ai/src/core/agent/skills/generating-videos .gemini/skills/generating-videos
Gemini CLI offers to activate the skill when a task matches — you approve it. For all projects use ~/.gemini/skills.
Read SKILL.md and any companion files before deciding whether to install. Click a file to preview it.
SKILL.md contents
Original author text · read-onlyVideo 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
1. Call generateVideoWithGrok with prompt and optional parameters.
2. Poll getGrokVideoStatus every 30 seconds.
3. Maximum wait: 5 minutes.
4. 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:
1. Split the video into independent 15-second-or-shorter segments.
2. Generate each segment with generateVideoWithGrok.
3. Poll every task until complete.
4. Load editing-videos.
5. 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.
Frequently asked questions
What does the generating-videos skill do?
Generates videos from text or images using Grok, supporting various resolutions and aspect ratios.
How do I install generating-videos?
Open the “Installation” block on this page and pick your agent — Claude Code, Codex, Cursor or Gemini CLI — for ready-made commands that copy the skill folder to the right place. Or copy the prompt from the “Via assistant” tab and let the assistant review and install the skill.
Which AI models work with generating-videos?
Skills are plain Markdown instructions (the Agent Skills format), so generating-videos works with any agent that reads SKILL.md: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and more. The model loads the instructions only when a task matches the skill's description.
Is generating-videos free?
The skill is published openly by yikart under the MIT license. The skill itself costs nothing — you only pay your AI provider for the tokens you use.
Is it safe to install skills?
A skill is a set of instructions your agent will follow, so read SKILL.md and its companion files before installing. Scripts in the skill folder only run if your agent runs them — keep an eye on what it does and do not grant unnecessary permissions.
How is a skill different from an MCP server or a plugin?
An MCP server or plugin gives the model new tools — code that runs and returns a result. A skill gives it knowledge and process: how to approach a task, which steps to follow and what good output looks like. It needs no server or API key.