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"
}

Four capabilities
| kind | What goes in | What comes out | Typical time |
|---|---|---|---|
| enhance | A photo, a style | The photo with better light, colour and detail | 20–40 s |
| edit | A photo, an instruction in words | The photo, changed as described | 20–40 s |
| upscale | A photo, 2× or 4× | The photo at two or four times the size | 10–30 s |
| video | A photo, a motion in words, 1 to 5 seconds | A looping clip that starts on the photo | a few minutes |
GET /capabilities lists what is available right now, with limits, expected seconds and credit cost.
How it works
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.
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.
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.