Upscales
Upscale an image
Re-renders an image the account owns at `2K` or `4K` with an AI model, as a NEW asset (its `derivation` says so); the original is never changed. It is a faithful re-render, not a pixel-exact resample: keep or delete the result, nothing is refunded for a delivered render. Answers 202 at once; poll `GET /upscales/{upscaleId}` until `status` is `SUCCEEDED`, then read the asset at `GET /assets/{assetId}`. Credits are held when the request is accepted and charged only for a delivered image. `Idempotency-Key` is required.
Get an upscale
`status` is one of `QUEUED`, `PROCESSING`, `SUCCEEDED`, `FAILED`. On `SUCCEEDED` the new image is the asset `assetId` (always the `upscaleId`) and `output` its size once measured; on `FAILED`, `error.code` is one of `SAFETY_REFUSED`, `TRY_AGAIN`, `RENDER_FAILED`, `CANCELLED` and nothing was charged.