Guides

Rendering

POST /v1/renders turns a draft image (a 3D software export, a raw render) into a photorealistic image, at the same framing.
curl https://api.renderthink.com/v1/renders \
-H "Authorization: Bearer $RENDERTHINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"image": "https://developers.renderthink.com/assets/scenes/sejour-charpente-export.webp", "quality": "2k"}'
NameTypeDescription
imagestringRequired. https:// URL or file in multipart/form-data (see Images).
qualitystringRequired. Output resolution: 1k, 2k, 4k or 8k (see Resolutions).
metadataobjectFree-form key-value pairs attached to the generation and returned with it (see Metadata).
backgroundbooleantrue: immediate response, result by webhook or by reading it (see Generations).
Key permission: renders.
The ended generation, of type render (200); with background: true, the generation in progress (202). The output image is in output[0].url.
StatusCodeCause
400parameter_invalidquality missing or unknown, or metadata out of bounds.
503mode_unavailableRendering temporarily unavailable.
Errors shared by every route (key, balance, images, limits) are in Errors.