Clarity Ai Flux Upscaler
Playground
Try it on WavespeedAI!Clarity AI Flux Upscaler sharpens images while preserving natural textures and edges, with prompt-guided refinement and LoRA support. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Features
Clarity AI Flux Upscaler
Clarity AI Flux Upscaler enhances and enlarges images with prompt-guided refinement, optional LoRA style control, and adjustable creativity. It is designed for high-quality super-resolution workflows where you want both sharper detail and more control over the final look.
Why Choose This?
-
Prompt-guided upscaling Use a text prompt to steer texture, tone, lighting, or style during enhancement.
-
Optional LoRA control Add a compatible
lora_linkwhen you want stronger domain-specific styling. -
Megapixel-based output sizing Choose the target output size directly in megapixels for predictable delivery.
-
Flexible enhancement strength Adjust
creativityto balance faithful restoration against more generative detail. -
Production-ready workflow Suitable for portraits, fashion, product imagery, artwork, and other high-resolution creative assets.
Parameters
| Parameter | Required | Description |
|---|---|---|
| image | Yes | Input image to upscale. |
| target_megapixels | No | Target output size in megapixels. Higher values produce larger and more detailed outputs. |
| prompt | No | Optional prompt to guide tone, texture, lighting, or visual refinement. |
| lora_link | No | Optional URL to a compatible LoRA for additional style control. |
| creativity | No | Controls how much new detail is added. Lower values stay closer to the source, while higher values add stronger enhancement. |
How to Use
- Upload your image — provide the source image you want to enhance.
- Choose target megapixels — set the desired output size based on your delivery needs.
- Add a prompt (optional) — describe the look, texture, or mood you want.
- Add a LoRA link (optional) — provide
lora_linkif you want extra style steering. - Adjust creativity (optional) — keep it low for more faithful results, or raise it for stronger generated detail.
- Submit — run the model and download the enhanced image.
Example Prompt
Elegant editorial texture, soft natural light, refined fabric detail, realistic skin tones, premium fashion photography look
Pricing
Pricing is based on the selected target_megapixels tier.
| Target Megapixels | Cost |
|---|---|
<= 4 MP | $0.20 |
> 4 MP and <= 8 MP | $0.40 |
> 8 MP and <= 16 MP | $0.60 |
> 16 MP and <= 25 MP | $1.20 |
> 25 MP and <= 50 MP | $2.40 |
> 50 MP | $3.20 |
Billing Rules
- Pricing is based on
target_megapixels - Cost uses fixed megapixel tiers rather than scaling linearly
- Moving into a higher megapixel tier increases the price to the next bracket
prompt,lora_link, andcreativitydo not affect pricing
Best Use Cases
- Fashion and portrait enhancement — Improve detail while preserving skin tones, fabrics, and visual polish.
- Product image refinement — Generate sharper commercial assets for catalogs, campaigns, and listings.
- Artwork and illustration upscaling — Create larger outputs with more controlled stylization.
- Prompt-guided image finishing — Use short prompts to nudge mood, texture, and overall visual tone.
- Style-directed super-resolution — Combine megapixel scaling with LoRA guidance for custom looks.
- Premium asset preparation — Produce high-resolution images for design, publishing, and creative delivery.
Pro Tips
- Start with a lower megapixel tier first, then increase only if you need a larger final output.
- Keep
creativitylower when identity, structure, and source fidelity matter most. - Use short, specific prompts instead of long descriptive paragraphs.
- Add
lora_linkonly when you need a stronger style direction. - Use the cleanest source image available for better detail recovery.
- For fashion, portrait, or editorial work, subtle prompts usually produce more controllable results.
Notes
imageis the only required field.- Pricing depends on the selected
target_megapixelstier. prompt,lora_link, andcreativitychange the look of the result, but not the price.- Larger target sizes are better suited for print, premium delivery, and high-resolution commercial use.
Related Models
- Clarity AI Pro Upscaler — A simpler photorealistic upscaler with fewer controls.
- Clarity AI Creative Upscaler — More style-aware upscaling for portraits, illustrations, and creative workflows.
- Clarity AI Crystal Upscaler — Clean high-resolution enhancement with straightforward controls.
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/clarity-ai/flux-upscaler" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
"target_megapixels": 4,
"creativity": 0
}'
# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"
Parameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| image | string | Yes | - | Input image to upscale. | |
| target_megapixels | number | No | 4 | 1 ~ 64 | Requested output size in megapixels. Range: 1-64 MP. |
| creativity | number | No | - | -10.0 ~ 10.0 | Negative values stay stricter to the source; positive values add more generated detail. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Array of URLs to the generated content (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction, the ID of the prediction to get |
| data.model | string | Model ID used for the prediction |
| data.outputs | string | Array of URLs to the generated content (empty when status is not completed). |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |