AI Image Generation and Editing
zhayujie/CowAgent
Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.
Generate or edit bitmap images with Microsoft MAI-Image-2.5 through the Azure AI image APIs.
$ npx skills add pamelafox/presentation-skills --skill generate-images-mai -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install pamelafox/presentation-skills generate-images-mai --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/pamelafox/presentation-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/generate-images-mai .claude/skills/generate-images-mai && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "generate-images-mai" agent skill from https://github.com/pamelafox/presentation-skills/tree/main/.agents/skills/generate-images-mai into .claude/skills/generate-images-mai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-images-mai", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/pamelafox/presentation-skills/tree/main/.agents/skills/generate-images-maiType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add pamelafox/presentation-skills --skill generate-images-mai -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install pamelafox/presentation-skills generate-images-mai --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pamelafox/presentation-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/generate-images-mai .agents/skills/generate-images-mai && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "generate-images-mai" agent skill from https://github.com/pamelafox/presentation-skills/tree/main/.agents/skills/generate-images-mai into .agents/skills/generate-images-mai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-images-mai", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pamelafox/presentation-skills --skill generate-images-mai -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install pamelafox/presentation-skills generate-images-mai --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pamelafox/presentation-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/generate-images-mai .cursor/skills/generate-images-mai && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "generate-images-mai" agent skill from https://github.com/pamelafox/presentation-skills/tree/main/.agents/skills/generate-images-mai into .cursor/skills/generate-images-mai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-images-mai", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/pamelafox/presentation-skills.git --path .agents/skills/generate-images-mai--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add pamelafox/presentation-skills --skill generate-images-mai -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install pamelafox/presentation-skills generate-images-mai --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pamelafox/presentation-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/generate-images-mai .gemini/skills/generate-images-mai && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "generate-images-mai" agent skill from https://github.com/pamelafox/presentation-skills/tree/main/.agents/skills/generate-images-mai into .gemini/skills/generate-images-mai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-images-mai", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install pamelafox/presentation-skills generate-images-maiInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add pamelafox/presentation-skills --skill generate-images-mai -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/pamelafox/presentation-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/generate-images-mai .github/skills/generate-images-mai && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "generate-images-mai" agent skill from https://github.com/pamelafox/presentation-skills/tree/main/.agents/skills/generate-images-mai into .github/skills/generate-images-mai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-images-mai", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pamelafox/presentation-skills --skill generate-images-mai -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install pamelafox/presentation-skills generate-images-mai --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pamelafox/presentation-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/generate-images-mai .opencode/skills/generate-images-mai && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "generate-images-mai" agent skill from https://github.com/pamelafox/presentation-skills/tree/main/.agents/skills/generate-images-mai into .opencode/skills/generate-images-mai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-images-mai", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
generate-images-maiGenerate or edit bitmap images with Microsoft MAI-Image-2.5 through the Azure AI image APIs.
Generate Images Mai is an agent skill from pamelafox/presentation-skills. Generate or edit bitmap images with Microsoft MAI-Image-2.5 through the Azure AI image APIs. Use for text-to-image generation, image-to-image edits, object removal or replacement, inpainting, text updates, artifact cleanup, reference-image transformations, posters, thumbnails, and concept art.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/generate_image.py` and `scripts/test_generate_image.py`).
It sits in Media & Creative, covering Image generation. It works with Microsoft Azure. The repository describes itself as: Skills for AI agents to process presentations - helpful for teachers and speakers. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 2b809b3. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
learn.microsoft.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
AZURE_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Generate Images Mai loads about 1.5k tokens when it runs. Until then it costs about 79 tokens; SKILL.md has 657 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
- A `.env` file in the current directory or one of its parents:ommands, logs, or chat. Do not create a `.env` containing a real secret. If configuration is missing, tell the user whic- `--env-file`: Loads a specific `.env` file instead of searching parent directories.process take precedence over values in `.env`.Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from pamelafox/presentation-skills at commit 2b809b3, republished under its MIT licence (© pamelafox). 657 words, ~1,458 tokens.
.claude/skills/generate-images-mai/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Create an image from text or edit a supplied JPEG or PNG, save the result, and verify that the output is usable.
.env file in the current directory or one of its parents:AZURE_API_KEY=your-key
AZURE_IMAGE_ENDPOINT=https://your-resource.services.ai.azure.com/mai/v1/images/generationsThe endpoint can be the resource root, /mai/v1/images, /generations, or /edits; the script selects the operation-specific path.
Never read, print, return, commit, or embed the API key in generated files, commands, logs, or chat. Do not create a .env containing a real secret. If configuration is missing, tell the user which variable to add without asking them to send its value through chat.
1024x1024 and generated_image.png for generation. Generation dimensions must each be at least 768 pixels and contain no more than 1,048,576 total pixels. Edit output is always PNG and dimensions are controlled by the service.Text-to-image generation:
python3 .agents/skills/generate-images-mai/scripts/generate_image.py \
--prompt "A photograph of a red fox in an autumn forest" \
--width 1024 \
--height 1024 \
--output generated_image.pngImage-to-image edit:
python3 .agents/skills/generate-images-mai/scripts/generate_image.py \
--prompt "Replace the lawn with a native wildflower garden while preserving the house and paths" \
--input-image garden.png \
--output edited_garden.png--force only with that permission.--prompt: Required image description or editing instruction.--input-image: Optional JPEG or PNG image to edit. When present, the script uses the MAI image edits API.--output: Output PNG path; defaults to generated_image.png.--width and --height: Generation dimensions; each defaults to 1024. Ignored for edits.--model: Deployment name; defaults to MAI-Image-2.5.--endpoint: Azure resource or image API endpoint; overrides AZURE_IMAGE_ENDPOINT.--env-file: Loads a specific .env file instead of searching parent directories.--force: Permits replacing an existing output file.Environment variables already present in the process take precedence over values in .env.
/mai/v1/images/generations.prompt, model, and one image as multipart form data to /mai/v1/images/edits.AZURE_API_KEY or AZURE_IMAGE_ENDPOINT and stop.AZURE_API_KEY locally; never request the key in chat.b64_json: Do not create an output file; report the response-shape problem.© pamelafox, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (scripts) in .agents/skills/generate-images-mai of pamelafox/presentation-skills.
Open the folder on GitHubat commit 2b809b3
Generate Images Mai next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Generate Images Mai this skillpamelafox/presentation-skills | 125 | — | ~1.5k | Automated safety check: Notes | MIT | |
| AI Image Generation and Editingzhayujie/CowAgent | 47k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Structured Image Generationbytedance/deer-flow | 84k | 4 repos | ~2.9k | Automated safety check: Pass | MIT | |
| Canghe Comicfreestylefly/canghe-skills | 461 | 8 repos | ~3.2k | Automated safety check: Pass | None | |
| Generate Imageynulihao/AgentSkillOS | 618 | 10 repos | ~1.7k | Automated safety check: Notes | None | |
| GPT Image Generation CLIwuyoscar/GPT-Image2-Skill | 5.7k | — | ~2.5k | Automated safety check: Notes | MIT |
zhayujie/CowAgent
Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.
bytedance/deer-flow
Turns an image request into a structured JSON prompt and runs a bundled Python script to generate the picture, optionally guided by reference images.
freestylefly/canghe-skills
Knowledge comic creator supporting multiple art styles and tones.
ynulihao/AgentSkillOS
Generate or edit images using AI models (FLUX, Gemini). An agent skill from ynulihao/AgentSkillOS.
wuyoscar/GPT-Image2-Skill
Generates and edits images with GPT Image 2 or 2.5 through a packaged CLI and a prompt gallery, after settling which model fits the request.
LiamGvchi/gc-minimal-zine-poster
Creates or analyzes quiet, paper-texture zine posters with big negative space, one color accent and experimental type, returning an image prompt and the generated poster.
pamelafox/presentation-skills
Create or update a RevealJS HTML presentation using the repository's bundled slide template.
pamelafox/presentation-skills
Capture frames from a YouTube video at a regular interval, produce a manifest mapping filenames to timestamps, and describe each frame with an LLM.
pamelafox/presentation-skills
Fetch presentation slides from a URL and convert them to PDF.
pamelafox/presentation-skills
Generate an annotated blog-style write-up from a presentation's slides and video recording.
pamelafox/presentation-skills
Generate a numbered outline of presentation slides with one-sentence summaries.
pamelafox/presentation-skills
Capture a thumbnail image of a slide from a OneDrive/Office presentation link.
Works with
Categories
Generate or edit bitmap images with Microsoft MAI-Image-2.5 through the Azure AI image APIs. Generate Images Mai is an agent skill from pamelafox/presentation-skills.5 through the Azure AI image APIs.
Generate Images Mai fits situations like: text-to-image generation; image-to-image edits; artifact cleanup; reference-image transformations.
Run `npx skills add pamelafox/presentation-skills --skill generate-images-mai -a claude-code`. Or copy the skill folder (.agents/skills/generate-images-mai in pamelafox/presentation-skills) into .claude/skills/generate-images-mai in your project. Claude Code loads it when a task matches its description.
Run `npx skills add pamelafox/presentation-skills --skill generate-images-mai -a codex`. Or copy the skill folder (.agents/skills/generate-images-mai in pamelafox/presentation-skills) into .agents/skills/generate-images-mai in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pamelafox/presentation-skills --skill generate-images-mai -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/generate-images-mai, .gemini/skills/generate-images-mai, .github/skills/generate-images-mai and .opencode/skills/generate-images-mai in your project.
Going by SKILL.md and its folder, Generate Images Mai needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named AZURE_API_KEY. Our summary lists: Python 3; A credential in AZURE_API_KEY.
SKILL.md names 1 domain. As links in the text: learn.microsoft.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Generate Images Mai is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Generate Images Mai: AI Image Generation and Editing (zhayujie/CowAgent, 47k stars), Structured Image Generation (bytedance/deer-flow, 84k stars), Canghe Comic (freestylefly/canghe-skills, 461 stars) and Generate Image (ynulihao/AgentSkillOS, 618 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
pamelafox (a GitHub user) maintains it in pamelafox/presentation-skills, which has 125 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on September 2, 2026.
Source: pamelafox/presentation-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.