Skip to content

Ollie API

A free JSON API for outfits and haircuts: dress an AI model (4 body types, 6 looks) in real clothes from the Ollie catalogue, and get the 3 best haircuts for any of 7 face shapes. No key needed. Ollie Pro keys add face shape from a photo and AI try-on.

Quick start

Base URL https://www.ollieml.com/api/v1. JSON in, JSON out, CORS open, so it works from a browser too. No key for the free endpoints:

Terminal
1curl -X POST https://www.ollieml.com/api/v1/outfit -H "Content-Type: application/json" \
2 -d '{ "gender": "female", "build": "athletic", "style": "old-money" }'
app.js
1const res = await fetch("https://www.ollieml.com/api/v1/outfit", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({ occasion: "date", build: "slim" }),
5})
6const outfit = await res.json()
7console.log(outfit.items.map((i) => `${i.name} (${i.color}) ${i.price}`))

Free and Pro

  • Free, no key: catalog, outfit, haircuts. Pure rules and real catalogue data, so they're free to run and free to call.
  • Pro key: face-shape (a face-mesh model) and try-on (an AI image edit). Send Authorization: Bearer ollie_sk_… from an account with Ollie Pro. Create keys on your account; Pro is on the Ollie Stylist.