砌体生成图像和视频

SKILL图像处理

原名 masonry-generate-image-and-video

图像处理 浏览器控制 许可证明确 OpenClaw
安装这个技能

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

累计安装 61,667 本周 2,544
GitHub 星标 4 仓库 masonry-generate-image-and-video
下载量 20,148 技能市场下载数
权限级别 浏览器控制 安装前请确认风险范围
许可证 许可证明确 MIT-0

安装

ClawHub 市场
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
openclaw skills install masonry-generate-image-and-video

技能档案

图像处理
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方junaid1460仓库 masonry-generate-image-and-video · 版本 1.1.6
宿主客户端OpenClaw技能可被这些客户端加载
安装方式ClawHub 市场安装包 junaid1460/masonry-generate-image-and-video
权限级别浏览器控制安装前请确认风险范围
许可证MIT-0许可证明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验2026-05-01上游最后核验时间 · 数据更新 未标注
正文体量4.2 KBSKILL.md 原文大小,越大说明说明书写得越细

能做什么

5 项能力
上游给出的能力概览与适用场景
  • 按任务关键词查找相关 Skills
  • 展示可复制的安装命令
  • 保留来源站点、仓库和原始说明,方便继续核验
  • 补充不同宿主或平台的使用分布数据
  • 展示第三方安全扫描或审计结果
OpenClaw 用户查找和安装 Skill 时用户想查找某类 Agent Skill 时需要根据任务场景推荐可安装能力包时需要对比不同来源的安装命令和来源信息时

权限与风险

浏览器控制
装之前先读完这段

安装与使用指南

安装步骤

本站只展示命令,不托管安装包,也不自动执行。

怎么用

安装后应在对应宿主中按原始 README 的触发条件使用;当前草稿只做目录说明,具体调用方式由规则抽取,异常条目再复核。

SKILL.md 全文

4.2 KB
模型实际读到的说明书原文,来自技能仓库

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:

  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:

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

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

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

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?

安全信息

审计结论
未标注不代表已通过审计
安全审计VirusTotal、ClawScan、Static analysis第三方安全审计平台给出的结论

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 2026-05-01。