From $0.004
per request, $0.25 for creative upscale
PNG, JPG, WEBP
up to 10 MB, 16 MP
POST /v1/images/crispUpscale
and /v1/images/creativeUpscale
Try it
Get an API token on your profile page (it needs a positive API units balance) and set it once per terminal session:Response
- The result is a single
image, not adataarray.image.urlpoints to a raster file in theimage_formatyou choose. - Image URLs are temporary: files are kept for about 24 hours, so download them. See Limits and sizes.
creditsis the number of API units charged for the request: 4 for crisp upscale, 250 for creative upscale.
Parameters
Both endpoints take the same parameters. Only the input limits differ.Crisp upscale
POST /v1/images/crispUpscale costs $0.004 per request.
The input image must be PNG, JPG, or WEBP, under 10 MB, up to 16 MP, with sides between 32 and 4096 px. See Input images.
Creative upscale
POST /v1/images/creativeUpscale costs $0.25 per request.
The input image must be PNG, JPG, or WEBP, under 10 MB, up to 16 MP, with sides between 256 and 4096 px. See Input images.
Examples
Upload a local file
Upload a local file
Creative upscale
Creative upscale
Creative upscale regenerates fine detail and faces. Send the same request to
creativeUpscale.Get the file in the response
Get the file in the response
b64_json returns the image bytes inside the JSON response, so there is no URL to download. Set image_format to png to get a PNG.Related
Refine details
Re-render an image with Recraft V4.1 Pro.
Pricing
Prices of every model and tool.