Skip to main content
ClarityMediumUltra

Clarity Upscaler

The famous creative upscaler (30M+ runs). Instead of just enlarging, it re-imagines detail while upscaling — with controllable creativity, resemblance, prompt guidance, and tiled diffusion for high scale factors.

60 credits
per generation
Creative detail re-imagination while upscaling
Creativity and resemblance dials
Prompt-guided enhancement
Tiled diffusion for large outputs
Optional hand fix and sharpening

Run it right now

Test this model instantly in the Console Playground — no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "philz1337x/clarity-upscaler",
  "input": {
    "image": "https://example.com/ai-art.png",
    "scale_factor": 2,
    "creativity": 0.35,
    "resemblance": 0.6
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringNomasterpiece, best quality, highres, <lora:more_details:0.5> <lora:SDXLrender_v2.0:1>Guidance prompt (default 'masterpiece, best quality, highres')
imagestringYes-Input image to upscale
negative_promptstringNo(worst quality, low quality, normal quality:2) JuggernautNegative-negNegative Prompt
scale_factornumberNo2Upscale factor (higher factors take longer)
dynamicnumberNo6HDR intensity (1-50)
creativitynumberNo0.35How much new detail is invented (0-1). Higher deviates more from the original
resemblancenumberNo0.6How closely to follow the original (0-3)
tiling_widthintegerNo112Fractality, set lower tile width for a high Fractality
163248648096112128144160176192208224240256
tiling_heightintegerNo144Fractality, set lower tile height for a high Fractality
163248648096112128144160176192208224240256
sd_modelstringNojuggernaut_reborn.safetensors [338b85bc4f]Stable Diffusion model checkpoint
epicrealism_naturalSinRC1VAE.safetensors [84d76a0328]juggernaut_reborn.safetensors [338b85bc4f]flat2DAnimerge_v45Sharp.safetensors
schedulerstringNoDPM++ 3M SDE Karrasscheduler
DPM++ 2M KarrasDPM++ SDE KarrasDPM++ 2M SDE ExponentialDPM++ 2M SDE KarrasEuler aEulerLMSHeunDPM2DPM2 aDPM++ 2S aDPM++ 2MDPM++ SDEDPM++ 2M SDEDPM++ 2M SDE HeunDPM++ 2M SDE Heun KarrasDPM++ 2M SDE Heun ExponentialDPM++ 3M SDEDPM++ 3M SDE KarrasDPM++ 3M SDE ExponentialDPM fastDPM adaptiveLMS KarrasDPM2 KarrasDPM2 a KarrasDPM++ 2S a KarrasRestartDDIMPLMSUniPC
num_inference_stepsintegerNo18Number of denoising steps
seedintegerNo1337Random seed for reproducible results
downscalingbooleanNofalseDownscale the image before upscaling. Can improve quality and speed for images with high resolution but lower quality
downscaling_resolutionintegerNo768Downscaling resolution
lora_linksstringNo-Link to a lora file you want to use in your upscaling. Multiple links possible, seperated by comma
custom_sd_modelstringNo-custom_sd_model
sharpennumberNo0Sharpening amount (0-10)
maskstringNo-Mask image to mark areas that should be preserved during upscaling
handfixstringNodisabledFix distorted hands ('disabled', 'hands_only', 'image_and_hands')
disabledhands_onlyimage_and_hands
patternbooleanNofalseUpscale a pattern with seamless tiling
output_formatstringNopngFormat of the output images
webpjpgpng

How to Provide File Input

There are 3 ways to provide files for the image parameter:

Recommended

Direct Upload (Multipart)

Attach files directly to POST /v1/predictions/upload. No separate upload step needed.

curl -X POST "https://api.core.today/v1/predictions/upload" \
  -H "X-API-Key: cdt_your_api_key" \
  -F "model=philz1337x/clarity-upscaler" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:image=@your_file.png"

Image URL

Pass a publicly accessible URL directly. You can also use file_url from the Storage API.

{
  "model": "philz1337x/clarity-upscaler",
  "input": {
    "prompt": "your prompt here",
    "image": "https://example.com/image.jpg"
  }
}
See the File Upload docs for more upload methods including Presigned URLs.

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Print-Quality Art Upscale

2x upscale with moderate creative detail

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "philz1337x/clarity-upscaler",
  "input": {
    "image": "https://example.com/ai-art.png",
    "scale_factor": 2,
    "creativity": 0.35,
    "resemblance": 0.6
  }
}'

Tips & Best Practices

1creativity 0.3-0.4 adds detail while staying faithful; 0.6+ visibly re-imagines the image
2Raise resemblance if faces or logos drift from the original
3Higher scale_factor increases runtime — 2x is the sweet spot for most work
4For pixel-faithful enlargement without re-imagination, use Real-ESRGAN instead
5Advanced controls (schedulers, LoRA links, tiling) are available via API

Use Cases

Turning AI images into print-quality art
Adding realistic texture to soft renders
Skin and fabric detail enhancement
Large-format poster preparation
Upgrading old game assets

Model Info

ProviderClarity
Version-
CategoryImage Generation
Price60 credits

API Endpoint

POST /v1/predictions
Try in ConsoleBack to Docs