Skip to content

The studio, as an API

One request in, one result out. The same enhance, edit, sharpen and animate that run the studio, billed per result.

Keys open with the public launch. Until then the API is in use by our own apps.

Request

curl https://prettify.ai/api/v1/jobs \
  -H "Authorization: Bearer pf_live_…" \
  -H "Idempotency-Key: 7c1f…" \
  -d '{
    "kind": "enhance",
    "input_asset_id": "ast_8Qk2…",
    "params": { "style": "food" }
  }'

Response

HTTP/1.1 202 Accepted
{
  "id": "job_5tX9…",
  "status": "queued",
  "position": 2,
  "est_start": "2026-11-22T10:15:04Z"
}
After: A bowl of tagliatelle on a wooden table
Before: A bowl of tagliatelle on a wooden table
OriginalResult
What comes back. Drag the line.

Four capabilities

kindWhat goes inWhat comes outTypical time
enhanceA photo, a styleThe photo with better light, colour and detail20–40 s
editA photo, an instruction in wordsThe photo, changed as described20–40 s
upscaleA photo, 2× or 4×The photo at two or four times the size10–30 s
videoA photo, a motion in words, 1 to 5 secondsA looping clip that starts on the photoa few minutes

GET /capabilities lists what is available right now, with limits, expected seconds and credit cost.

How it works

  1. Submit

    Upload the photo straight to storage with a signed URL, then POST /jobs. You get 202 with a job id, its place in line and an estimated start.

  2. Poll, or get a webhook

    GET /jobs/{id} reports queued, running, succeeded, failed or cancelled. Or pass webhook_url and we call you. There is no percentage: we report what we know.

  3. Download

    A finished job lists its outputs with signed URLs that last an hour. Failed and cancelled jobs are never billed.

Pricing and limits

Price
Per succeeded result. Prices are being set and will be published here.
Rate limits
Per key. A request over the limit gets 429 with the time to try again.
Reference
The OpenAPI reference is published with the first public version.

Your photos, developed.

The iPhone app is on its way.