
Description
gpt-image-2 is an agent skill from the openskills collection, listed on skills.sh. It gives an AI agent a single Python entrypoint for the GPT Image 2 API routes: generations for text-to-image, edits for mask-based image changes, and responses for streaming and mixed text and image flows. The skill runs strict checks before a request is sent, validating the model's size, aspect and feature limits. Its workflow tells the agent to choose the route, use gpt-image-2 for generations and edits, and use a text-capable Responses model for the responses route. It defaults to the OpenAI endpoint, and it allows another OpenAI-compatible endpoint when the user asks for one. The skill refers the agent to reference files for configuration and environment variables, and for the API surface. Running it requires an API key for the endpoint you use, and image generation is billed by the provider. A skill is a SKILL.md file of instructions, with scripts, that an AI agent loads when a task calls for it. The skill is listed as free on skills.sh.…
Highlights
- Text-to-image, edits and streaming responses
- Pre-flight checks on size and aspect
- Works with OpenAI-compatible endpoints
- Python script with three subcommands
Ratings & Reviews
No ratings yet
Be the first to rate gpt-image-2.
People also visit
gpt-image-2 FAQ
What does the gpt-image-2 skill do?
It helps an AI agent generate and edit images through the GPT Image 2 API, using one Python script.
How do I install it?
Run: npx skills add https://github.com/gargantuax/openskills --skill gpt-image-2
Is it free?
The skill is listed as free on skills.sh. Image requests are billed by the API provider.
What are the three routes?
Generations for text-to-image, edits for mask-based changes, and responses for streaming and mixed text and image output.
Which endpoint does it use?
The OpenAI endpoint by default, or another OpenAI-compatible endpoint if you set one.
What are the best gpt-image-2 alternatives?
Popular alternatives to gpt-image-2 include generate-image, ai-image-generation and gpt-image-edit. See all gpt-image-2 alternatives

















