---
title: Clarity | Runware Docs
url: https://runware.ai/docs/models/clarity
description: Creative 4× image upscaler for detail enhancement
---
# Clarity

Clarity is an image upscaling model focused on boosting perceived detail during 2× to 4× enlargement, keeping structure stable while enhancing texture and small features for cleaner, higher-impact images.

- **ID**: `runware:500@1`
- **Status**: live
- **Release Date**: April 30, 2024
- **Capabilities**: Image to Image, Upscale

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/clarity#request-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `upscale`

Identifier for the type of task being performed

### [taskUUID](https://runware.ai/docs/models/clarity#request-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.

### [outputType](https://runware.ai/docs/models/clarity#request-outputtype)

- **Type**: `string`
- **Default**: `URL`

Image output type.

**Allowed values**: `URL` `base64Data` `dataURI`

### [outputFormat](https://runware.ai/docs/models/clarity#request-outputformat)

- **Type**: `string`
- **Default**: `JPG`

Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.

- \`JPG\`: Best for photorealistic images with smaller file sizes (no transparency).
- \`PNG\`: Lossless compression, supports high quality and transparency (alpha channel).
- \`WEBP\`: Modern format providing superior compression and transparency support.

> [!NOTE]
> \*\*Transparency\*\*: If you are using features like background removal or LayerDiffuse that require transparency, you must select a format that supports an alpha channel (e.g., \`PNG\`, \`WEBP\`, \`TIFF\`). \`JPG\` does not support transparency.

**Allowed values**: `JPG` `PNG` `WEBP`

### [outputQuality](https://runware.ai/docs/models/clarity#request-outputquality)

- **Type**: `integer`
- **Min**: `20`
- **Max**: `99`
- **Default**: `95`

Compression quality of the output. Higher values preserve quality but increase file size.

### [webhookURL](https://runware.ai/docs/models/clarity#request-webhookurl)

- **Type**: `string`
- **Format**: `URI`

Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.

**Learn more** (1 resource):

- [Webhooks](https://runware.ai/docs/platform/webhooks) (platform)

### [deliveryMethod](https://runware.ai/docs/models/clarity#request-deliverymethod)

- **Type**: `string`
- **Default**: `sync`

Determines how the API delivers task results.

**Allowed values**:

- `sync` Returns complete results directly in the API response.
- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.

**Learn more** (1 resource):

- [Task Polling](https://runware.ai/docs/platform/task-polling) (platform)

### [uploadEndpoint](https://runware.ai/docs/models/clarity#request-uploadendpoint)

- **Type**: `string`
- **Format**: `URI`

Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.

**Common use cases:**

- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- **CDN integration**: Upload to content delivery networks for immediate distribution.

```text
// S3 presigned URL for secure upload
https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600

// Google Cloud Storage presigned URL
https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789

