API & Developers

Two ways to integrate. Pick your depth.

Drop-in widget for a live product page in hours, no backend work. Or a full REST API if you're building a custom or headless storefront and want raw render access.

REQUEST
POST /v1/renders
Authorization: Bearer {api_key}
Content-Type: application/json

{
  "photo_url": "https://.../shopper.jpg",
  "garment_sku": "DEN-118-BLK",
  "size_chart_id": "chart_44g2",
  "mode": "single_item"
}
01 — Two integration paths

Widget or raw API — both hit the same render engine.

Drop-in widget

One script tag, live in hours

Embed the widget on any product page with a single injection — no backend work, no API integration required. Best for most Shopify/WooCommerce merchants and simple custom sites.

Full REST API

Build the UI yourself

Call the render and sizing endpoints directly from your own storefront, app, or checkout flow. Best for headless commerce and custom platforms.

02 — Quickstart

Auth, sandbox, and your first render.

01

Get sandbox credentials

Request access below — sandbox keys ship same-day, no contract required to start testing.

02

Call /v1/renders

POST a photo URL, garment SKU, and your size chart ID. Get back a render URL and fit-confidence score.

03

Go to production

Swap sandbox keys for production keys once you're ready — same endpoints, same response shape.

[Placeholder — link to full API reference / OpenAPI spec once developer docs are published, e.g. docs.omnyfit.com.]

03 — Reference

Response shape.

{
  "render_id": "rnd_8f2c1a",
  "status": "complete",
  "render_time_ms": 1820,
  "recommended_size": "M",
  "fit_confidence": 0.96,
  "output_url": "https://cdn.omnyfit.com/renders/rnd_8f2c1a.jpg"
}

[Placeholder — real field list, error codes, and rate limits go here once finalized by engineering.]

Get sandbox API access.