Openai Image Generator
Generate images using OpenAI gpt-image-2 with customizable options
Install
npx skills add mkdev-me/agent-skills --skill openai-image-generatorgit clone --depth 1 https://github.com/mkdev-me/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/openai-image-generator ~/.claude/skills/openai-image-generatorPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# openai-image-generator ## Instructions Use this skill to generate images using OpenAI's `gpt-image-2` model. The skill supports: - Text-to-image generation from prompts (`images.generate`) - Image editing / composition with one or more reference images (`images.edit`) - Size presets (square, landscape, portrait, 2K) or a raw `WxH` string - Quality levels (low / medium / high / auto) - Custom output paths The API key should be set via the `OPENAI_API_KEY` environment variable. ## Parameters - `--prompt` (required): The text prompt describing the image to generate - `--output` (required): Output file path for the generated image - `--reference`: Optional reference image path. Can be specified multiple times. When provided, the edits endpoint is used. - `--size`: Output size. Accepts a preset (`square`, `landscape`, `portrait`, `2K`) or a raw `WxH` string (e.g. `1920x1080`). Default: `square` (1024x1024). - `--quality`: `low`, `medium`, `high`, or `auto` (default: `auto`) Size constraints for `gpt-image-2`: max edge 3840px, both edges multiples of 16, aspect ratio ≤ 3:1, total pixels between 655,360 and 8,294,400. ## Examples ### Basic text-to-image generation ```bash ./scripts/generate.py --prompt "A serene mountain landscape at sunset" --output images/landscape.png ``` ### With reference image(s) for editing / composition ```bash ./scripts/generate.py --prompt "Same character but wearing a party hat" --reference images/character.png --output images/party.png ```
Details
- Skill name
openai-image-generator- Repository
- mkdev-me/agent-skills
- Path
openai-image-generator/SKILL.md- License
- MIT
- Repo updated
- 23 April 2026
FAQ
What does the Openai Image Generator skill do?
Generate images using OpenAI gpt-image-2 with customizable options
How do I install the Openai Image Generator skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add mkdev-me/agent-skills --skill openai-image-generator. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Openai Image Generator popular?
It lives in mkdev-me/agent-skills, which has 37 GitHub stars and 4 forks.
Related skills
Gemini Image Generator
37mkdev-me/agent-skills
Generate images using Google Gemini with customizable options
Pannelai
49rusmanadodi2598/pannelAI
Entry point for pannelAI, a self-hosted AI gateway that speaks OpenAI, Anthropic, and OpenAI Responses wire formats for chat, image generation, text-to-speech, speech-to-text, embeddings, and web search. Use when the user mentions pannelAI, a gateway base URL, or wants one key in front of several providers. Covers setup, gateway-key auth, model discovery, and links to one skill per capability.
Nano Banana Pro
44pilioai/skills
Create or edit premium images with Pilio Nano Banana Pro through the unified Pilio developer API. Use when the user wants high-quality text-to-image generation, reference-image editing, product posters, campaign visuals, or image composition from one or more local reference images.
Pannelai Image
49rusmanadodi2598/pannelAI
Text-to-image and async video generation through pannelAI. Covers POST /api/v1/images/generations, the provider/model string, the prompt and size fields, the normalized OpenAI images answer, and the two video job routes. Use when a client needs a generated image or video from the gateway.
Gpt Image 2
44pilioai/skills
Create or edit images with Pilio GPT Image 2 through the unified Pilio developer API. Use when the user wants text-to-image generation, prompt-based image editing, restyling, product-photo transformation, or composition from one or more local reference images.
Pannelai Stt
49rusmanadodi2598/pannelAI
Speech-to-text through pannelAI. Covers POST /api/v1/audio/transcriptions as a multipart upload, the model and language fields, and the verbatim upstream answer. Use when a client needs an audio file transcribed by the gateway.
Browse the most popular Claude skills, all images, video & audio skills, or write your own with the skills generator.