chatgpt-imagegen
Generates or edits raster images through OpenAI's Image API.
Skill by iurysza
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/iurysza-chatgpt-imagegen
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/chatgpt-imagegen
What's inside
- Skill name
chatgpt-imagegen- Description
- Generates or edits raster images through OpenAI's Image API. Use for text-to-image work, reference-based edits, masks, transparent assets, and product or editorial visuals.
- License
- MIT
- Compatibility
- Requires Python 3.10+, openai 2.16+, network access, and an OpenAI API key.
- Metadata
- category: visual-media
- Instructions
- 86 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- SKILL.md
- requirements.txt
- chatgpt-img · scripts/
- generate_image.py · scripts/
SKILL.md (first lines)
# ChatGPT Image Generation Use the bundled `chatgpt-img` CLI for generation and edits. Resolve its path relative to this `SKILL.md`. ## Setup ```bash python3 -m pip install -r <skill-directory>/requirements.txt export OPENAI_API_KEY='...' ``` `OPENCODE_OPENAI_API_KEY` is accepted as a fallback. `CHATGPT_IMAGE_DEFAULT` overrides the default model. Image requests cost money. Confirm scope before generating many images or using high quality repeatedly. ## Generate ```bash <skill-directory>/scripts/chatgpt-img \ 'A linocut illustration of a lighthouse in heavy rain' \ ./lighthouse.png \ --size 1536x1024 \ --quality high ``` ## Edit Single reference: ```bash <skill-directory>/scripts/chatgpt-img edit \ ./portrait.png \ 'Use warm editorial lighting; preserve identity, pose, and clothing' \ ./portrait-edited.png \ --quality high ``` Multiple references: ```bash <skill-directory>/scripts/chatgpt-img \ --input ./portrait.png \ --input ./moodboard.png \ 'Apply the moodboard lighting and palette while preserving the portrait identity' \ ./portrait-styled.png ``` Optional masked edit: ```bash <skill-directory>/scripts/chatgpt-img edit \ ./input.png \ 'Replace the masked background with a cloudy coastline' \ ./output.png \ --mask ./mask.png ``` ## Important options - `--model`: defaults to `gpt-image-2.5-sunburst`, the newest model. It accepts `--background transparent`. `gpt-image-2` rejects transparent backgrounds, so pass `--model gpt-image-2` only when you need it - `--size`: supported dimensions or `auto` - `--quality`: GPT Image uses `auto`, `low`, `medium`, or `high` - `--background`: `auto`, `transparent`, or `opaque` - `--format`: `png`, `jpeg`, or `webp` - `--compression`: `0` through `100` for JPEG/WebP - `--num`: number of outputs - `--input`: repeatable reference image for edit mode - `--mask`: optional edit mask - `--input-fidelity`: supported by selected older GPT Image models, not `gpt-image-2` Use `--help` and `edit --help` for the complete interface. ## Prompting edits State both the change and the invariants. For example, name the identity, geometry, text, logos, pose, camera angle, or materials that must remain unchanged. Describe lighting, palette, composition, and finish positively instead of relying on long negative lists. ## Verification 1. Check the process exit status. 2. Confirm every expected output file exists and is non-empty. 3. Report exact paths and any revised prompt returned by the API. 4. Inspect the image with an available viewer when visual verification is part of the task. Never expose API keys. Error output may include safe request metadata, but it must not include prompt contents or credentials.
From iurysza/agent-skills, MIT.
More from iurysza/agent-skills
- 0.624score
skill-cleaner
iurysza
Audits installed Agent Skills for duplicates, unused candidates, loaded roots, oversized descriptions, and prompt cost.
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
deslopify
iurysza
Removes generic AI mannerisms, inflated phrasing, and repetition from prose while preserving the author's voice.
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
gemini-tts
iurysza
Generates spoken MP3 audio from text or Markdown with Gemini TTS.
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
audio-transcribe
iurysza
Transcribes local audio into Markdown with Gemini 3.5 Transcribe, including speaker labels and provider timestamps.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
reply-bro
iurysza
Rewrites technical review replies as short, natural Slack or PR messages between engineers.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
architecture-knowledge-base
iurysza
Creates source-backed architecture documentation shaped around the codebase and its readers.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
better-ui
iurysza
Design engineering principles for making interfaces feel polished.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
goal
iurysza
Executes an approved goal package from ai-artifacts/goals.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
setup-goal
iurysza
Turns an idea into an approved goal package under ai-artifacts.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
brainstorming
iurysza
Explores and validates a feature, component, workflow, or behavior change before implementation.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
domain-modeling
iurysza
Maintains project domain language, context maps, diagrams, and architectural decisions under ai-artifacts.
SkillAFreshness: A★ 5Claude Code +9 - 0.618score
strunk-writing-quality
iurysza
Use whenever user wants to send a message or edit text, review a draft, or when writing markdown files.
SkillAFreshness: A★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 10, 2026 (18 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/iurysza/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from iurysza
- 0.624score
skill-cleaner
iurysza
Audits installed Agent Skills for duplicates, unused candidates, loaded roots, oversized descriptions, and prompt cost.
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
deslopify
iurysza
Removes generic AI mannerisms, inflated phrasing, and repetition from prose while preserving the author's voice.
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
audio-transcribe
iurysza
Transcribes local audio into Markdown with Gemini 3.5 Transcribe, including speaker labels and provider timestamps.
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
gemini-tts
iurysza
Generates spoken MP3 audio from text or Markdown with Gemini TTS.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
architecture-knowledge-base
iurysza
Creates source-backed architecture documentation shaped around the codebase and its readers.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
better-ui
iurysza
Design engineering principles for making interfaces feel polished.
SkillAFreshness: A★ 5Claude Code +9
Cite this page
chatgpt-imagegen skill. Agent Mart. https://agentmart.dev/skills/iurysza-chatgpt-imagegen (last updated 2026-10-24)