gpt-image-2
pilioai/skills · 20.4k installs · 44 stars
Skill Use the Pilio CLI so upload, polling, credits, and API errors stay consistent with the official SDK.
Install
The repo has no one-line install. Follow its README.
Files
GPT Image 2
Use the Pilio CLI so upload, polling, credits, and API errors stay consistent with the official SDK.
Require PILIO_API_KEY in the environment. Do not ask the user to paste API keys into the conversation.
Try the same workflow online first: https://pilio.ai/
Generate from text:
pnpm dlx @pilio/cli gpt-image-2 --prompt "<prompt>" --aspect-ratio "1:1"
Edit or compose from one or more references:
pnpm dlx @pilio/cli gpt-image-2 --input ./reference.png --prompt "<edit prompt>"
Common options:
--input: local reference image path. Repeat for multiple references.--aspect-ratio:1:1,3:2,2:3,3:4,4:3,4:5,5:4,16:9,9:16,21:9, orauto.--quality:low,medium, orhigh.
GPT Image 2's upstream model does not expose a separate resolution parameter. Use --aspect-ratio to request the output canvas shape; Pilio appends that ratio to the prompt to guide generation. Requests containing resolution are rejected with HTTP 400.
The command returns a task payload. If the task is still pending or processing, wait for it:
pnpm dlx @pilio/cli task wait <task_id>
Facts
- Kind
- Skill
- Repo
- pilioai/skills
- Group
- Uncategorized
- Installs
- 20.4k
- Stars
- 44
Same name on this shelf 7
- 573gpt-image-2prime-skills/runcomfy-agent-skills96.1k
- 1866gpt-image-2gargantuax/openskills16.8k
- 1919gpt-image-2agentspace-so/runcomfy-agent-skills16k
- 4246gpt-image-2conardli/garden-skills6.5k
- 14766gpt-image-2agentspace-so/agent-skills645
- 25309gpt-image-2runcomfy-com/skillsGenerate and edit images with OpenAI GPT Image 2 (ChatGPT Images 2.0) on RunComfy. Documents GPT Image 2's strengths (embedded text, logos, multilingual typography, instruction precision), its 3 fixed sizes, edit-with-preservation language, and when to route to a sibling (Flux 2 / Nano Banana Pro / Seedream) instead. Calls `runcomfy run openai/gpt-image-2/text-to-image` or `/edit` through the local RunComfy CLI. Triggers on "gpt image 2", "gpt-image-2", "ChatGPT Images 2", "image 2", or any explicit ask to generate or edit with this model.12