// Custom storage endpoint
https://storage.example.com/uploads/generated-image.jpg
```

The content data will be sent as the request body to the specified URL when generation is complete.

### [ttl](https://runware.ai/docs/models/clarity#request-ttl)

- **Type**: `integer`
- **Min**: `60`

Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.

### [includeCost](https://runware.ai/docs/models/clarity#request-includecost)

- **Type**: `boolean`
- **Default**: `false`

Include task cost in the response.

**Inputs**

Input resources for the task (images, audio, etc). These must be nested inside the \`inputs\` object.

### [image](https://runware.ai/docs/models/clarity#request-inputs-image)

- **Path**: `inputs.image`
- **Type**: `string`
- **Required**: true

Image input (UUID, URL, Data URI, or Base64).

**Generation Parameters**

Core parameters for controlling the generated content.

### [model](https://runware.ai/docs/models/clarity#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `runware:500@1`

Identifier of the model to use for generation.

**Learn more** (3 resources):

- [Text To Image: Model Selection The Foundation Of Generation](https://runware.ai/docs/guides/text-to-image#model-selection-the-foundation-of-generation) (guide)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/guides/image-inpainting#model-specialized-inpainting-models) (guide)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/guides/image-outpainting#other-critical-parameters) (guide)

### [upscaleFactor](https://runware.ai/docs/models/clarity#request-upscalefactor)

- **Type**: `integer`

Factor by which to upscale the generated image. A value of 2 doubles width and height.

**Allowed values**: `2`

**Settings**

Technical parameters to fine-tune the inference process. These must be nested inside the \`settings\` object.

### [positivePrompt](https://runware.ai/docs/models/clarity#request-settings-positiveprompt)

- **Path**: `settings.positivePrompt`
- **Type**: `string`

Text prompt describing elements to include in the generated output.

**Learn more** (2 resources):

- [Text To Image: Prompts Guiding The Generation](https://runware.ai/docs/guides/text-to-image#prompts-guiding-the-generation) (guide)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/guides/image-outpainting#other-critical-parameters) (guide)

### [negativePrompt](https://runware.ai/docs/models/clarity#request-settings-negativeprompt)

- **Path**: `settings.negativePrompt`
- **Type**: `string`

Prompt to guide what to exclude from generation. Ignored when guidance is disabled (CFGScale ≤ 1).

**Learn more** (1 resource):

- [Text To Image: Prompts Guiding The Generation](https://runware.ai/docs/guides/text-to-image#prompts-guiding-the-generation) (guide)

### [seed](https://runware.ai/docs/models/clarity#request-settings-seed)

- **Path**: `settings.seed`
- **Type**: `integer`
- **Min**: `0`
- **Max**: `9223372036854776000`

Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.

**Learn more** (1 resource):

- [Text To Image: Seed Controlling Randomness Deterministically](https://runware.ai/docs/guides/text-to-image#seed-controlling-randomness-deterministically) (guide)

### [steps](https://runware.ai/docs/models/clarity#request-settings-steps)

- **Path**: `settings.steps`
- **Type**: `integer`
- **Min**: `1`

Total number of denoising steps. Higher values generally produce more detailed results but take longer.

**Learn more** (1 resource):

- [Text To Image: Steps Trading Quality For Speed](https://runware.ai/docs/guides/text-to-image#steps-trading-quality-for-speed) (guide)

### [scheduler](https://runware.ai/docs/models/clarity#request-settings-scheduler)

- **Path**: `settings.scheduler`
- **Type**: `string`

Scheduler to use for the diffusion process.

**Allowed values**: `DDIM` `DDIMScheduler` `DDPMScheduler` `DEISMultistepScheduler` `Default` `DPM++` `DPM++ 2M` `DPM++ 2M Beta` `DPM++ 2M Exponential` `DPM++ 2M Karras` `DPM++ 2M SDE` `DPM++ 2M SDE Beta` `DPM++ 2M SDE Exponential` `DPM++ 2M SDE Karras` `DPM++ 2M SDE Uniform` `DPM++ 2M Uniform` `DPM++ 3M` `DPM++ 3M Beta` `DPM++ 3M Exponential` `DPM++ 3M Karras` `DPM++ 3M SDE Uniform` `DPM++ 3M Uniform` `DPM++ Beta` `DPM++ Exponential` `DPM++ Karras` `DPM++ SDE` `DPM++ SDE Beta` `DPM++ SDE Exponential` `DPM++ SDE Karras` `DPM++ Uniform` `DPM++ Uniform Beta` `DPM++ Uniform Exponential` `DPM++ Uniform Karras` `DPMSolverMultistepInverse` `DPMSolverMultistepScheduler` `DPMSolverSinglestepScheduler` `EDMDPMSolverMultistepScheduler` `EDMEulerScheduler` `Euler` `Euler a` `Euler Beta` `Euler DiscreteScheduler` `Euler Exponential` `Euler Karras` `EulerAncestralDiscreteScheduler` `FlowMatchEulerDiscreteScheduler` `Heun` `HeunDiscreteScheduler` `Heun Karras` `IPNDMScheduler` `IPNDM Uniform` `IPNDM Uniform Beta` `IPNDM Uniform Exponential` `IPNDM Uniform Karras` `KDPM2AncestralDiscreteScheduler` `KDPM2DiscreteScheduler` `LCM` `LCMScheduler` `LMS` `LMSDiscreteScheduler` `LMS Karras` `PNDMScheduler` `TCDScheduler` `UniPC` `UniPC 2M` `UniPC 2M Karras` `UniPC 2M Uniform` `UniPC 3M` `UniPC 3M Karras` `UniPC 3M Uniform` `UniPC Karras` `UniPC Uniform` `UniPC Uniform Beta` `UniPC Uniform Exponential` `UniPC Uniform Karras`

**Learn more** (2 resources):

- [Text To Image: Scheduler The Algorithmic Path To Your Image](https://runware.ai/docs/guides/text-to-image#scheduler-the-algorithmic-path-to-your-image) (guide)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/guides/image-outpainting#other-critical-parameters) (guide)

### [CFGScale](https://runware.ai/docs/models/clarity#request-settings-cfgscale)

- **Path**: `settings.CFGScale`
- **Type**: `float`
- **Min**: `0`
- **Step**: `0.01`

Guidance scale representing how closely the output will resemble the prompt. Higher values produce results more aligned with the prompt.

**Learn more** (1 resource):

- [Text To Image: Cfg Scale Balancing Creativity And Control](https://runware.ai/docs/guides/text-to-image#cfg-scale-balancing-creativity-and-control) (guide)

### [strength](https://runware.ai/docs/models/clarity#request-settings-strength)

- **Path**: `settings.strength`
- **Type**: `float`
- **Min**: `0`
- **Max**: `1`
- **Step**: `0.01`
- **Default**: `0.8`

Strength of the transformation. Lower values result in more influence from the original input.

**Learn more** (3 resources):

- [Image To Image: Strength The Transformation Intensity](https://runware.ai/docs/guides/image-to-image#strength-the-transformation-intensity) (guide)
- [Image Inpainting: Strength Controlling Transformation Intensity](https://runware.ai/docs/guides/image-inpainting#strength-controlling-transformation-intensity) (guide)
- [Image Outpainting: Strength Understanding The Critical Threshold](https://runware.ai/docs/guides/image-outpainting#strength-understanding-the-critical-threshold) (guide)

### [controlNetWeight](https://runware.ai/docs/models/clarity#request-settings-controlnetweight)

- **Path**: `settings.controlNetWeight`
- **Type**: `float`
- **Min**: `-4`
- **Max**: `4`
- **Step**: `0.01`
- **Default**: `1`

Strength of the ControlNet influence. A value of 0 means no influence. Higher values increase the influence, and negative values can be used to steer away from the guide image.

## Response Parameters

### [taskType](https://runware.ai/docs/models/clarity#response-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `upscale`

Type of the task.

### [taskUUID](https://runware.ai/docs/models/clarity#response-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the task.

### [imageUUID](https://runware.ai/docs/models/clarity#response-imageuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the output image.

### [imageURL](https://runware.ai/docs/models/clarity#response-imageurl)

- **Type**: `string`
- **Format**: `URI`

URL of the output image.

### [imageBase64Data](https://runware.ai/docs/models/clarity#response-imagebase64data)

- **Type**: `string`

Base64-encoded image data.

### [imageDataURI](https://runware.ai/docs/models/clarity#response-imagedatauri)

- **Type**: `string`
- **Format**: `URI`

Data URI of the output image.

### [cost](https://runware.ai/docs/models/clarity#response-cost)

- **Type**: `float`

Task cost in USD. Present when `includeCost` is set to `true` in the request.

## Examples

### Pixelated Alley Signboard Closeup (Upscale)

![Pixelated Alley Signboard Closeup](https://assets.runware.ai/examples/clarity/842be22b-cc41-4d86-a41b-38e8f773a0b1.jpg)

**Request**:

```json
{
  "taskType": "upscale",
  "taskUUID": "2205ed9f-6640-47a2-8d62-5510ca6865fb",
  "model": "runware:500@1",
  "upscaleFactor": 2,
  "settings": {
    "positivePrompt": "clean realistic urban signboard closeup, crisp lettering edges, restored sticker texture, wet concrete detail, subtle reflections, faithful composition, natural sharpening, reduced blockiness, improved micro-contrast, clear surface grain",
    "negativePrompt": "extra objects, altered layout, fantasy elements, oversmoothing, warped text, duplicated stickers, painterly look, halos, heavy noise, exaggerated glow",
    "strength": 0.34,
    "steps": 24,
    "CFGScale": 5.5,
    "seed": 36939
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/2197a5ea-1c3b-49ca-8c0b-a45e054df72b.jpg"
  }
}
```

**Response**:

```json
{
  "taskType": "imageUpscale",
  "taskUUID": "2205ed9f-6640-47a2-8d62-5510ca6865fb",
  "imageUUID": "656270fc-3a5c-43c5-9a71-cd5838e5b366",
  "imageURL": "https://im.runware.ai/image/os/a08d21/ws/2/ii/656270fc-3a5c-43c5-9a71-cd5838e5b366.jpg",
  "cost": 0.0038,
  "inputImageUUID": "f40716e0-ea93-430c-88cc-a24c1f06a716"
}
```

---

### Pixelated Arcade Mascot Closeup (Upscale)

![Pixelated Arcade Mascot Closeup](https://assets.runware.ai/examples/clarity/9284c576-4b1a-4bd9-9b9d-75dc107453b9.jpg)

**Request**:

```json
{
  "taskType": "upscale",
  "taskUUID": "6f9db95a-5568-4744-97ee-aa0c99991f7c",
  "model": "runware:500@1",
  "upscaleFactor": 2,
  "settings": {
    "positivePrompt": "clean restored details, crisp edges, clearer facial features, refined sticker texture, improved color separation, preserved original layout, natural-looking enhancement",
    "negativePrompt": "extra characters, altered composition, surreal additions, heavy painterly effects, oversharpening, duplicated features, text distortion",
    "strength": 0.34,
    "steps": 24,
    "CFGScale": 5.5,
    "seed": 2480
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/c700fcf6-e908-41c8-8b88-034e95f6cf26.jpg"
  }
}
```

**Response**:

```json
{
  "taskType": "imageUpscale",
  "taskUUID": "6f9db95a-5568-4744-97ee-aa0c99991f7c",
  "imageUUID": "6d580820-1324-4997-be84-2817913d5dbf",
  "imageURL": "https://im.runware.ai/image/os/a10d08/ws/2/ii/6d580820-1324-4997-be84-2817913d5dbf.jpg",
  "cost": 0.0013,
  "inputImageUUID": "a28834db-0dcc-4fd0-acb9-f29050b28102"
}
```