# Send Masonry: generate images and video with models across providers to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "masonry-generate-image-and-video",
    "name": "Masonry: generate images and video with models across providers",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/junaid1460/masonry-generate-image-and-video",
    "canonicalUrl": "https://clawhub.ai/junaid1460/masonry-generate-image-and-video",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/masonry-generate-image-and-video",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=masonry-generate-image-and-video",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/masonry-generate-image-and-video"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/masonry-generate-image-and-video",
    "downloadUrl": "https://openagent3.xyz/downloads/masonry-generate-image-and-video",
    "agentUrl": "https://openagent3.xyz/skills/masonry-generate-image-and-video/agent",
    "manifestUrl": "https://openagent3.xyz/skills/masonry-generate-image-and-video/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/masonry-generate-image-and-video/agent.md"
  }
}
```
## Documentation

### 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:

npm install -g @masonryai/cli

Or run directly: npx @masonryai/cli

### Authentication

If any command returns an auth error:

Run: masonry login --remote
The command prints an auth URL. Send it to the user.
User opens the URL in a browser, authenticates, and copies the token.
Run: masonry login --token <TOKEN>

For environments with MASONRY_TOKEN and MASONRY_WORKSPACE set, no login is needed.

### 1. Generate content

Image:

masonry image "a sunset over mountains, photorealistic" --aspect 16:9

Video:

masonry video "ocean waves crashing on rocks" --duration 4 --aspect 16:9

### 2. Handle the response

Commands return JSON immediately:

{
  "success": true,
  "job_id": "abc-123",
  "status": "pending",
  "check_after_seconds": 10,
  "check_command": "masonry job status abc-123"
}

### 3. Wait and download

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

FlagShortDescription--aspect-aAspect ratio: 16:9, 9:16, 1:1--dimension-dExact size: 1920x1080--model-mModel key--output-oOutput file path--negative-promptWhat to avoid--seedReproducibility seed

### Video flags

FlagShortDescription--durationLength in seconds: 4, 6, 8--aspect-aAspect ratio: 16:9, 9:16--model-mModel key--image-iFirst frame image (local file)--last-imageLast frame image (requires --image)--no-audioDisable audio generation--seedReproducibility seed

### Model discovery

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

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

CodeMeaningActionAUTH_ERRORNot authenticatedRun auth flow aboveVALIDATION_ERRORInvalid parameterCheck flag valuesMODEL_NOT_FOUNDUnknown model keyRun 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?
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: junaid1460
- Version: 1.1.6
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/masonry-generate-image-and-video)
- [Send to Agent page](https://openagent3.xyz/skills/masonry-generate-image-and-video/agent)
- [JSON manifest](https://openagent3.xyz/skills/masonry-generate-image-and-video/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/masonry-generate-image-and-video/agent.md)
- [Download page](https://openagent3.xyz/downloads/masonry-generate-image-and-video)