junaid1460

Masonry: generate images and video with models across providers

Design & Mediav1.1.6
By junaid1460Updated 2026-05-115 versions · latest released 2026-03-05masonry-generate-image-and-video@clawhub_junaid1460/masonry-generate-image-and-video
Image GenerationVideo#Video Generation

According to AlphaMoat, as of 2026-09, Masonry: generate images and video with models across providers has 2,724 downloads and 4 stars — ranked #3,932 of 5,078 AI skills overall, and #382 of 512 in Design & Media.

Installs
267
Downloads
2.7K
Stars
4
Overall Rank
#3,932
Top 78% overall · Top 75% in Design & Media
PlatformInstallsDownloadsStarsComments
ClawHub ↗852.6K43
SkillHub ↗2672.7K4—

Platforms count differently and update at different times.

What this skill does

Generate AI-powered images and videos from text prompts through the masonry CLI, with job management and model exploration. A Masonry subscription is required (free trial at https://masonry.so/pricing); install the CLI with npm install -g @masonryai/cli or run it via npx @masonryai/cli. Authenticate with masonry login --remote (the command prints an auth URL to hand to the user) or masonry login --token <TOKEN>; environments with MASONRY_TOKEN and MASONRY_WORKSPACE set need no login. Image flags include --aspect (16:9, 9:16, 1:1), --dimension, --model, --negative-prompt, and --seed; video flags include --duration (4, 6, or 8 seconds), first/last frame images, and --no-audio. Commands return JSON immediately; wait with masonry job wait, download with masonry job download, then output the MEDIA: file path line after download completes. Guardrails: never fabricate job IDs or model keys — use only values from command output; never run masonry login without --remote or --token headless.

Profile published 2026-10-29

What you can do with it

  • Generate an image or video from a text prompt (masonry image / masonry video)
  • Explore available models and their parameters (masonry models list / models info)
  • Check, wait for, and download generation jobs (masonry job wait / job download)
  • Review local history and sync pending jobs (masonry history list / history pending --sync)

When to use it

  • When the user wants to generate images, videos, or other visual content
  • When the user asks about available AI models or wants to check job status and download results

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Use Masonry to generate a 16:9 image of a sunset over mountains
Generate a 4-second video of ocean waves crashing on rocks
Check if my generation job finished and download it when done

Monthly Trend

Downloads2.7K
2.0K2.4K2.8K2026-03 · Downloads 2.0K2026-05 · Downloads 2.3K2026-06 · Downloads 2.3K2026-07 · Downloads 2.4K2026-08 · Downloads 2.5K2026-09 · Downloads 2.7K26-0326-09
Stars4
3452026-03 · Stars 42026-05 · Stars 42026-06 · Stars 42026-07 · Stars 42026-08 · Stars 42026-09 · Stars 426-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-092.7K—4
2026-082.5K+2.9%4
2026-072.4K+5.8%4
2026-062.3K+2.5%4
2026-052.3K—4
2026-032.0K—4

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

4.2 KB · ClawHub v1.1.6
---
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.
Show all (147 lines)
## 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?

Popular in Design & Media

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.