TinyPNG integration: operations for AI agents
TinyPNG connects to Type.com as an integration. This page lists the 12 operations documented for Claude and Codex in Type.com: 1 read, 11 write.
About TinyPNG
TinyPNG vendor API references, subject to account permissions.
Categories: Design & Media
How to connect TinyPNG to Type.com
- Access
- Organization connection: one shared account for the workspace.
To add the connection, follow the steps in Space connections.
Documented operations
12 operations. Your connection's permissions determine which operations are available. API references describe the vendor surface; they do not expand your connection's credentials or access.
Compression
- Write
Compress an uploaded image
Uploads binary image data, creates a compressed result, and returns 201 with Location/output/input metadata as shown. Content is image binary, not an invented JSON/base64 body.
POST /shrink - Write
Compress an image from a URL
JSON source.url instructs Tinify to fetch and compress the remote image; creates a result whose URL is in Location.
POST /shrink
Output and transformation
- Read
Download a compressed image
Retrieves the returned Location as binary with image size/dimension/content headers. Output token is an illustrative template for a returned URL, not an independently generated ID.
GET /output/{output_token} - Write
Resize proportionally by one dimension
resize.method=scale requires either width or height, not both; output has exactly that dimension. Source is not upscaled. Creates a derivative and counts an additional compression.
POST /output/{output_token} - Write
Fit within dimensions
resize.method=fit requires both width and height; scales down proportionally without exceeding either. No upscaling. Creates a derivative and counts another compression.
POST /output/{output_token} - Write
Resize and crop to exact dimensions
resize.method=cover requires both dimensions; intelligently crops to exact size while preserving important areas. No upscaling; original-source deletion is not documented.
POST /output/{output_token} - Write
Create an intelligent thumbnail
resize.method=thumb detects cut-out objects and adds background space or crops unimportant areas to requested dimensions. No upscaling; creates a derivative.
POST /output/{output_token} - Write
Convert image format
convert.type accepts documented target MIME choices or multiple targets and returns the smallest. Source says additional compression; JPEG XL input support does not establish JPEG XL conversion output.
POST /output/{output_token} - Write
Fill transparency during conversion
transform.background accepts a hex color or white/black strings. Required when converting transparent input to a type without transparency. Changes the derived output, not a documented deletion of the uploaded original.
POST /output/{output_token} - Write
Preserve selected image metadata
preserve selects copyright, creation or location(JPEG-only). Missing source metadata is not invented. Regenerates output with metadata/file-size overhead, without counting an extra compression.
POST /output/{output_token}
Cloud storage
- Write
Store output directly in Amazon S3
store.service=s3 sends output to bucket/path using supplied AWS key/secret/region. Requires declared PutObject/PutObjectAcl permissions; optional Cache-Control/ACL, default public-read or no-acl. Existing-object collision behavior is not specified here; no safe-create-only guarantee is inferred.
POST /output/{output_token} - Write
Store output directly in Google Cloud Storage
store.service=gcs writes bucket/path using supplied service-account access token, with optional Cache-Control. Counts another compression. Existing-object collision behavior is not specified by this reference.
POST /output/{output_token}
No operations match.
See How connections work for access and permissions, or browse all integrations.
Reference date: October 29, 2026. TinyPNG API docs.