Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: SammaPix API — Image & PDF processing for AI agents…
version: 1.0.0
description: Agent-native image and PDF processing. Deterministic ops (compress, convert, resize, crop, rotate, watermark, PDF compress/split/merge/rotate, image-to-PDF), AI vision (describe, alt text, OCR, tags, filename, document extraction) and a pipeline that chains image ops in one call. Pay-as-you-go with a free daily tier, zero-retention (files processed in memory and discarded). Also available as a remote MCP server at /api/mcp (OAuth 2.1, no API key to paste).
contact:
name: SammaPix
url: https://www.sammapix.com/for-ai-agents
servers:
- url: https://www.sammapix.com
security:
- bearerAuth: []
tags:
- name: Pipeline
paths:
/api/v1/pipeline:
post:
summary: Chain multiple image operations in one call
description: 'Runs an ordered list of image ops (the output of each feeds the next) and returns only the final image. Saves round-trips and tokens. Billed 1 credit per step. Chainable ops: compress, resize, crop, convert, rotate, flip, grayscale, blur, adjust, tint, negate, flatten, border, round, watermark.'
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
properties:
file:
type: string
format: binary
steps:
type: string
description: JSON array of { op, params }, e.g. [{"op":"resize","params":{"width":1200}},{"op":"convert","params":{"format":"webp","quality":80}}]. Max 12 steps.
required:
- file
- steps
responses:
'200':
description: Final image (binary).
content:
application/octet-stream:
schema:
type: string
format: binary
'401':
description: Missing or invalid API key.
'402':
description: Insufficient credits.
tags:
- Pipeline
operationId: postApiV1Pipeline
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'API key as ''Authorization: Bearer sk_live_...''. Generate one at https://www.sammapix.com/dashboard/api. Agents can also connect over MCP at /api/mcp with OAuth 2.1 (no key to paste).'