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
Stronger alternatives
Audit results are mixed — compare nearby options before installing.
This skill is safe. It uses the official Pilio CLI tool to provide image generation and editing capabilities through the vendor's API. No malicious patterns were detected.
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: