Editing

Re-render a generation at a higher resolution

Re-renders an existing generation at the target resolution for sharper detail. Saves as a new generation in the source's own project. Costs credits at the target resolution (generate_*). The base is generation_id or asset_id (an uploaded image), never both; an asset is only read and its result lands in project_id (default: the asset's own project).

post/v1/upscale

Request

  • Base URL: https://nanostudiopro.com/api
  • URL: https://nanostudiopro.com/api/v1/upscale
  • Auth: HTTP bearer

Request body

generation_idstring

The base: a generation. Pass this or asset_id.

asset_idstring

The base: an uploaded asset. Mutually exclusive with generation_id.

project_idstring

asset_id only: project for the result. Default: the asset's own project.

resolution'1K' | '2K' | '4K' required

Target resolution; drives cost.

Response

Upscaled generation with a signed image URL.

Changes

No recorded changes to this operation across all 2 revisions of this API.