leoyeai/openclaw-master-skills/medeo-video
Claude Code and agent skill by leoyeai/openclaw-master-skills
- community
Checking that the SKILL.md file is still in the repository.
AI-powered video generation skill. Use when the user wants to generate videos from text descriptions, browse video recipes, upload assets, or manage video creation workflows.
Install
npx vskill@latest install leoyeai/openclaw-master-skills/medeo-videoSKILL.md
The same SKILL.md was published earlier as leoyeai/openclaw-master-skills/medeo-video.
Medeo Video Generator Skill
Generate AI videos from text. Medeo is an AI video agent that handles full storylines, multi-scene narratives, and screenplays in a single call — shot composition, transitions, pacing, and music are all automatic.
⚠️ Do NOT split stories into multiple calls. Pass the entire screenplay in one--message.
0. Pre-Flight Check (MANDATORY — run before anything else)
Before running any command, check if API key is configured:
- Output
ok→ proceed normally - Output
missing(or command fails) → stop immediately, do NOT run any other commands. Send the setup message using the channel-appropriate method:
Feishu — use Feishu API directly (NOT message tool — it won't render cards):
Telegram / Discord / Other channels — send plain text via message tool (these channels support markdown natively):
Once they provide the key: python3 {baseDir}/scripts/medeo_video.py config-init --api-key "mk_..."
1. First-Time Setup
If no API Key is configured, the script outputs "setup_required": true.
- Send the user this exact link: https://medeo.app/dev/apikey (this page auto-prompts registration if not logged in, then shows the API key)
- Once they provide the key:
python3 {baseDir}/scripts/medeo_video.py config-init --api-key "mk_..."
2. Generate a Video (5-30 min, always async)
Users only need to know 3 ways to generate a video:
- Send text → generate video
- Send text + upload image → generate video using their image
- Send text + image URL → generate video using the URL image
The agent handles everything else silently.
IMPORTANT: Before spawning the generation task, immediately reply to the user with an acknowledgment like:"🎬 Starting video generation — I'll send you the result in about 5–10 minutes."Do NOT wait in silence. The user should know their request was received.
Usage 1: Text only
Usage 2: Text + uploaded image (user sends image in chat)
Usage 3: Text + image URL
Agent auto-behavior: When the user provides images (Usage 2 or 3), always pass--asset-sources my_uploaded_assetsso Medeo uses their images instead of generating new ones. The user does not need to know this flag exists.
Internal Parameters (agent use only — never expose to users)
These are handled automatically by the agent. Do NOT mention them to users or ask users to provide them.
| Flag | When to use | Default behavior | |
|---|---|---|---|
--voice-id "voice_01..." | When a specific voice is needed | Medeo picks automatically | |
--video-style-id "style_01..." | When a specific visual style is needed | Medeo picks automatically | |
--asset-sources | When user provides images: pass my_uploaded_assets | Medeo decides | |
--recipe-id "recipe_01..." | When using a template | None | |
--aspect-ratio "9:16" | When user specifies portrait/landscape | 16:9 | |
--duration-ms 30000 | When user specifies duration | Medeo decides | |
--no-render | Debug only — skip rendering | Always render |
Delivery Target (--deliver-to)
This is critical — determines where the generated video gets sent.
| Context | --deliver-to value | Example | |
|---|---|---|---|
| Feishu group chat | The group's chat_id (starts with oc_). Extract from inbound metadata conversation_label or chat_id — strip the `chat:` prefix if present (e.g. chat:oc_xxx → oc_xxx) | oc_158fd3e54407cbe170697c6c954bd4f2 | |
| Feishu private chat | The user's open_id (starts with ou_). Extract from inbound metadata sender_id — strip the `user:` prefix if present | ou_f7f458f4d7b4ff49ec1b8de22a1e3206 | |
| Telegram | The chat_id from the inbound message context | -1001234567890 | |
| Discord | The channel_id from the inbound message context | 1234567890123456 |
How to determine group vs private on Feishu:
- Check
is_group_chatin the inbound metadata - If
true→ useconversation_label/chat_id(theoc_value) - If
false→ usesender_id(theou_value)
Step 2: Use sessions_spawn with the returned args (label: "medeo: <brief>", runTimeoutSeconds: 2400). Step 3: Tell user it's generating. Sub-agent auto-announces when done.
3. Upload Assets
3a. From URL (image already has a public URL)
3b. From IM attachment (user sends image directly) ← NEW
Use upload-file when the user sends an image via Telegram, Discord, Feishu, or as a local file. This uses the direct upload API (prepare → S3 presigned PUT → register) instead of URL-based upload.
Trigger: Only when the user explicitly requests video generation AND sends an image attachment in the same message (e.g. "make a video with this photo"). Do NOT auto-upload on every image message — other skills or conversations may involve images unrelated to video generation.
Output: {"media_id": "media_01...", "filename": "photo.jpg"}
Then pass media_id to generation:
Platform-Specific Image Extraction Guide
| Platform | How to get image source | upload-file arg | |
|---|---|---|---|
| Telegram | message.photo[-1].file_id | --telegram-file-id | |
| Discord | message.attachments[0].url (public CDN URL) | --url | |
| Feishu | message_id + image_key from message content JSON | --feishu-message-id + --feishu-image-key | |
Download attachment binary → save to /tmp | --file | ||
| Generic URL | Any direct image URL | --url |
Note: Discord attachment URLs are public CDN links — --url works directly. All other platforms require authentication to download.
3c. Inline in generate pipeline
Supports .jpg, .png, .webp, .mp4, .mov, .gif. Higher resolution + multiple angles = better results.
3d. Check Upload Status
After upload or upload-file, if you need to check the upload job:
Returns media status (processing, completed, failed) and media_id once done.
4. Low-Level Pipeline Commands (agent internal — never expose to users)
These are for agent debugging or manual intervention only. Users should never see these commands.
| Command | What it does | Key args | |
|---|---|---|---|
generate | Blocking full pipeline (upload→compose→render) | Same as spawn-task minus deliver flags | |
compose | Create project only (no render) | --message, --media-ids, --recipe-id | |
compose-status | Poll compose task | --task-id "task_01..." | |
render | Render existing project | --project-id "project_01..." | |
render-status | Poll render job | --job-id "render_01..." | |
upload-status | Poll upload job | --job-id "job_01..." |
All commands support --no-wait to return immediately without polling.
5. Browse Recipes
Use in generation: --recipe-id "recipe_01...". See docs/recipes.md.
6. Quick Commands Reference (for agent, not user-facing)
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/medeo-video/SKILL.md
Popularity
- Repository stars
- 2,157
- Repository forks
- 324
- 7-day trend score
- 43
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
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/leoyeai/openclaw-master-skills/medeo-video)