Start keyless, add real authentication
Try the API without provisioning anything. For production, use scoped per-project keys instead of a shared account-wide token.
POST a file with no account or API key and get a CDN URL back. Anonymous uploads last about 30 days; add a free project key for managed images without that fixed expiration. Free-plan retention applies.
The curl example needs no account or key and returns a temporary CDN URL. For permanent managed images, add a free project key as shown in the Node and Python examples.
Before you pick one — or build your own on top of S3 — check for these.
Try the API without provisioning anything. For production, use scoped per-project keys instead of a shared account-wide token.
Serving is where naive S3 setups get expensive. A global CDN with zero egress (via Cloudflare R2) means bandwidth doesn't bill you by surprise.
Networks fail; a retried upload shouldn't create duplicates or error out. Retry-safe by design.
List, fetch, and delete images by ID — the operations you need once real data accumulates.
A machine-readable contract means predictable error codes and easy client generation — and lets AI agents consume the API directly.
A good API fails clearly: 401 for a bad key, 413 when a file is over your plan's size cap, 400 with invalid_file for an unsupported type. No guessing, no HTML error pages — just JSON your code (or your agent) can branch on. PixelVault publishes the full contract as an OpenAPI 3.1 spec.
Going deeper: the image upload API covers file, URL and batch uploads with limits, and the image CDN API covers resizing and format conversion through the URL.
Wiring it into a coding agent? See image hosting for AI agents. Want to try it without code first? Use the free image-to-URL tool or PDF-to-URL tool. Comparing options? Here are the best Cloudinary alternatives and how PixelVault stacks up against ImgBB.
Not sure which route your agent should take? Compare the four ways an agent can upload an image.
Yes. Upload without an account or API key and get a temporary CDN URL kept for about 30 days. For production, the free tier includes 200 MB storage, 500 uploads/month, and 1 GB bandwidth — no credit card and no trial expiry.
POST the file to /v1/images with no API key. The response contains a CDN URL in one call. Anonymous uploads are kept for about 30 days; add a free project API key for managed images without that fixed expiration. Free-plan retention still applies.
JPEG, PNG, GIF, WebP, AVIF, SVG and PDF. Images are served with the correct Content-Type; PDFs are forced downloads and do not support image transforms.
ImgBB exposes an upload-only API with its key in the query string and no documented delete endpoint; Cloudinary is a full media-processing platform with SDKs and an $89/month floor. PixelVault supports keyless trials plus per-project keys, image management, zero egress fees, and a free tier.
Yes. An agent can upload without an account in one call, or register with an email for a project API key. The service is discoverable via llms.txt, an OpenAPI 3.1 spec, and a remote MCP server.
Free tier: 200 MB storage, 500 uploads/month, no credit card. Paid plans start at $9/month.