Ship images
by contract.
Design the request, secure the upload, constrain the transformation, and trace the result. Image API Guide connects the endpoint to the browser and the failure modes in between.
POST /v1/images
{
"source": "signed-upload",
"recipe": "catalog-card-v3",
"operation_id": "imgop_01J..."
}Four guides.
One production path.
Begin with the resource model, then follow the image through its trust boundary, transformation recipe, and recovery path.
What is an image API?
Model originals, assets, recipes, derivatives, and delivery.
Secure direct uploads
Keep bytes off your server and secrets out of the browser.
Stable transformation URLs
Control geometry, output policy, variants, and cache identity.
Operate the failure
Retry safely, reconcile ambiguity, and trace one logical operation.
Make every boundary explicit.
A durable integration tells you who approved the operation, which source and recipe produced the result, and whether the browser received what the product intended.
Contract before convenience
Know the HTTP behavior underneath the SDK.
Short-lived authority
Sign narrow upload intent, never expose the secret.
Finite transformation space
Approve recipes instead of concatenating raw input.
One operation story
Connect attempts, jobs, webhooks, and final state.
From endpoint
to operating model.
-

How to handle media uploads in my Ruby on Rails app with a Production Image API
Wrap transport in a small client that accepts normalized commands, streams bodies, returns typed outcomes, and exposes request identifiers.
-

How to auto-generate a 10-second preview from a long video: Image API Patterns for Posters, Frames, and Thumbnails
Separate the source video, processing job, renditions, captions, poster frames, and playback manifest so each has an inspectable readiness state.
-

Prevent Image Variant Cache Fragmentation
Canonicalize the transformation and version in the cache key, keep immutable URLs long-lived, and bound every Vary dimension.
-

How to replace the background object in product photos with AI with an Image Transformation API
Keep the original immutable, record the model operation and parameters, and require review where generated pixels could change product meaning.
Start with the image API contract.
Define the asset, trust boundary, recipe, cache identity, and failure state before framework code turns assumptions into dependencies.