Generate AI videos via Pixmind API (text-to-video and image-to-video)
Design & media
Pixr Cli
Try itDrives the local pixr Gemini image CLI for generation, editing, variations, model selection, saved defaults, profile-based defaults, reference-image workflow...
What it does
Drives the local pixr Gemini image CLI for generation, editing, variations, model selection, saved defaults, profile-based defaults, reference-image workflow...
The skill document
Pixr CLI
When To Use
Use this skill when the task is specifically about the local pixr CLI in this repository or its home-directory defaults under ~/.pixr.
Typical triggers:
- "generate an image with pixr"
- "edit an image with pixr"
- "create variations with pixr"
- "set the pixr model"
- "save images to a default folder"
- "use the refs from ~/.pixr/assets"
- "init a pixr profile"
- "make a profile use a different model or save dir"
- "show the pixr profile layout"
- "show what pixr supports"
- "fix or inspect pixr config"
Do not use this skill for general Gemini API design discussions that are not tied to this CLI.
Execution Mode
Prefer the installed binary when available:
pixr
If you are working inside this repo and do not want to depend on a global link, use:
npm run dev --npm run pixr --
Core Workflow
- Start by checking the exact command surface instead of assuming flags.
Use
pixr helpfor global help orpixr --helpfor command help. - If the task is generation, inspect saved defaults first when they matter.
Run
pixr config --json. - If the task depends on profile-specific defaults, inspect or scaffold them first:
pixr profile listpixr profile showpixr profile initpixr config --profile --json
- If the task depends on a saved model or output directory, prefer the dedicated commands over editing config by hand:
pixr model ...pixr save-dir ...
- If the task depends on reusable prompts or style, use the home-directory files:
~/.pixr/INSTRUCTION.md~/.pixr/STYLE.md~/.pixr/prompts/.md~/.nano-image/STYLE.md
- If the task uses default reference images, inspect
~/.pixr/assetsor~/.pixr/profiles//assetsand verify withpixr refs --json. Remember that pixr keeps only the latest three default asset images by modified time. - After changing behavior, validate with one concrete CLI command and capture the resulting output path or config state.
Image Workflows
For generation details and command recipes, read references/command-reference.md.
Key rules:
- Use
generateorgenfor prompt-only creation. - Use
editfor text-guided changes to an existing image. - Use
varyfor one or more Gemini-generated variations of an existing image. - Respect saved defaults from
~/.pixr/config.json. - If the user passes
--save-toor--output, that overrides the saved default output directory. - Width-only or height-only requests preserve aspect ratio during local resize.
- Width plus height forces the final image to the exact requested dimensions.
- Format defaults to
png;jpg,jpeg, andwebpare supported through local conversion.
Configure Defaults
For persistent settings and file layout, read references/defaults-and-files.md.
Prefer command-driven config changes:
- Save model:
pixr model - Pick model interactively:
pixr models - Save default output dir:
pixr save-dir --set "" - Clear saved output dir:
pixr save-dir --clear-save-dir - Save profile defaults:
pixr profile init --model ... --save-dir ... - Use interactive profile setup:
pixr profile init
Avoid editing ~/.pixr/config.json directly unless the user explicitly asks for a manual file edit.
Troubleshooting
Read references/troubleshooting.md when:
- generation fails
- models do not list
- the picker or config looks wrong
- output paths or refs are not being used
Validation
After making changes or guiding usage:
- run one obvious command that should succeed
- use
--jsonwhen you need machine-readable confirmation - report the exact saved model, output directory, or generated file path when relevant
Related skills
Drives the local nano-img Gemini image CLI for image generation, model selection, saved defaults, reference-image workflows, and output sizing or format conv...
One CLI that turns a prompt into images, video, voice, music, sound effects, and full podcast episodes.
Generate or edit AI images with Pixmind. Use for 文生图、图生图、图片编辑、产品图、海报、配图、封面、角色一致性, or whenever the user asks to create or modify an image through Pixmind.
Generate or edit raster images by calling the ChatGPT/Codex Responses image_generation tool directly with local Codex or OpenClaw OAuth credentials, then sav...
Operate Pixiv through the pixiv-cli binary — search illustrations, novels, and users; reverse-search images with SauceNAO or ascii2d; inspect Pixiv artwork or user IDs/URLs; view rankings and recommendations; manage bookmarks/follows; and download works. Load only when the user explicitly mentions Pixiv or pixiv-cli, provides a pixiv.net URL or ID in a clear Pixiv context, or requests a specific Pixiv operation or `pixiv` command. Do not trigger for generic illustration, artist, image-search, or download requests without Pixiv context. Verify current syntax with `pixiv <cmd> --help`.