Submit structured image jobs to POST https://api.splixir.com/v1/jobs with kind: "image" (or omit kind and use image.* operation names). Splixir probes the input, applies operations in array order while preserving animation frames and timings on animated GIF and WebP images, verifies the output, and delivers a signed URL. Explore the full OpenAPI 3.1 schema in the REST API reference .
jpeg (jpg), png, webp, avif, heic, gif, bmp, tiff (tif), ico, tga, ppm, and svg.
Splixir rejects svg inputs containing <!DOCTYPE> or <!ENTITY> declarations (422 unsafe_svg).
jpeg, png, webp, avif, heic, gif, bmp, tiff, ico, tga, and ppm.
Transforms on animated gif and webp inputs preserve frames, frame delays, and loop counts automatically across resize, crop, filter, watermark, and composite steps. Splixir rejects animated inputs with more than 500 frames or more than 100 total megapixels across all frames. The job fails with a clear error instead of dropping frames.
Limit
Value
Operations per job
10 max
Animated frames
500 max
Animated total pixels (all frames)
100 megapixels max
Total pixel count
100 megapixels max
Edge length
16,384 px per side max
File size (Free)
25 MiB max
File size (PAYG, Basic, Pro, Scale, Studio)
100 MiB max
Field
Type
Notes
format
string
One of the 11 output formats
quality
integer
1 to 100
background
string
Hex color (#RRGGBB or #RRGGBBAA) for flattening transparency
icoSizes
integer[]
1 to 8 sizes, each 16 to 512 px (for ico output)
destination
string
Presigned PUT URL (mutually exclusive with bucketId)
bucketId
string
Saved BYO storage bucket ID (bkt_...)
objectKey
string
Destination key inside bucketId
Upload a local file with POST /v1/uploads/presign, or use a public HTTPS image URL.
Send POST https://api.splixir.com/v1/jobs with kind: "image", input, and operations (add wait: true for synchronous response up to 25 seconds).
Fetch output.downloadUrl or inspect GET /v1/jobs/:id/report.
Type
Purpose
resize
Scale dimensions with fit control
crop
Extract a pixel region or aspect ratio
rotate
Rotate by angle (-360 to 360)
flip
Mirror horizontally, vertically, or both
pad
Add edge padding
trim
Trim uniform outer borders
blur
Apply Gaussian blur
sharpen
Sharpen edges
adjust
Tune brightness, contrast, saturation, and gamma
filter
Apply a named visual filter
pixelate
Apply mosaic pixelation
watermark
Render a text or image watermark overlay
composite
Overlay a second image from URL, upload, or chained job
strip_metadata
Strip EXIF while optionally keeping orientation and color profile
convert
Encode output format and quality
text
Draw multi-line text with size, color, and alignment
corners
Round corners with a transparent mask
grid
Combine the input and up to 16 images into one grid
At least one of width or height is required.
Field
Type
Notes
width
integer
1 to 16384
height
integer
1 to 16384
fit
string
contain, cover, fill, inside, outside (default inside)
withoutEnlargement
boolean
Default true
background
string
Hex color (#RRGGBB or #RRGGBBAA)
{ "type" : " resize " , "width" : 1200 , "fit" : " inside " , "withoutEnlargement" : true }
Supports mode: "region" (pixel box) and mode: "aspect" (ratio + gravity).
Field
Type
Notes
mode
string
region or aspect
x, y
integer
Region top-left coordinates (>= 0, region mode)
width, height
integer
1 to 16384 (region mode)
aspectRatio
string
W:H positive integers, for example 16:9 (aspect mode)
gravity
string
center, north, south, east, west, smart (default center, aspect mode)
{ "type" : " crop " , "mode" : " aspect " , "aspectRatio" : " 16:9 " , "gravity" : " smart " }
Field
Type
Notes
angle
number
-360 to 360 (required)
background
string
Hex color for exposed corners
expand
boolean
Expand canvas to fit rotated bounds (default true)
{ "type" : " rotate " , "angle" : 90 , "expand" : true }
Field
Type
Notes
direction
string
horizontal, vertical, or both (required)
{ "type" : " flip " , "direction" : " horizontal " }
Field
Type
Notes
top, right, bottom, left
integer
0 to 4096 each (default 0)
background
string
Hex color (default #00000000)
{ "type" : " pad " , "top" : 20 , "right" : 20 , "bottom" : 20 , "left" : 20 , "background" : " #FFFFFF " }
Field
Type
Notes
threshold
number
0 to 100 (default 10)
{ "type" : " trim " , "threshold" : 10 }
Field
Type
Notes
radius
number
0.5 to 50 (default 2)
{ "type" : " blur " , "radius" : 2 }
Field
Type
Notes
amount
number
0.5 to 5 (default 1.5)
radius
number
0.5 to 10 (default 1.5)
{ "type" : " sharpen " , "amount" : 1.5 , "radius" : 1.5 }
Field
Type
Notes
brightness
number
0.1 to 3.0
contrast
number
0.1 to 3.0
saturation
number
0.0 to 3.0
gamma
number
0.2 to 5.0
{ "type" : " adjust " , "brightness" : 1.1 , "contrast" : 1.15 , "saturation" : 1.0 }
Field
Type
Notes
name
string
grayscale, sepia, invert, auto_contrast, equalize, emboss, contour
{ "type" : " filter " , "name" : " grayscale " }
Field
Type
Notes
blockSize
integer
2 to 100 (default 10)
{ "type" : " pixelate " , "blockSize" : 10 }
Provide at least one of text or imageUrl.
Field
Type
Notes
text
string
1 to 120 chars
imageUrl
string
Public HTTPS image URL for an overlay watermark
position
string
top-left, top-right, bottom-left, bottom-right, center (default bottom-right)
opacity
number
0.05 to 1 (default 0.5)
fontSize
integer
12 to 200 (default 28)
color
string
Hex color (default #FFFFFF)
margin
integer
0 to 200 (default 20)
{ "type" : " watermark " , "text" : " Preview " , "position" : " bottom-right " , "opacity" : 0.5 }
Overlay a second image onto the base image. Specify exactly one source field: imageUrl, uploadId, or jobId (with optional output label).
Field
Type
Notes
imageUrl
string
Public HTTPS URL of overlay image
uploadId
string
Completed upload ID (upl_...)
jobId
string
Delivered parent job ID (job_...)
output
string
Output label on jobId (only allowed with jobId)
position
string
top_left, top_center, top_right, center_left, center, center_right, bottom_left, bottom_center, bottom_right, or custom (default bottom_right)
x, y
integer
Custom coordinates (-16384 to 16384)
width
integer
Overlay width in pixels (1 to 16384)
height
integer
Overlay height in pixels (1 to 16384)
scale
number
Relative overlay scale factor (0.05 to 2.0)
opacity
number
Overlay opacity (0.05 to 1.0, default 1)
marginPx
integer
Edge margin in pixels (0 to 500, default 16)
"type" : " image.composite " ,
"imageUrl" : " https://cdn.example.com/badge.png " ,
"position" : " bottom_right " ,
Field
Type
Notes
keepOrientation
boolean
Preserve EXIF display orientation (default true)
keepColorProfile
boolean
Preserve ICC color profile (default true)
{ "type" : " strip_metadata " , "keepOrientation" : true , "keepColorProfile" : true }
Field
Type
Notes
format
string
One of the 11 output formats (required)
quality
integer
1 to 100
lossless
boolean
Enable lossless encoding where supported
progressive
boolean
Enable progressive encoding
background
string
Hex color for alpha flattening
colorProfile
string
keep (default) or srgb to convert pixels to sRGB
{ "type" : " convert " , "format" : " webp " , "quality" : 82 }
Draws text on the image. Use \n in content for multiple lines.
Field
Type
Notes
content
string
1 to 2000 chars (required)
fontSize
integer
8 to 400 (default 32)
color
string
Hex color (default #000000)
position
string
top_left, top_center, top_right, center_left, center, center_right, bottom_left, bottom_center, bottom_right, or custom (default bottom_left)
opacity
number
0.05 to 1 (default 1)
align
string
left, center, or right (default left)
marginPx
integer
Edge margin in pixels (0 to 500, default 16)
x, y
integer
Custom coordinates for custom position
{ "type" : " text " , "content" : " Spring collection " , "fontSize" : 32 , "color" : " #FFFFFF " }
Rounds the corners and writes transparency outside the radius. Pick an output format that keeps alpha, such as png, webp, or avif. Verification fails the job when the output loses the alpha channel.
Field
Type
Notes
radius
integer
0 to 4096 (required)
{ "type" : " corners " , "radius" : 24 }
Combines the input image and imageUrls into one grid. Each image fills a cell with cover fit or fits inside it with contain.
Field
Type
Notes
imageUrls
string[]
2 to 16 public HTTPS image URLs (required)
columns
integer
1 to 8 (default fits the image count)
gapPx
integer
0 to 200 (default 8)
background
string
Hex color (default #FFFFFF)
fit
string
cover (default) or contain
"imageUrls" : [ " https://cdn.example.com/a.jpg " , " https://cdn.example.com/b.jpg " ],