$0.21
per request, Recraft V4.1 Pro
PNG, JPG, WEBP
up to 10 MB, 16 MP
POST /v1/images/refineDetails
endpoint
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. - The result is rendered at Recraft V4.1 Pro resolution for the aspect ratio of the source image.
- 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.
Parameters
The input image must be PNG, JPG, or WEBP, under 10 MB, up to 16 MP, with sides between 256 and 4096 px. An image larger than 2048 px on its longest side is downscaled before refining. See Input images.
Examples
Upload a local file
Upload a local file
refinement goes in a form field next to the file.Stay close to the source
Stay close to the source
subtle preserves the source as closely as possible. Use it when the image is already right and you only want sharper detail.Allow more generative detail
Allow more generative detail
moderate is the default. Set it explicitly when you want the result to add more detail than subtle does.Related
Upscale
Increase resolution with crisp or creative upscale.
Pricing
Prices of every model and tool.