据 AlphaMoat 统计,截至 2026-09,Masonry: generate images and video with models across providers 累计下载 2,724 次、获 4 个星标,在全部 5,078 个 AI 技能中排名第 3,932 位,在「设计创意」分类(512 个)中排名第 382 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 85 | 2,599 | 4 | 3 |
| SkillHub ↗ | 267 | 2,724 | 4 | — |
各平台的计数口径不同,统计时间不一致。
通过 masonry CLI 从文本提示生成 AI 图片和视频,支持任务管理和模型浏览。需要 Masonry 订阅(可在 https://masonry.so/pricing 开始免费试用);CLI 缺失时用 npm install -g @masonryai/cli 安装或直接 npx @masonryai/cli。认证走 masonry login --remote(命令会打印授权 URL 交给用户)或 masonry login --token <TOKEN>;已设置 MASONRY_TOKEN 与 MASONRY_WORKSPACE 的环境无需登录。图片支持 --aspect(16:9、9:16、1:1)、--dimension、--model、--negative-prompt、--seed 等参数;视频支持 --duration(4、6、8 秒)、首帧/末帧图片、--no-audio 等。命令立即返回 JSON,用 masonry job wait 等待后 masonry job download 下载,完成后输出 MEDIA: 文件路径行。注意:绝不编造 job ID 或模型 key,只使用命令输出中的值;无头环境下不要运行不带 --remote 或 --token 的 masonry login。
资料发布于 2026-10-29
masonry image / masonry video)masonry models list / models info)masonry job wait / job download)masonry history list / history pending --sync)以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 2,724 | — | 4 |
| 2026-08 | 2,512 | +2.9% | 4 |
| 2026-07 | 2,441 | +5.8% | 4 |
| 2026-06 | 2,307 | +2.5% | 4 |
| 2026-05 | 2,250 | — | 4 |
| 2026-03 | 2,045 | — | 4 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
---
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"}}
---
# Masonry CLI
Generate AI-powered images and videos from text prompts.
## When to use
- User wants to generate images or videos
- User asks about available AI models
- User wants to check generation job status or download results
- User asks to create visual content, media, or artwork
## Prerequisites
A Masonry subscription is required. Start a free trial at: https://masonry.so/pricing
If the `masonry` command is not found, install it:
```bash
npm install -g @masonryai/cli
```
Or run directly: `npx @masonryai/cli`
## Authentication
If any command returns an auth error:
1. Run: `masonry login --remote`
2. The command prints an auth URL. Send it to the user.
3. User opens the URL in a browser, authenticates, and copies the token.
4. Run: `masonry login --token <TOKEN>`
For environments with `MASONRY_TOKEN` and `MASONRY_WORKSPACE` set, no login is needed.
## Workflow
### 1. Generate content
**Image:**
```bash
masonry image "a sunset over mountains, photorealistic" --aspect 16:9
```
**Video:**
```bash
masonry video "ocean waves crashing on rocks" --duration 4 --aspect 16:9
```
### 2. Handle the response
Commands return JSON immediately:
```json
{
"success": true,
"job_id": "abc-123",
"status": "pending",
"check_after_seconds": 10,
"check_command": "masonry job status abc-123"
}
```
### 3. Wait and download
```bash
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
```
## Image flags
| 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 |
## Video flags
| 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 |
## Model discovery
```bash
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
```
## Job management
```bash
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
```
## Error codes
| 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` |
## Guardrails
- Never fabricate job IDs or model keys. Always use values from command output.
- Never run `masonry login` without `--remote` or `--token` (browser login won't work headless).
- If a job is pending, wait `check_after_seconds` before checking again.
- All output is JSON. Parse it, don't guess.
## Feedback
Report issues or suggest improvements at: https://github.com/masonry-so/skills/issues
When filing an issue, include:
- **What was your intent?** What were you trying to accomplish?
- **What worked?** Which parts behaved as expected?
- **What needs improvement?** What went wrong or could be better?
ContextWeave 架构图一键生成
用 Nano Banana Pro 生成或编辑图片的脚本技能。
用 whisper 命令行在本地把音频转写成文字或做翻译的技能。
通过 MCP 服务生成与编辑图表的技能。
面向界面设计的思路与落地建议技能,覆盖布局、交互流程、设计令牌与前端改动。
面向多家视频模型 API 的 AI 视频生成与编排技能。
用 ffmpeg 从视频里取出画面帧,或生成便于快速查看的缩略图。
用本地 Whisper 把音频文件转成文字,模型下载完成后可完全离线运行。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。