cpa-gpt-image-2
Installation
SKILL.md
cpa-gpt-image-2
Use this skill when image generation should go through the CPA blog pattern: a normal text model invokes the image_generation tool over a compatible /v1/responses endpoint.
What this skill does
- sends a request to an OpenAI-compatible
/v1/responsesendpoint - matches the CPA blog example request shape closely
- uses the
image_generationtool - defaults to model
gpt-5.4 - prefers non-streaming mode by default for simpler and more stable parsing
- can switch to streaming mode when needed
- automatically retries short image rate-limit responses
- automatically retries transient
tools: []text fallbacks from the gateway - keeps credentials in environment variables, never in the skill files
Important rule
Do not treat gpt-image-2 as the direct model on gateways that do not expose that model.