gpt-image-2
Installation
SKILL.md
GPT Image 2 on RunAPI
Generate and edit images with GPT Image 2 through RunAPI. The default path for one-off agent tasks is the runapi CLI; SDKs are for application integration.
Critical: Integration Runtime
- Integration work (app, backend, worker, library, Rails service, Node service, Go service, webhook pipeline, or production codebase) uses the SDK integration path for the target language.
- One-off generation, editing, transformation, manual smoke tests, debugging, or user-requested CLI runs use the CLI path with the
runapibinary. For full CLI-specific agent guidance, see https://github.com/runapi-ai/cli-skill. - Never shell out to the
runapiCLI as the production runtime integration layer.
SDK integration path
When integrating GPT Image 2 into an app, backend, worker, library, Rails service, Node service, Go service, webhook pipeline, or production workflow, start by checking the current SDK package and official usage. Confirm install commands, client methods (create, get, run), request fields, response shape, and error classes before using CLI help or raw HTTP examples. Use a RunAPI SDK package:
- JavaScript / TypeScript:
@runapi.ai/gpt-image-2 - Ruby:
runapi-gpt_image_2 - Go:
github.com/runapi-ai/gpt-image-2-sdk/go