10-of-my-most-popular-text-to-image-series-prompts-78b0897e
generate a bunch of images, then you curate the results to handpick the best ones
Render JSON schemas to images and generate schemas from prompts using declare-render and AI.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install cai-zhuo/test-materials打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Use this skill when the user wants to render JSON schemas to images (PNG/JPG), validate render-data schemas, or generate schemas from natural-language prompts and then render them.
Run via Node (from the project or after npm install -g materials-cli):
materials render <schema-path> [options]
materials generate "<prompt>" [options]
materials validate <schema-path> [options]
materials render schema.json -o output.png
-s, --schema <path>, -o, --output <path> (default ./output.png), -f, --format <png|jpg>, -w, --width, -h, --height, --output-schema <path>, -i, --interactive
materials generate "A red circle with text Hello" -o out.png
-o, --output, -f, --format, -w, --width, -h, --height, --output-schema, --model, --api-key, --base-url, -i, --interactive
OPENAI_API_KEY (and optionally OPENAI_MODEL, OPENAI_BASE_URL) if not passed via flags.materials validate schema.json
-s, --schema <path>, -i, --interactive
Usage: materials <command> [options]
Commands:
render <schema> Render a JSON schema file to an image
generate <prompt> Use AI to generate a schema, then render
validate <schema> Validate a schema against the render data schema
Examples:
materials render schema.json -o output.png
materials generate "A red circle with text Hello"
materi...
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# Materials CLI Use this skill when the user wants to render JSON schemas to images (PNG/JPG), validate render-data schemas, or generate schemas from natural-language prompts and then render them. ## Commands - **render** — Render a JSON schema file to an image. - **generate** — Use AI (OpenAI) to generate a schema from a prompt, then render it. - **validate** — Validate a JSON schema against the declare-render data schema. ## When to use - User asks to "render a schema to image", "turn JSON into a picture", or "draw from schema". - User wants to "generate an image from a description" or "create a schema from a prompt" and render it. - User wants to "validate" a JSON file against the render data schema. ## Usage Run via Node (from the project or after `npm install -g materials-cli`): ```bash materials render <schema-path> [options] materials generate "<prompt>" [options] materials validate <schema-path> [options] ``` ### Render - `materials render schema.json -o output.png` - Options: `-s, --schema <path>`, `-o, --output <path>` (default `./output.png`), `-f, --format <png|jpg>`, `-w, --width`, `-h, --height`, `--output-schema <path>`, `-i, --interactive` ### Generate (AI) - `materials generate "A red circle with text Hello" -o out.png` - Options: `-o, --output`, `-f, --format`, `-w, --width`, `-h, --height`, `--output-schema`, `--model`, `--api-key`, `--base-url`, `-i, --interactive` - Uses `OPENAI_API_KEY` (and optionally `OPENAI_MODEL`, `OPENAI_BASE_URL`) if not passed via flags. ### Validate - `materials validate schema.json` - Options: `-s, --schema <path>`, `-i, --interactive` ## CLI help ``` Usage: materials <command> [options] Commands: render <schema> Render a JSON schema file to an image generate <prompt> Use AI to generate a schema, then render validate <schema> Validate a schema against the render data schema Examples: materials render schema.json -o output.png materials generate "A red circle with text Hello" materi...
generate a bunch of images, then you curate the results to handpick the best ones
generate a bunch of images, then you curate the results to handpick the best ones
Productivity system based on Maya calendar with 13 natural tones for project management and personal development
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.