Skip to main content
POST

Authorizations

x-api-key
string
header
required

An API key of your account, created on makeseamless.com and sent in the x-api-key header. Keys start with smls_. On the Free plan, the images of a fix started with a key carry a watermark; on Pro they are clean.

Body

multipart/form-data
file
file
required
binary

The image file (PNG, JPEG or WebP).

repeat
enum<string>
required

straight: plain repeat on both axes. half_drop: the next column is shifted down by half the height (needs an even height). half_brick: the next row is shifted right by half the width (needs an even width).

Available options:
straight,
half_drop,
half_brick

Response

The job, queued, or already succeeded when cached.

id
string
required
Pattern: ^job_[0-9a-f]{32}$
status
enum<string>
required
Available options:
queued,
running,
succeeded,
failed
stage
enum<string>
required

Progress for display; it only moves forward. queued: waiting to start. fixing: seamless versions of the image are being made. finishing: the result and its files are being prepared. finished: the job succeeded or failed.

Available options:
queued,
fixing,
finishing,
finished
repeat
enum<string>
required

straight: plain repeat on both axes. half_drop: the next column is shifted down by half the height (needs an even height). half_brick: the next row is shifted right by half the width (needs an even width).

Available options:
straight,
half_drop,
half_brick
cached
boolean
required

True when the same image was fixed before and this result was served again, at no charge.

input
object
required
created_at
string<date-time>
required
date-time
started_at
string<date-time> | null
required
date-time
finished_at
string<date-time> | null
required
date-time
result
object | null
required

Present when status is succeeded.

error
object | null
required

Present when status is failed.

candidates
object[]
required

The other images of a succeeded job, candidate_a (the result.alternative) first. Empty until the job succeeded, and for a failed job.