File operations
for AI agents.
Pay per use.

An API platform for PDF, image, and video processing — built for agents working on e-commerce, back office, design, and more. Per-operation billing via MPP ( x402 ) — your agent negotiates price and pays programmatically.

Quick Start

1. Set up Tempo Wallet

curl -fsSL https://tempo.xyz/install | bash
tempo wallet login

2. Tell your agent to set up Tempo

# Paste this into your agent
Read https://tempo.xyz/SKILL.md and set up tempo

3. Your agent calls Fylor — MPP handles payment

tempo request -X POST \
  -F "file=@doc.pdf" \
  -F "quality=ebook" \
  https://api.fylor.io/pdf/compress

402 → pays $0.05200 OK # ~1.2s
Powered byMPPx402Tempo

How it works

01

Request a resource

Your agent sends a standard HTTP request. No API keys, no special headers — just a normal POST with your file.

POST /pdf/compress
Content-Type: multipart/form-data
02

Receive a Challenge

Fylor returns 402 with a WWW-Authenticate Challenge specifying the price and accepted payment methods.

402 Payment Required
WWW-Authenticate: 
  amount=0.05 currency=USD
03

Pay and receive

Your agent pays, resends with a Credential in the Authorization header, and gets the processed file plus a Receipt.

Authorization: <credential>

200 OK
Payment-Receipt: <receipt>

Operations

Twelve operations across four file types. Flat per-request pricing or metered per-megabyte — no subscriptions.

PDF

Compress

$0.01

Reduce PDF file size with configurable quality presets

Convert

$0.018

Convert 30+ file types to PDF with full formatting control

Merge

$0.01

Combine multiple PDFs with page selection and bookmarks

Split

$0.01

Extract pages or split into multiple PDFs

Image

Compress

$0.012

Optimize file size with lossless and lossy modes

Convert

$0.012

Convert between 10+ formats — PNG, WebP, AVIF, HEIC, and more

Resize

$0.012

Scale, crop, and rotate with smart positioning

Watermark

$0.012

Add text or logo watermarks with tiling and rotation

Video

Convert

$0.0003/MB

Transcode between 17+ formats with full codec, bitrate, and quality control via FFmpeg

Compress

$0.0003/MB

Reduce video file size with quality presets and automatic codec selection

Audio

Convert

$0.0003/MB

Transcode between audio formats with codec, bitrate, and sample rate control

Compress

$0.0003/MB

Reduce audio file size with quality presets and automatic codec selection

Simple by design

Standard HTTP. Your agent sends a request, gets a 402 Challenge with the price, pays via MPP, and resends with a Credential. The processed file and a Payment Receipt come back.

No API keys. No webhooks. No SDK required. The protocol handles everything in the HTTP layer.

1# 1. Request the resource
2POST /pdf/compress
3Content-Type: multipart/form-data
4
5# 2. Server returns a Challenge
6HTTP/1.1 402 Payment Required
7WWW-Authenticate: <challenge>
8# amount=0.05, currency=USD, methods=[tempo, stripe]
9
10# 3. Agent pays, resends with Credential
11POST /pdf/compress
12Authorization: <credential>
13
14# 4. Result + Receipt
15HTTP/1.1 200 OK
16Content-Type: application/pdf
17Payment-Receipt: <receipt>

Why Fylor

Built for AI agents

Native MPP (x402) payment flow. Your agent negotiates price and pays programmatically — no dashboards, no manual steps, no human in the loop.

Per-operation pricing

Pay only for what you process. No monthly subscriptions, no minimums, no tiers. Operations start at $0.005 per request.

Every file type

PDF, images, and video in one API. Compress, convert, merge, split, resize, watermark — nine operations and growing.

Fast and reliable

Dedicated workers per file type. Sharp for images, Ghostscript for PDFs, FFmpeg for video. Built for throughput.