Generative-Media-Skills

作者 SamurAIGPT已验证

Multi-modal Generative Media Skills for AI Agents (Claude Code, Cursor, Gemini CLI). High-quality image, video, and audio generation powered by muapi.ai.

4,124
Stars
473
Forks
Shell
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/SamurAIGPT/Generative-Media-Skills

快速入门

使用 Generative-Media-Skills 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

🎭 Generative Media Skills for AI Agents

Powered by MuAPI

The Ultimate Multimodal Toolset for Claude Code, Cursor, Gemini CLI, and OpenCode. A high-performance, schema-driven architecture for AI agents to generate, edit, and display professional-grade images, videos, and audio — powered by the muapi-cli.

🚀 Get Started | 🎬 Recipe Pack | 🎨 Expert Library | ⚙️ Core Primitives | 🤖 MCP Server | 📖 Reference


Related Projects

✨ Key Features

  • 🤖 Agent-Native Design — CLI-powered scripts with structured JSON outputs, semantic exit codes, and --jq filtering for seamless agentic pipelines.
  • 🧠 Expert Knowledge Layer — Domain-specific skills that bake in professional cinematography, atomic design, and branding logic.
  • ⚡ CLI-Powered Core — All primitives delegate to muapi-cli — no curl, no JSON parsing, no boilerplate.
  • 🖼️ Direct Media Display — Use the --view flag to automatically download and open generated media in your system viewer.
  • 📁 Local File Support — Auto-upload images, videos, faces, and audio from your local machine to the CDN for processing.
  • 🌈 100+ AI Models — One-click access to Midjourney v7, Flux Kontext, Seedance 2.0, Kling 3.0, Veo3, and more.
  • 🔌 MCP Server — Run muapi mcp serve to expose all 19 tools directly to Claude Desktop, Cursor, or any MCP-compatible agent.

🏗️ Scalable Architecture

This repository uses a Core/Library split to ensure efficiency and high-signal discovery for LLMs:

⚙️ Core Primitives (/core)

Thin wrappers around muapi-cli for raw API access.

  • core/media/ — File upload
  • core/edit/ — Image editing (prompt-based)
  • core/platform/ — Setup, auth & result polling

📚 Expert Library (/library)

High-value skills that translate creative intent into technical directives.

  • Cinema Director (/library/motion/cinema-director/) — Technical film direction & cinematography.
  • Nano-Banana (/library/visual/nano-banana/) — Reasoning-driven image generation (Gemini 3 Style).
  • UI Designer (/library/visual/ui-design/) — High-fidelity mobile/web mockups (Atomic Design).
  • Logo Creator (/library/visual/logo-creator/) — Minimalist vector branding (Geometric Primitives).
  • Seedance 2 (Doubao Video) (/library/motion/seedance-2/) — Director-level cinematic video generation with text-to-video, image-to-video, and video extension with native audio-video sync.
  • AI Clipping (/library/edit/ai-clipping/) — Long video → ranked vertical short clips in one managed API call. Server-side transcription, virality ranking, dedupe, and face-tracked auto-crop — no local Whisper or LLM.
  • YouTube Shorts (/library/social/youtube-shorts/) — Platform-aware preset over AI Clipping (Shorts / TikTok / Reels / Feed defaults).

Plus 41 ready-to-run workflow recipes organized by output type — see 🎬 Recipe Pack below.


🎬 Recipe Pack

Forty-one LLM-orchestrated workflow recipes that combine multiple muapi-cli calls into named end-to-end pipelines (e.g. photo of person → 3D action figure, product photo → cinematic 10s ad). Each skill is a SKILL.md the agent reads and follows; bring your own consuming agent (Claude Code, Cursor, MCP) — these are recipes, not bash wrappers.

Motion / Video (16)

SkillDescription
3D Logo AnimationTransform a 2D logo into a premium 3D version and animate it with professional cinematic effects
AI Fight Scene GeneratorHigh-cut-density action / fight scene — 16-cell storyboard image drives Seedance 2.0 i2v for shot-by-shot choreography
Animal Vlogger VideoHilarious, ultra-realistic anthropomorphic-animal vlogger acting like a human in a real-world setting
Cartoon Dance AnimationConvert a photo into a Pixar-style 3D cartoon, then animate using a reference dance/motion video
Character Story VideoMulti-part animated story video — establish a consistent character then animate sequential scenes
Drone-Style VideoAerial drone-perspective footage — bird's-eye sweeps, orbit shots, and flyover sequences
Giant Product ShowcaseDramatic giant-scale product visual (building-sized object next to a person), optionally animated
Jewelry Product VideoLuxury jewelry ad with high-end commercial cinematography and detailed macro animation
Music VideoShort music video from a song theme — keyframes, animation per beat, matching music track
One-Shot VideoSingle continuous cinematic shot — no cuts, one seamless flowing scene
Cinematic Product AdCinematic 5–10s product ad from a product photo + brand brief
Product Showcase VideoDynamic product showcase with explosive ingredient arrangement + realistic motion animation
Product Video Ad MakerHigh-end cinematic product video ad starting from a simple product photo
Talking Baby VideoViral-style talking-baby video with custom costumes and scripts
UGC Lifestyle Try-OnUGC-style lifestyle photos & video of a person using your product — authentic, social-native
UGC Video FactoryPerson photo + product photo + script → 10s vertical 9:16 UGC video ad with native dialogue (Nano-Banana Pro Edit → Seedance 2.0 VIP i2v)

