upscale-image

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Upscale Image

图像放大

Use the Pilio CLI so upload, task creation, and polling stay aligned with the official SDK.
Require
PILIO_API_KEY
in the environment. Do not ask the user to paste API keys into the conversation.
Run:
bash
pnpm dlx @pilio/cli upscale-image --input ./small.png
The command returns a task payload. If the task is still pending or processing, wait for it:
bash
pnpm dlx @pilio/cli task wait <task_id>
使用Pilio CLI可确保上传、任务创建和轮询操作与官方SDK保持一致。
环境中需要配置
PILIO_API_KEY
。请勿要求用户在对话中粘贴API密钥。
运行:
bash
pnpm dlx @pilio/cli upscale-image --input ./small.png
该命令会返回一个任务负载。如果任务仍处于待处理或处理中状态,请等待:
bash
pnpm dlx @pilio/cli task wait <task_id>