mcpField
M
muapi-media-generation

muapi-media-generation

github.com/samuraigptCreative & media251.1k installsUpdated 4w ago
Repository

About muapi-media-generation

muapi-media-generation is a collection of command-line scripts for generating images, videos, and audio through MuAPI. It is aimed at users who want to create media or animate images, with model and endpoint selection resolved from schema data.

Key features

  1. 01Text-to-image generation
  2. 02Text-to-video generation
  3. 03Image-to-video animation
  4. 04Music creation and remixing
  5. 05Upload files to a CDN

Use cases

  1. 01Create an image from a text prompt
  2. 02Generate a video from a text prompt
  3. 03Animate a static image
  4. 04Create or extend music

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/samuraigpt/generative-media-skills --skill muapi-media-generation

After installing, type/muapi-media-generationin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

create-music.sh
generate-image.sh
generate-video.sh
image-to-video.sh
upload.sh

Details

From the project README

🎨 MuAPI Media Generation

Schema-driven generation primitives for images, videos, and audio.

Generate professional-grade media directly from the terminal using 100+ state-of-the-art AI models. All scripts are powered by schema_data.json for dynamic model and endpoint resolution.

Available Scripts

ScriptDescriptionDefault Model
generate-image.shText-to-image generationflux-dev
generate-video.shText-to-video generationminimax-pro
image-to-video.shAnimate a static image into videokling-pro
create-music.shMusic creation, remix, extend, text/video-to-audioSuno V5
upload.shUpload local files to CDN for use with other skills—

Quick Start

# Generate an image
bash generate-image.sh --prompt "a sunset over mountains" --model flux-dev --view

# Generate a video
bash generate-video.sh --prompt "ocean waves at golden hour" --model minimax-pro --view

# Animate an image
bash image-to-video.sh --image-url "https://..." --prompt "camera slowly pans right" --model kling-pro

# Create music
bash create-music.sh --style "lo-fi hip hop" --prompt "chill beats for studying"

# Upload a local file
bash upload.sh --file ./my-image.jpg

Common Flags

All scripts support: --async, --view, --json, --timeout N, --help

Requirements

  • MUAPI_KEY environment variable (set via core/platform/setup.sh)
  • curl, jq, python3

Comments

Markdown supported