$npx -y skills add pilioai/skills --skill upscale-imageUpscale or enhance an image with the Pilio developer API. Use when the user wants higher-resolution images, AI super-resolution, image clarity improvement, or automated image enhancement through Pilio.
| 1 | # Upscale Image |
| 2 | |
| 3 | Use the Pilio CLI so upload, task creation, and polling stay aligned with the official SDK. |
| 4 | |
| 5 | Require `PILIO_API_KEY` in the environment. Do not ask the user to paste API keys into the conversation. |
| 6 | |
| 7 | Try the same workflow online first: https://pilio.ai/image-upscaler |
| 8 | |
| 9 | Run: |
| 10 | |
| 11 | ```bash |
| 12 | pnpm dlx @pilio/cli upscale-image --input ./small.png |
| 13 | ``` |
| 14 | |
| 15 | The command returns a task payload. If the task is still pending or processing, wait for it: |
| 16 | |
| 17 | ```bash |
| 18 | pnpm dlx @pilio/cli task wait <task_id> |
| 19 | ``` |