Image
Body
filestring · binaryRequired
Image file to process
actionstring · enumRequiredPossible values:
Image operation to perform
optionsstringOptional
JSON string. Resize: {"width":800,"height":600,"fit":"contain","quality":0.9}. Rotate: {"angle":90}. Compress: {"quality":0.85,"format":"jpeg"}
Responses
200
Processed image file
image/*
string · binaryOptional
202
Job queued for async processing
application/json
400
Invalid action, missing file, or non-image file
413
File exceeds 25MB limit
429
Rate limit exceeded or queue full
post
/api/image-processLast updated