encore
encore API

Restyle people from your own code.

The same engine behind Encore, exposed as a simple REST API. Authenticate with a key, POST a photo and a style, and get a restyled render back — same person, brand-new outfit — metered by the credits already in your account. Build it into a store, a styling app, a marketplace, whatever you like.

Request
curl -X POST https://encore-soultosoul.vercel.app/api/v1/render \
  -H "Authorization: Bearer enc_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://your-cdn.com/person.jpg",
    "styleId": "streetwear"
  }'
200 OK
{
  "id": "gen_9f2c…",
  "output": "https://…/render.png",
  "styleId": "streetwear",
  "creditsCharged": 1,
  "creditsRemaining": 4812,
  "mock": false
}

Authenticate with a key

Create a key below and send it as a Bearer token. Keys are hashed at rest and revocable in one click.

1 credit per render

Each successful render spends one credit from your balance. Failed renders are automatically refunded.

Same styles as the app

Eight fashion styles — streetwear, old money, Y2K, formal and more — pass their ids straight through.

Built for volume

Pre-load credits in bulk.

Running renders at scale? Top up a single balance with a custom amount up to €20,000 in one payment — the more you buy, the better the per-credit rate. Credits never expire, and the whole team can share one key set.

Get your API key

Create a free account — you start with a credit to test a live render, and can generate an API key straight away.

Create an account free