A complete Python wrapper around OpenAI's image generation and editing endpoints, including the newer Responses API flows. It handles text-to-image, masked edits, multi-image batches, streaming with partial previews, and mixed text plus image inputs. The pre-flight validation catches unsupported model combinations before you waste tokens, and everything is configurable through environment variables or CLI flags. If you're doing anything beyond a single image generation, especially if you need streaming or want to chain edits with conversation context, this gives you the full surface area in one script. The dry-run flag and response saving are nice touches for debugging payloads before you send them.

skills.sh installs
16.8K
GitHub stars
7
last updated
Aug 21, 2026

Install

$ npx -y skills add gargantuax/openskills --skill gpt-image-2 --agent claude-code

Installs into .claude/skills of the current project.

Files

A complete Python wrapper around OpenAI's image generation and editing endpoints, including the newer Responses API flows. It handles text-to-image, masked edits, multi-image batches, streaming with partial previews, and mixed text plus image inputs. The pre-flight validation catches unsupported model combinations before you waste tokens, and everything is configurable through environment variables or CLI flags. If you're doing anything beyond a single image generation, especially if you need streaming or want to chain edits with conversation context, this gives you the full surface area in one script. The dry-run flag and response saving are nice touches for debugging payloads before you send them.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/gargantuax/openskills
Categories
Backend & APIs, Testing & QA, AI & Agent Building, Generative Media
First seen
May 16, 2026

More from gargantuax/openskills

All 2
1okx avatarokx-agent-payments-protocolokx/onchainos-skillsUse when an agent hits HTTP 402 / payment-required, or the user mentions x402, x402Version, X-PAYMENT, PAYMENT-REQUIRED, PAYMENT-SIGNATURE, WWW-Authenticate: Pa15.9Kskills.sh installs
2clerk avatarclerk-swiftclerk/skillsImplement Clerk authentication for native Swift and iOS apps using ClerkKit and ClerkKitUI source-guided patterns. Use for prebuilt AuthView or custom native fl15Kskills.sh installs
3clerk avatarclerk-expoclerk/skillsAdd Clerk authentication to Expo and React Native apps using @clerk/expo. Use for Expo setup, prebuilt native components (AuthView, UserButton), custom sign-in/14.8Kskills.sh installs
4base44 avatarbase44-sdkbase44/skillsThe base44 SDK is the library to communicate with base44 services. In projects, you use it to communicate with remote resources (entities, backend functions, ai13.3Kskills.sh installs
5base44 avatarbase44-clibase44/skillsThe base44 CLI is used for EVERYTHING related to base44 projects: resource configuration (entities, backend functions, ai agents), initialization and actions (r13.2Kskills.sh installs
6shopify avatarshopify-devshopify/shopify-ai-toolkitSearch Shopify developer documentation across all APIs. Use only when no API-specific skill applies.12.7Kskills.sh installs