Create or edit images with Pilio GPT Image 2 through the unified Pilio developer API. Use when the user wants text-to-image generation, prompt-based image editing, restyling, product-photo transformation, or composition from one or more local reference images.
Text-to-image generation and prompt-based image editing via the Pilio GPT Image 2 API.
Generate images from text prompts or edit and compose from one or more local reference images Supports multiple aspect ratios (1:1, 3:2, 16:9, 21:9, and more) and quality/resolution tiers (low/medium/high, 0.5K to 4K) Requires PILIO_API_KEY environment variable; use the Pilio CLI for consistent polling, credit tracking, and error handling Returns async task payloads with built-in task wait command for monitoring generation status
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
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: