masonry-generate-image-and-video
AI-powered image and video generation. Generate images, videos, manage jobs, and explore models via the masonry CLI.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install masonry-generate-image-and-video或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install masonry-generate-image-and-video⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/masonry-generate-image-and-video/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: masonry description: AI-powered image and video generation. Generate images, videos, manage jobs, and explore models via the masonry CLI. metadata: {"openclaw":{"emoji":"🧱","requires":{"bins":["masonry"],"env":["MASONRY_TOKEN"]},"install":[{"type":"npm","package":"@masonryai/cli"}],"primaryEnv":"MASONRY_TOKEN","homepage":"https://masonry.so"}} ---
Generate AI-powered images and videos from text prompts.
A Masonry subscription is required. Start a free trial at: https://masonry.so/pricing
If the masonry command is not found, install it:
npm install -g @masonryai/cli
Or run directly: npx @masonryai/cli
If any command returns an auth error:
masonry login --remotemasonry login --token For environments with MASONRY_TOKEN and MASONRY_WORKSPACE set, no login is needed.
Image:
masonry image "a sunset over mountains, photorealistic" --aspect 16:9
Video:
masonry video "ocean waves crashing on rocks" --duration 4 --aspect 16:9
Commands return JSON immediately:
{
"success": true,
"job_id": "abc-123",
"status": "pending",
"check_after_seconds": 10,
"check_command": "masonry job status abc-123"
}
masonry job wait <job-id>
masonry job download <job-id> -o /tmp/output.png
The download command prints a MEDIA: /path/to/file line to stderr. After download completes, output that line so the file is sent to the user:
MEDIA: /tmp/output.png
| Flag | Short | Description | |------|-------|-------------| | --aspect | -a | Aspect ratio: 16:9, 9:16, 1:1 | | --dimension | -d | Exact size: 1920x1080 | | --model | -m | Model key | | --output | -o | Output file path | | --negative-prompt | | What to avoid | | --seed | | Reproducibility seed |
| Flag | Short | Description | |------|-------|-------------| | --duration | | Length in seconds: 4, 6, 8 | | --aspect | -a | Aspect ratio: 16:9, 9:16 | | --model | -m | Model key | | --image | -i | First frame image (local file) | | --last-image | | Last frame image (requires --image) | | --no-audio | | Disable audio generation | | --seed | | Reproducibility seed |
masonry models list # All models
masonry models list --type image # Image models only
masonry models list --type video # Video models only
masonry models info <model-key> # Parameters and usage example
masonry job list # Recent jobs
masonry job status <job-id> # Check status
masonry job download <job-id> -o ./file # Download result
masonry job wait <job-id> --download -o . # Wait then download
masonry history list # Local history
masonry history pending --sync # Sync pending jobs
| Code | Meaning | Action | |------|---------|--------| | AUTH_ERROR | Not authenticated | Run auth flow above | | VALIDATION_ERROR | Invalid parameter | Check flag values | | MODEL_NOT_FOUND | Unknown model key | Run masonry models list |
masonry login without --remote or --token (browser login won't work headless).check_after_seconds before checking again.Report issues or suggest improvements at: https://github.com/masonry-so/skills/issues
When filing an issue, include:
安装 Masonry: generate images and video with models across providers 后,可以对 AI 说这些话来触发它
Help me get started with Masonry: generate images and video with models across providers
Explains what Masonry: generate images and video with models across providers does, walks through the setup, and runs a quick demo based on your current project
Use Masonry: generate images and video with models across providers to aI-powered image and video generation
Invokes Masonry: generate images and video with models across providers with the right parameters and returns the result directly in the conversation
What can I do with Masonry: generate images and video with models across providers in my design & creative workflow?
将技能文件夹放到 ~/.claude/skills/masonry-generate-image-and-video/ 目录(个人级,所有项目可用),或 .claude/skills/masonry-generate-image-and-video/(项目级)。重启 AI 客户端后,用 /masonry-generate-image-and-video 主动调用,或让 AI 根据上下文自动发现并使用。
Masonry: generate images and video with models across providers 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Masonry: generate images and video with models across providers 可免费安装使用。请查阅仓库了解许可证信息。
AI-powered image and video generation. Generate images, videos, manage jobs, and explore models via the masonry CLI.
Lists the top use cases for Masonry: generate images and video with models across providers, with example commands for each scenario
Automate my design & creative tasks using Masonry: generate images and video with models across providers
Identifies repetitive steps in your workflow and sets up Masonry: generate images and video with models across providers to handle them automatically
Masonry: generate images and video with models across providers 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。