muapi-media-generation
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese🎨 MuAPI Media Generation
🎨 MuAPI 媒体生成
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 for dynamic model and endpoint resolution.
schema_data.json基于Schema的图像、视频和音频生成原语。
直接从终端使用100余种最先进的AI模型生成专业级媒体。所有脚本均由驱动,用于动态解析模型和端点。
schema_data.jsonAvailable Scripts
可用脚本
| Script | Description | Default Model |
|---|---|---|
| Text-to-image generation | |
| Text-to-video generation | |
| Animate a static image into video | |
| Music creation, remix, extend, text/video-to-audio | Suno V5 |
| Upload local files to CDN for use with other skills | — |
| 脚本 | 描述 | 默认模型 |
|---|---|---|
| 文本转图像生成 | |
| 文本转视频生成 | |
| 将静态图像动作为视频 | |
| 音乐创作、混音、扩展、文本/视频转音频 | Suno V5 |
| 将本地文件上传至CDN,供其他功能使用 | — |
Quick Start
快速开始
bash
undefinedbash
undefinedGenerate an image
生成图像
bash generate-image.sh --prompt "a sunset over mountains" --model flux-dev --view
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
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
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"
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
undefinedbash upload.sh --file ./my-image.jpg
undefinedCommon Flags
通用参数
All scripts support: , , , ,
--async--view--json--timeout N--help所有脚本均支持:、、、、
--async--view--json--timeout N--helpRequirements
依赖要求
- environment variable (set via
MUAPI_KEY)core/platform/setup.sh - ,
curl,jqpython3
- 环境变量(通过
MUAPI_KEY设置)core/platform/setup.sh - 、
curl、jqpython3