| name | masonry |
| description | AI-powered image and video generation using the Masonry CLI. Generate images, videos, check job status, and manage media assets. |
| metadata | {"author":"masonry-ai","version":"1.0"} |
| compatibility | Requires masonry CLI installed (curl -sSL https://media.masonry.so/cli/install.sh | sh) |
| allowed-tools | Bash(masonry:*) |
Masonry CLI
The masonry CLI provides AI-powered image and video generation capabilities.
When to use this skill
Use this skill when the user wants to:
- Generate images from text prompts
- Generate videos from text prompts
- Check status of generation jobs
- Download generated media
- List available AI models
- View generation history
Installation
If the masonry command is not available, install it:
curl -sSL https://media.masonry.so/cli/install.sh | sh
Quick Commands
masonry image "your prompt here" --aspect 16:9
masonry video "your prompt here" --duration 4
masonry job status <job-id>
masonry job download <job-id> -o ./output.png
masonry models list --type image
masonry models list --type video
Detailed Workflows
Image Generation
masonry image "a sunset over mountains, photorealistic"
masonry image "cyberpunk cityscape" --aspect 16:9 --model imagen-3.0-generate-002
Video Generation
masonry video "ocean waves crashing on rocks"
masonry video "drone shot of forest" --duration 6 --aspect 16:9
Job Management
masonry job list
masonry job status <job-id>
masonry job wait <job-id> --download -o ./result.png
masonry history list
masonry history pending --sync
Model Discovery
masonry models list
masonry models list --type video
masonry models params veo-3.1-fast-generate-preview
Response Format
All commands return JSON:
{
"success": true,
"job_id": "abc-123",
"status": "pending",
"check_after_seconds": 10,
"check_command": "masonry job status abc-123"
}
Authentication
If commands fail with auth errors:
masonry login
Enhanced Project Skills
For project-specific skills with detailed workflows, run:
masonry skill install
This installs additional skills to .claude/skills/:
masonry-generate - Detailed generation workflow
masonry-models - Model exploration
masonry-jobs - Job management