Generating images with OpenAI gpt-image-2
Generate or edit images via a Python wrapper around OpenAI's gpt-image-2 β text prompts or reference images, strict fail-fast rules
- What
- Generate or edit images via a Python wrapper around OpenAI's gpt-image-2 β text prompts or reference images, strict fail-fast rules
- Cost
- Free
- Needs
- an OPENAI_API_KEY with API credits (paid usage β every image costs credits, no usable free tier); the skill is a wrapper the agent runs, not a hosted service
- Install
- Copy the installer prompt below into your Muse β your agent does the rest.
π³ Paid API required β every image costs OpenAI API credits; there is no usable free tier. Curated by Skill Harbor β @spencerpauly's image generation skill: a Python-script wrapper around OpenAI's gpt-image-2 for generating and editing images (icons, logos, mockups, OG images, blog heroes, marketing assets, concept art) from text prompts or reference images, with strict rules (gpt-image-2 only, fail fast on errors, never invent credentials β it asks how you want to provide the key). Honest caveats: needs an `OPENAI_API_KEY` and every image costs API credits β no free tier; not for charts/plots (use code instead) or stock photos. CC0-1.0 licensed. Skill Harbor never reviews the code, review it yourself before use. Discovered via skills.sh.
Version:
Install
Prerequisites: an OPENAI_API_KEY with API credits (paid usage β every image costs credits, no usable free tier); the skill is a wrapper the agent runs, not a hosted service Install "Generating images with OpenAI gpt-image-2" for me. It gives my agent @spencerpauly's image generation wrapper: a Python script around OpenAI's gpt-image-2 for generating and editing images (icons, logos, mockups, OG images, blog heroes, marketing assets, concept art) from text prompts or reference images, with strict rules (gpt-image-2 only, fail fast on errors, never invent credentials β it asks how you want to provide the key). CC0-1.0 licensed. Repository: https://github.com/spencerpauly/awesome-cursor-skills/blob/main/resources/generating-images/SKILL.md 1. Fetch the SKILL.md file (and any helper files) from the repository path into a temporary folder and summarize what it does in one or two sentences. 2. Safety check: review the SKILL.md and scripts for anything suspicious (unexpected network calls, shell commands, credential harvesting). This repo should contain zero secrets in code, credentials only via the secure vault, allowed hosts declared in the SKILL.md. Verify that holds here; STOP on any red flag and tell me. 3. Install it as a skill: copy SKILL.md and its helper files into the agent's skills directory, in a folder named "generating-images". 4. Verify with no network calls: frontmatter valid, files in place. 5. Report what was installed, where, and what I still need to do myself (e.g. provide my OPENAI_API_KEY via the secure vault β the skill will not read it from .env or 1Password on its own). GitHub is optional: if I have a GitHub account or the gh CLI, you may use it; otherwise public access is fine. Never require it unless it's in the prerequisites above. Rules: don't touch anything outside the temp folder and the install target. If anything looks off, stop and ask me.
Questions
How do I install a build?
Every product page includes a copy-paste install prompt. Paste it into your Muse and it sets the build up for you β no manual configuration.
Where does my money go?
Straight to the seller. Skill Harbor never processes payments: checkout happens on the sellerβs own page, usually Stripe.
What does the β next to a creatorβs name mean?
It means we confirmed the identity of the person behind the listing. It says nothing about the code itself β always check a build before installing it.