Clarity Upscaler API
by Clarity
Creative "hi-res fix" upscaler — invents detail to taste.
- ~13s
- Avg. generation
- 2 credits
- From
clarity-upscale
Image model
Playground
Try Clarity Upscaler right here.
Your output lands here. Hit generate to run this request in Studio.
Pricing
Simple per-generation pricing.
2 credits per generation ≈ $0.02
- You only pay for successful generations. Failed jobs are refunded automatically.
- One credit balance across every model on Apiframe, no per-model plans.
- Start with free credits. No subscription required.
- Volume discounts on larger plans.
Specs
At a glance.
Quickstart
How to call the Clarity Upscaler API.
Send one POST /v2/images/upscale request with your API key. The call returns a jobId you can poll, or pass a webhook_url and the result is pushed to you the moment it's ready.
Swap clarity-upscale for any other model and nothing else changes.
const response = await fetch("https://api.apiframe.ai/v2/images/upscale", {
method: "POST",
headers: {
"X-API-Key": "afk_your_api_key_here",
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "clarity-upscale",
"clarityUpscaleParams": {
"image": "https://example.com/input.jpg",
"prompt": "Optional — describe the kind of detail to add",
"scale_factor": "2",
"creativity": 0.35
}
}),
});
const { jobId } = await response.json();
console.log(jobId); Input schema
Every field Clarity Upscaler accepts, with types and defaults. The full reference lives in the docs.
| Field | Type | Description |
|---|---|---|
| model required | string | The model identifier for this endpoint. Default:"clarity-upscale" · "clarity-upscale" |
| clarityUpscaleParams.image | string (URL) | Source image (URL) |
| clarityUpscaleParams.prompt | string | Steering prompt |
| clarityUpscaleParams.scale_factor | string | Scale factor Default:"2" · "1", "2", "4", "8" |
| clarityUpscaleParams.creativity | number | How much new detail Clarity is allowed to invent. Default:0.35 · min 0, max 1, step 0.05 |
| clarityUpscaleParams.resemblance | number | How tightly to stick to the input. Default:0.6 · min 0, max 3, step 0.05 |
| clarityUpscaleParams.dynamic | number | HDR / dynamic range Default:6 · min 1, max 50, step 1 |
| clarityUpscaleParams.num_inference_steps | number | Steps Default:18 · min 1, max 100, step 1 |
| clarityUpscaleParams.output_format | string | Output format Default:"png" · "png", "jpg", "webp" |
| clarityUpscaleParams.seed | number | Reuse a number to reproduce the same result. step 1 |
Clarity versions
Every Clarity image model on Apiframe. Switch with one parameter.
Clarity Upscaler questions
What teams ask before shipping with Clarity Upscaler. Everything else lives in the docs.
Is there an API for Clarity Upscaler?
Yes. Apiframe exposes Clarity Upscaler through a single REST endpoint (POST /v2/images/upscale with model: "clarity-upscale"). You get one unified API, key, and billing across every supported model, with no separate Clarity account required.
How much does the Clarity Upscaler API cost?
Clarity Upscaler uses simple pay-as-you-go pricing on Apiframe. You only pay for successful generations. See the pricing page for plans and volume discounts.
How do I call the Clarity Upscaler API?
Send a POST request to /v2/images/upscale with your X-API-Key and a JSON body containing model: "clarity-upscale". The call returns a jobId; poll GET /v2/jobs/{id} or use a webhook to receive the result.
What parameters does Clarity Upscaler support?
Clarity Upscaler accepts 9 model-specific parameters (nested under clarityUpscaleParams) plus the common prompt and webhook_url fields. See the input schema above for the full list with types and defaults.
Related models
All image modelsFlux 2 Max
by Black Forest Labs
Highest-quality Flux 2 tier.
View modelMidjourney
by Midjourney
Iconic stylised, cinematic look.
View modelNano Banana 2
by Google
Next-gen Nano Banana with refined detail.
View modelSeedream 5.0 Pro
by ByteDance
Flagship ByteDance model with sharp 1K/2K output and up to 10 reference images.
View model9,800+
developers & companies
Official partner of
Power your next AI product with Apiframe.
Instant access to 70+ media models through a single API. Start free and scale when you're ready.