← Files PikaARCHIVED FILE
skills/pika-resize/SKILL.md
1.19 KB · Oct 10, 2026 · 06:12 UTC
--- name: pika-resize description: Use when the user wants a photo, poster or ad image adapted to another aspect ratio or format, with its text reflowed (Smart Resize). --- # Smart Resize an image 1. Use the `resize_images` tool: it reframes one image to a new aspect ratio and reflows its text, keeping the copy and branding. For a video, use `pika-create` (it covers new aspect ratios for video). 2. Get the image in `image_urls` (`ask_for_media` with `kind: "image"`, or an earlier output url) and the target `aspect_ratio`: `1:1` (default), `9:16`, `16:9`, `3:4`, `4:3`, `21:9`, `2:3`, `3:2`, `4:5`, `5:4`. For several sizes, run once per ratio. 3. Optional: `resolution` `1K`, `2K` (default), `4K`; `quality` `low`, `medium`, `high` (default), `xhigh`, `max`; `output_format` `png` (default) or `jpeg`; `image_model` `openai/gpt-image-2.5-sunburst/image-to-image` (default) or `openai/gpt-image-2/image-to-image`, which caps quality at `high`; layout instructions in `prompt`. 4. Call `resize_images` with a fresh `request_id` and no `max_credits`, then follow the quote's `next` (it applies the user's approval mode). On a yes, call it again with the same input and `request_id` and the agreed `max_credits`.
SHA-256: 4a3eb0e9b71d04754f7e28b6da30e2493adac857ebfb396efada89d7c343743a