> ## 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.

# Credits, plans and prices: what a pattern seam fix costs

> Checks are free. See what a fix costs in credits, what the Free and Pro plans give, the monthly credits and top-ups, and when a fix costs nothing.

Checks are free. A fix costs credits, the same from the app, the API or an
agent. Prices are in US dollars, and `GET /v1/plans` returns them live.

## How many credits does a fix cost?

* A fix costs `fix_credits.credits` credits, and a tile above
  `fix_credits.large_above_px` on either side costs
  `fix_credits.large_credits`. [List plans](https://makeseamless.com/docs/api-reference/account/retrieve-a-list-of-plans.md)
  returns the current numbers, so read the cost from there before a fix.
* The credits are held when the job starts and come back when it fails with
  `no_seamless_candidate`, `service_unavailable` or `interrupted`.
* The same file with the same repeat type, fixed before, returns the stored
  result at no charge, with `cached` true. Sent again while its fix is still
  running, it returns the same job, at no charge.
* A fix is paid from the account's credits. When there are not enough,
  `POST /v1/fix` answers `402` `insufficient_credits` with
  `details.credits_needed`.

## Which plans are there, and what do they cost?

| Plan | Monthly | Billed yearly | What you get |
| - | - | - | - |
| Free | \$0 | | Unlimited checks |
| Pro 50 | \$19 a month | \$15 a month, \$180 a year | 50 a month, or 600 a year |
| Pro 135 | \$49 a month | \$39 a month, \$468 a year | 135 a month, or 1,620 a year |
| Pro 280 | \$99 a month | \$79 a month, \$948 a year | 280 a month, or 3,360 a year |
| Pro 430 | \$149 a month | \$119 a month, \$1,428 a year | 430 a month, or 5,160 a year |
| Enterprise | Contact us | | Set with you |

* **Free** has unlimited checks and gets no credits at sign-up. Fixes are
  paid with credits, which come with a Pro plan.
* **Pro** grants its tier's credits for fixes. A yearly plan is billed once
  a year and grants twelve months of credits at each yearly payment. Each
  paid invoice sets the plan credits to the plan's allowance, so plan
  credits left at a renewal do not carry over.
* **Top-ups** are for Pro accounts: 10 to 10,000 credits in one purchase, at
  the tier's price per credit: \$0.380, \$0.363, \$0.354 or \$0.347.
* **Enterprise** credit volume and price are set with you. Write to
  [sales@makeseamless.com](mailto:sales@makeseamless.com).

Fixes spend the plan credits first, then the sign-up credits, then the
top-up credits.

Subscribing, buying top-ups, changing the plan and cancelling are done signed
in on [makeseamless.com](https://makeseamless.com/pricing), never with an API
key.

## How do I see my credits from the API?

`GET /v1/me` returns the account behind your key: `plan` (`free`, `pro` or
`enterprise`), `tier`, `interval`, `subscription_status`, and `credits` by
kind with their `total`.

An agent reads it before a fix to tell the user what the fix costs and what
is left. [Get account](https://makeseamless.com/docs/api-reference/account/retrieve-the-current-account.md)
runs it against your own key.


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