Social (5)

SkillDescription
Instagram PostPolished on-brand Instagram post — hero image + caption + hashtags
Product Campaign PackFull multi-channel campaign — hero visuals, social assets, short ad video, platform crops
RedNote CoverXiaohongshu (小红书) cover image — vibrant lifestyle aesthetic with typography overlay
Social Media PackRe-render a hero image into Instagram / TikTok / Shorts / X aspect ratios
UGC Ads WorkflowUGC video ad pipeline — combine selfie + product image, write script, animate

Visual / Images & Design (21)

SkillDescription
Action Figure GeneratorConvert a photo of a person into a custom 3D action figure with collectible toy packaging
Ad Creative SetHigh-converting ad set — hero image, copy variations, platform crops for Meta / Google / LinkedIn
Amazon Product Listing PackFull Amazon listing image set — hero, lifestyle, infographic, comparison/detail closeups
Blog HeaderProfessional 1200×628 blog header image with optional title composition guidance
Brand KitCohesive brand visual kit — logo concept, color palette, typography pairings
Brochure DesignerMulti-page brochure — cover, inner spread, back — for business, real estate, events, launches
Couple Grid CreatorStylized 6-box grid of a couple in romantic poses, each pose framed inside cardboard packaging
Brand Design GuideComprehensive design guide — palette, typography, UI components, visual identity rules
Fashion Try-OnVirtually try outfits by combining a person's photo + clothing item, optional fashion model video
Floor Plan RenderingDesign a 2D floor plan and convert into a realistic 3D architectural rendering
Interior DesignPro interior design visualizations — redesign rooms, generate concepts, visualize furniture styles
Interior Design VisualizerGenerate an empty room and fill it with stylish furniture / decor; or redesign an existing room
Keyboard Art MakerArtistic top-down photos of keyboard keycaps arranged to spell custom messages
Logo + Branding PackageLogo + full branding package — variations (dark/light/icon), palette, mockups
Logo GeneratorQuick single-shot polished logo — fast, clean vector aesthetic with accurate brand-name text
Multi-Angle ReshootRe-render a subject from dramatic camera angles (fish-eye, bird's-eye, low, macro) — identity preserved
Multi-Angle ShotsFull multi-angle product shot set — front, side, back, top-down, 45°
Selfie with CelebritiesRealistic behind-the-scenes selfie of the user with a celebrity; optional cinematic long-take
Storyboard GeneratorGenerate N keyframes for a short story or scene sequence (image only, no video)
URL to DesignAnalyze a website URL and generate a redesigned, improved UI with modern aesthetics
YouTube ThumbnailHigh-CTR YouTube thumbnail — striking imagery, bold text placement, emotional face/subject

Each recipe declares its inputs and a Steps body. Pass the inputs and let your agent execute the steps via muapi CLI calls (or raw API for endpoints that don't yet have a CLI alias — see the per-skill Notes for the Executing Agent footer).


🚀 Quick Start

1. Install the muapi CLI

The core scripts require muapi-cli. Install it once:

# via npm (recommended — no Python required)
npm install -g muapi-cli

# via pip
pip install muapi-cli

# or run without installing
npx muapi-cli --help

2. Configure Your API Key

# Interactive setup
muapi auth configure

# Or pass directly
muapi auth configure --api-key "YOUR_MUAPI_KEY"

# Get your key at https://muapi.ai/dashboard?utm_source=github&utm_medium=readme&utm_campaign=generative-media-skills

3. Install the Skills

# Install all skills to your AI agent
npx skills add SamurAIGPT/Generative-Media-Skills --all

# Or install a specific skill
npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-media-generation

# Install to specific agents
npx skills add SamurAIGPT/Generative-Media-Skills --all -a claude-code -a cursor

4. Generate Your First Image

muapi image generate "a cyberpunk city at night" --model flux-dev

# Download the result automatically
muapi image generate "a sunset over mountains" --model hidream-fast --download ./outputs

# Extract just the URL (agent-friendly)
muapi image generate "product on white bg" --model flux-schnell --output-json --jq '.outputs[0]'

5. Run an Expert Skill

# Use Nano-Banana reasoning to generate a 2K masterpiece
bash library/visual/nano-banana/scripts/generate-nano-art.sh \
  --file ./my-source-image.jpg \
  --subject "a glass hummingbird" \
  --style "macro photography" \
  --resolution "2k" \
  --view

6. Direct a Cinematic Scene

cd library/motion/cinema-director

# Create a 10-second epic reveal
bash scripts/generate-film.sh \
  --subject "a cybernetic dragon over Tokyo" \
  --intent "epic" \
  --model "kling-v3.0-pro" \
  --duration 10 \
  --view

# Animate a reference image into video
bash library/motion/seedance-2/scripts/generate-seedance.sh \
  --mode i2v \
  --file ./concept.jpg \
  --subject "camera slowly pulls back to reveal the full landscape" \
  --intent "reveal" \
  --view

# Extend an existing video
bash library/motion/seedance-2/scripts/generate-seedance.sh \
  --mode extend \
  --request-id "YOUR_REQUEST_ID" \
  --subject "camera continues pulling back to reveal the vast city" \
  --duration 10

OpenCode

# Clone the repo and set the MUAPI_API_KEY env var
git clone https://github.com/SamurAIGPT/Generative-Media-Skills
export MUAPI_API_KEY=your_key_here

# Skills auto-load from .opencode/skills/ when you run opencode in this directory
opencode

🤖 MCP Server

Run muapi as a Model Context Protocol server so Claude Desktop, Cursor, or any MCP-compatible agent can call generation tools directly — no shell scripts needed.

muapi mcp serve

Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "muapi": {
      "command": "muapi",
      "args": ["mcp", "serve"],
      "env": { "MUAPI_API_KEY": "your-key-here" }
    }
  }
}

