Images

Upscale an image (async)

Submit an upscale job for an image already in your library. Returns a krea_job_id and generation_id. Poll GET /v1/images/upscale-status with those values.

Typical flow:

  1. Generate an image → get result.file_uuid
  2. Upscale that file_uuid → get krea_job_id + generation_id
  3. Poll upscale-status until completed
post/v1/images/upscale

Request

  • Base URL: https://contentmaschine.ai/api
  • URL: https://contentmaschine.ai/api/v1/images/upscale
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://contentmaschine.ai/api/oauth/authorize, token URL https://contentmaschine.ai/api/oauth/token)

Request body

file_uuidstring uuid required

UUID of a file in your library (e.g. from a completed generate job).

provider'krea_topaz' | 'krea_bloom'

krea_topaz = generative quality; krea_bloom = creative detail.

scale2 | 4 | 6 | 8

Upscale multiplier.

auto_downscaleboolean

When the output would exceed the provider limit (krea_topaz 16000px, krea_bloom 10000px on the longest side), shrink the source to fit first. Without it such a request answers 400 needs_downscale with the suggested target_width/target_height, and nothing is charged.

Response

Upscale job submitted

successboolean
timestampstring date-time

Example response

{
  "success": true,
  "data": {
    "status": "processing"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.