Upscaling increases the resolution of an existing image. Lumenfall routes upscaling to specialized models (Topaz, Recraft, Clarity, Real-ESRGAN, and others) that produce sharper results than naive resizing and preserve detail better than general-purpose edit models.Documentation Index
Fetch the complete documentation index at: https://docs.lumenfall.ai/llms.txt
Use this file to discover all available pages before exploring further.
Same endpoint, different mode. Upscaling uses the image edit endpoint - just pass
model, image, and scale_factor. No prompt is required. Lumenfall detects upscale mode from the presence of scale_factor and routes the request accordingly.Quick start
Response
Available models
The full set is in the model catalog. Headline models:| Model ID | Best for | Notes |
|---|---|---|
topaz-image-upscale | Photo-realistic upscaling, broad input range | Supports fractional scale_factor |
recraft-crisp-upscale | Sharp, photographic detail recovery | Fixed scale, no scale_factor needed |
recraft-creative-upscale | Stylized / illustrated content | Fixed scale, no scale_factor needed |
clarity-upscaler | Detail enhancement with creative latitude | — |
crystal-upscaler | Fast general-purpose upscaling | Per-megapixel pricing |
real-esrgan | Anime, line art, low-res photos | Default scale 4 |
seedvr-image-upscale | High-fidelity photo upscaling | Per-megapixel pricing |
aura-sr | Super-resolution for small inputs | Default scale 4 |
google-upscaler | Vertex-backed photo upscaling | Scale 2 or 4 only |
Parameters
The endpoint accepts everything documented for Edit images, plus:How much to scale the image. The output is
scale_factor times the input dimensions on each axis (e.g., 2 doubles width and height, 4 quadruples them). Supported values vary by model - Topaz and SeedVR accept fractional values, Google upscaler accepts only 2 or 4, and Recraft upscalers ignore this parameter (their scale is fixed). When omitted, each model uses its default (typically 2, except 4 for ESRGAN-family models).prompt is not required for upscaling. If you pass one, most upscale models will ignore it. A few models (such as Topaz Redefine variants) accept an optional guidance prompt - check the model catalog for per-model details.Common patterns
Generate, then upscale
A common workflow is to generate at a fast, cheap resolution and upscale only the keepers:image. URLs are convenient for chaining since you can hand the previous response straight back into the next call.
Edit, then upscale
The same pattern works after an edit:Cost estimation
Upscaling costs vary substantially by model and input size - per-megapixel models scale with output dimensions, while per-image models charge a flat rate per call. Use dry run mode to estimate before running:Best practices
Match the model to the input
Match the model to the input
Photographs upscale best with
topaz-image-upscale or seedvr-image-upscale. Anime, pixel art, and line work do better with real-esrgan. Stylized illustrations benefit from recraft-creative-upscale.Don't over-scale
Don't over-scale
A 4x upscale of a 4096x4096 image produces a 16384x16384 result - large, slow, and expensive. Most use cases are well-served by 2x. Reach for 4x when the input is small or the output target is print-quality.
Start from PNG when possible
Start from PNG when possible
JPEG compression artifacts get amplified during upscaling. If you control the source, use PNG or WebP. If you don’t, accept that JPEG inputs will produce JPEG-quality outputs.
Run cost estimation on the actual input
Run cost estimation on the actual input
Per-megapixel pricing means a 2048x2048 input costs 4x what a 1024x1024 input costs - even at the same
scale_factor. Always dry-run with the real image dimensions before batching.Next steps
Edit images
Full reference for the underlying endpoint, including all shared parameters and the response shape.
Cost estimation
Use
?dryRun=true to estimate before running.