image-dpi-api
Image DPI API
Prepare an image for print. Send image_url with a dpi between 72 and 1200 (300 by default) and the file is re-tagged at its own pixel size, keeping the source format for PNG and JPEG — PNG is re-tagged by copying the metadata chunk, so the pixels are never decoded and never re-compressed. Add a size preset (4x6, 5x7, 8x10, 11x14, 12x18, 18x24, 24x36, a5, a4, a3, a2, letter, tabloid) or width_in / height_in to target a physical size instead, and allow_upsample to permit enlarging. Anything other than the native re-tag comes back as TIFF unless you pass format. An image with too few pixels for the size you asked for is rejected rather than silently stretched.
You can ask Image DPI to handle image generation/editing. Powered by Pixazo via the Pixazo API gateway.
How to use this skill (agent instructions)
When this skill triggers, follow this script. The user should only ever have to give you their API key once.
Step 1 — Make sure you have a Pixazo API key
Check for the API key in this order:
PIXAZO_API_KEYenvironment variable~/.pixazo/api-keyfile (one line, just the key)- The current conversation (user pasted it earlier)