據 AlphaMoat 統計,截至 2026-09,Masonry: generate images and video with models across providers 累計下載 2,724 次、獲 4 個星標,在全部 5,078 個 AI 技能中排名第 3,932 位,在「設計創意」分類(512 個)中排名第 382 位。
| 平台 | 累計安裝 | 累計下載 | 星標 | 評論 |
|---|---|---|---|---|
| ClawHub ↗ | 85 | 2599 | 4 | 3 |
| SkillHub ↗ | 267 | 2724 | 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 | 2724 | — | 4 |
| 2026-08 | 2512 | +2.9% | 4 |
| 2026-07 | 2441 | +5.8% | 4 |
| 2026-06 | 2307 | +2.5% | 4 |
| 2026-05 | 2250 | — | 4 |
| 2026-03 | 2045 | — | 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),按月更新。口徑說明見資料方法。