This exposes 19 structured tools with full JSON Schema input/output definitions:

ToolDescription
muapi_image_generateText-to-image (14 models)
muapi_image_editImage-to-image editing (11 models)
muapi_video_generateText-to-video (13 models)
muapi_video_from_imageImage-to-video (16 models)
muapi_audio_createMusic generation (Suno)
muapi_audio_from_textSound effects (MMAudio)
muapi_enhance_upscaleAI upscaling
muapi_enhance_bg_removeBackground removal
muapi_enhance_face_swapFace swap image/video
muapi_enhance_ghibliGhibli style transfer
muapi_edit_lipsyncLip sync to audio
muapi_edit_clippingAI highlight extraction
muapi_predict_resultPoll prediction status
muapi_upload_fileUpload local file → URL
muapi_keys_listList API keys
muapi_keys_createCreate API key
muapi_keys_deleteDelete API key
muapi_account_balanceGet credit balance
muapi_account_topupAdd credits (Stripe checkout)

⚡ Agentic Pipeline Examples

# Submit async, capture request_id, poll when ready
REQUEST_ID=$(muapi video generate "a dog running on a beach" \
  --model kling-master --no-wait --output-json --jq '.request_id' | tr -d '"')

# ... do other work ...

muapi predict wait "$REQUEST_ID" --download ./outputs

# Pipe a prompt from another command
generate_prompt | muapi image generate - --model flux-dev

# Chain: upload → edit → download
URL=$(muapi upload file ./photo.jpg --output-json --jq '.url' | tr -d '"')
muapi image edit "make it look like a painting" --image "$URL" \
  --model flux-kontext-pro --download ./outputs

📖 Schema Reference

This repository includes a streamlined schema_data.json that core scripts use at runtime to:

  • Validate Model IDs: Ensures the requested model exists.
  • Resolve Endpoints: Automatically maps model names to API endpoints.
  • Check Parameters: Validates supported aspect_ratio, resolution, and duration values.

Discover all available models via the CLI:

muapi models list
muapi models list --category video --output-json

🔧 Compatibility

Optimized for the next generation of AI development environments:

  • Claude Code — Direct terminal execution via tools + MCP server mode.
  • Gemini CLI / Cursor / Windsurf — Seamless integration as local scripts.
  • MCP — Full Model Context Protocol server with typed input/output schemas.
  • CI/CD--output-json, --jq, semantic exit codes for scripting.

📄 License

MIT © 2026

常见问题

What is Generative-Media-Skills?

Generative-Media-Skills is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by SamurAIGPT. Multi-modal Generative Media Skills for AI Agents (Claude Code, Cursor, Gemini CLI). High-quality image, video, and audio generation powered by muapi.ai. It has 4,124 GitHub stars.

Is Generative-Media-Skills safe to use?

Yes. Generative-Media-Skills passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install Generative-Media-Skills?

Clone the repository with "git clone https://github.com/SamurAIGPT/Generative-Media-Skills" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is Generative-Media-Skills written in?

Generative-Media-Skills is primarily written in Shell. It is open-source under SamurAIGPT on GitHub, so you can review or fork the full source.

Are there alternatives to Generative-Media-Skills?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh Generative-Media-Skills against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情