> ## Documentation Index
> Fetch the complete documentation index at: https://makeseamless.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> MakeSeamless (makeseamless.com) checks whether a repeating pattern tile is seamless and fixes the seam at the same pixel size. Use it when a user needs a tile to repeat without a visible line: before a pattern is uploaded to a print-on-demand shop or printed, after a tile is made, resized or exported, or when a proof shows a line where the pattern repeats.
> Check first: POST https://makeseamless.com/v1/check with the image as the multipart field file. It is free and needs no account and no key. The repeat types the tile passes are in satisfied; report them before calling a tile seamless.
> Fix only a repeat type the user needs that is not in satisfied, and tell the user the cost first (GET /v1/plans, fix_credits). POST /v1/fix needs an API key in the x-api-key header. Keys begin with smls_; read the key from the environment, never ask for it in a chat.
> POST /v1/fix answers 202 with a job. Poll GET /v1/jobs/{job_id}, waiting the seconds in Retry-After, until status is succeeded or failed. The fixed PNG is at result.image_url. Answers are JSON, except the images, which are PNG.
> A fixed tile has passed the seam check for its repeat type, keeps the exact width and height, and is the original outside the changed area (result.changed_mask_url). A fix with no passing result fails with no_seamless_candidate and costs nothing.
> Branch on error.code, never on error.message, and retry only when error.retryable is true.

# MakeSeamless API: check and fix seamless pattern tiles

> Check whether a pattern tile is seamless for free, with no key, and fix its seam at the same pixel size. Every fix you download has passed the seam check.

MakeSeamless (makeseamless.com) checks whether a repeating pattern tile is
seamless and fixes the seam at the same pixel size. The check is free and
needs no account, every fix you download passes the seam check for the
repeat you chose, and a fix with no passing result costs nothing.

## Why check a tile before it prints?

A tile can look finished on its own and still show a line where its copies
meet: a faint white line, a grid of pixel lines, edges a few pixels off. The
line often appears only once the pattern repeats at print size, on the proof
or on the product, after the sample or the order is paid for. Fixing it by
hand is trial and error, and the same steps do not promise the same result.
[Why tiles show a line](https://makeseamless.com/docs/knowledge-base/why-a-seamless-tile-shows-a-line-in-print.md)
explains where seams come from and what a verified result means.

## What does the API do?

Send a tile and learn, for each repeat type (straight, half-drop and
half-brick), whether it tiles without a seam and where its edges break. When
it does not, start a fix and get the same tile back at the exact same pixel
size, repeating cleanly for the repeat type you chose. The result carries the
seam report before and after and a mask of what changed; outside that area,
every pixel is your original.

## What do I need to start?

1. A tile: a PNG, JPEG or WebP image
2. For a fix, [an API key](https://makeseamless.com/docs/authentication.md) from your account

The check needs neither an account nor a key. The
[quickstart](https://makeseamless.com/docs/quickstart.md) runs a check, then a fix, one request at a time.

## Where does the check fit in my workflow?

Check each tile where a seam usually slips in, before any money is spent:
after you make or generate it, after you resize or export it for print, and
before you upload it to a print-on-demand shop or order a sample. Fix only
the repeat types you sell in that fail. An agent can run the same check on
every tile it makes; [Connect an agent](https://makeseamless.com/docs/connect-an-agent.md) shows how.

## Explore

> [card] [Check a tile](https://makeseamless.com/docs/check.md)
>
> A verdict per repeat type, free and at once.

> [card] [Fix a tile](https://makeseamless.com/docs/fix-and-jobs.md)
>
> A job that returns the tile repeating cleanly.

> [card] [What a fix costs](https://makeseamless.com/docs/credits-and-plans.md)
>
> Credits, the free fix of the day, plans.

> [card] [Connect an agent](https://makeseamless.com/docs/connect-an-agent.md)
>
> A prompt, a skill file and the machine files.

## Reference

> [card] [API introduction](https://makeseamless.com/docs/api-reference/introduction.md)
>
> Base URL, authentication, answers, versioning.

> [card] [Errors](https://makeseamless.com/docs/errors.md)
>
> Every stable code and when a retry helps.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.