Photta API

Photta API virtual try-on, ghost mannequin and product photography by REST

In one sentence

The Photta API is a credit-based REST API: POST a product photo to a capability endpoint, poll its status endpoint every few seconds, download the finished image. Eight capabilities, one key, one credit balance.

  • Capabilities: 8 capabilities
  • Rate limit: 600 requests/min
  • Auth: Bearer key
  • Pattern: async, polling

Every figure on this page comes from the Photta API docs · checked

RESPONSE=$(curl -s -X POST https://api.photta.app/api/v1/tryon/apparel \
  -H "Authorization: Bearer $PHOTTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "product_type": "top",
  "product_images": [
    "https://cdn.yourstore.com/products/shirt-front.jpg"
  ],
  "product_back_image": "https://cdn.yourstore.com/products/shirt-back.jpg",
  "product_category": "t_shirt",
  "mannequin_id": "mnk_f3a9b1",
  "pose_id": "pose_c2d4e5",
  "background": "https://cdn.yourstore.com/backgrounds/studio-loft.jpg",
  "lock_background": true,
  "resolution": "2K",
  "aspect_ratio": "3:4",
  "body_size": "M",
  "expression": "neutral",
  "user_instruction": "Keep the collar pattern crisp and centered."
}')
ID=$(echo "$RESPONSE" | jq -r '.data.id')

Capabilities

Every endpoint, by capability

Method, path, credits and typical time, straight from the API docs. Facts on this page are checked against the docs on the date shown at the bottom.

Quickstart

From signup to first image in five minutes.

Every capability follows the same pattern: authenticate, submit, poll. Learn it once.

  1. Step 1: Sign up at ai.photta.app and generate a live API key from the Developers dashboard.

  2. Step 2: POST the job with your key in the Authorization header — the API returns a generation ID immediately.

  3. Step 3: Poll the same endpoint every 3 seconds until status flips to completed, then download the result URL.

Quickstart

Questions

Things developers ask before signing up

What is the Photta API?

Photta's API is a credit-based REST service that generates professional fashion photography from your product photos. It's the same pipeline that powers Photta's consumer apps — virtual apparel try-on, jewelry try-on, and ghost mannequin extraction, exposed as eight capabilities for developers to build their own tools on top of.

How do I get an API key?

Sign up at ai.photta.app, open the Developers section of the dashboard, click Generate API key. Your live key starts with `photta_live_` followed by 32 hex characters. Keep it in an environment variable — never commit it to source control, never ship it to the browser.

Is there a free tier?

New accounts receive trial credits you can spend on any capability. Once you're ready to ship, subscribe to a plan with a higher monthly credit balance. The rate limit is the same on every plan: 600 requests per minute per API key. No per-call minimums.

How fast is generation?

Try-on and ghost mannequin jobs typically complete within 1.5 to 4 minutes; eyewear shots, detail photos and workflow images in 20 to 60 seconds; mannequin generation in 30 to 60 seconds. Every generation endpoint is asynchronous: POST returns a generation ID at once, and you poll every 3 to 5 seconds until the job finishes. There is no long-held HTTP connection to manage.

Is there an official Photta SDK?

Not yet. The supported integration path is raw REST via cURL, Node's native fetch, or Python's requests library — all three are documented end-to-end on this site, for every capability.

Reference

The parts of the docs you will open more than once.

Every figure on this page comes from the Photta API docs · checked

Try the API in five minutes

Generate a Photta API key, paste the cURL snippet above, and you'll have your first on-model image before the coffee finishes brewing.

  • 8 capabilities
  • 600 requests/min
  • Bearer key
  • async, polling