---
title: CCSR | Runware Docs
url: https://runware.ai/docs/models/ccsr
description: Diffusion upscaler for high-quality real-world super-resolution
---
# CCSR

![CCSR](https://assets.runware.ai/covers/ccsr.jpg)

CCSR is a diffusion-based image super-resolution model designed for real-world low-quality inputs, improving sharpness and restoring detail while keeping artifacts controlled during upscaling.

- **Status**: live
- **ID**: `runware:501@1`
- Try in Playground
- **Release Date**: December 23, 2023
- **Zero Data Retention**: Yes
- **Capabilities**: Image to Image, Upscale, Checkpoint

## Pricing

$0.0038 from, per run · ~26s per request

**Measured runs**

- upscaleFactor 2 · settings.steps 20: `$0.0038` (~14s)
- upscaleFactor 2 · settings.steps 40: `$0.007` (~20s)

**4 example generations**

- [upscale](https://runware.ai/docs/models/ccsr/examples#example-deep-sea-specimen-scratchboard-plate): `$0.007` (~17s)
- [upscale](https://runware.ai/docs/models/ccsr/examples#example-bunraku-puppet-stage-composite): `$0.016` (~32s)
- [upscale](https://runware.ai/docs/models/ccsr/examples#example-avalanche-rescue-dog-composite): `$0.0166` (~39s)
- [upscale](https://runware.ai/docs/models/ccsr/examples#example-heritage-fishing-fly-catalog-cleanup): `$0.0173` (~38s)

billed by compute time, so a request costs what it took · times vary, measured end to end · [How pricing works](https://runware.ai/docs/models-api/pricing)

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

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

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

Identifier for the type of task being performed.

### [taskUUID](https://runware.ai/docs/models/ccsr#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/ccsr#request-outputtype)

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

Image output type.

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

### [outputFormat](https://runware.ai/docs/models/ccsr#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/ccsr#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/ccsr#request-webhookurl)

- **Type**: `string`
- **Format**: `uri`

Webhook URL that receives JSON responses 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/models-api/webhooks) (platform)

### [deliveryMethod](https://runware.ai/docs/models/ccsr#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/models-api/task-polling) (platform)

### [uploadEndpoint](https://runware.ai/docs/models/ccsr#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/ccsr#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/ccsr#request-includecost)

- **Type**: `boolean`

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/ccsr#request-inputs-image)

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

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

**Core Parameters**

Primary parameters that define the task output.

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

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

Identifier of the model to use for generation.

**Learn more** (3 resources):

- [Text To Image: Model Selection](https://runware.ai/docs/learn/text-to-image#model-selection) (learn)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/learn/image-inpainting#model-specialized-inpainting-models) (learn)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/learn/image-outpainting#other-critical-parameters) (learn)

### [upscaleFactor](https://runware.ai/docs/models/ccsr#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/ccsr#request-settings-positiveprompt)

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

Text prompt describing elements to include in the generated output.

**Learn more** (1 resource):

- [Prompts](https://runware.ai/docs/learn/prompts) (learn)

### [negativePrompt](https://runware.ai/docs/models/ccsr#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):

- [Prompts: Negative Prompts](https://runware.ai/docs/learn/prompts#negative-prompts) (learn)

### [seed](https://runware.ai/docs/models/ccsr#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):

- [Seed](https://runware.ai/docs/learn/seed) (learn)

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

- **Path**: `settings.steps`
- **Type**: `integer`
- **Min**: `20`
- **Max**: `60`

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

**Learn more** (1 resource):

- [Steps](https://runware.ai/docs/learn/steps) (learn)

### [CFGScale](https://runware.ai/docs/models/ccsr#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):

- [Cfg Scale](https://runware.ai/docs/learn/cfg-scale) (learn)

### [controlNetWeight](https://runware.ai/docs/models/ccsr#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/ccsr#response-tasktype)

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

Identifier for the type of task this response belongs to.

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

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

UUID v4 identifier echoed from the original request, used to match async responses to their tasks.

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

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

UUID of the output image.

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

- **Type**: `string`
- **Format**: `uri`

URL of the output image.

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

- **Type**: `string`

Base64-encoded image data.

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

- **Type**: `string`
- **Format**: `uri`

Data URI of the output image.

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

- **Type**: `float`

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

## Examples

### upscale (upscale)

![Heritage Fishing Fly Catalog Cleanup](https://assets.runware.ai/examples/ccsr/d83c3dd4-d913-413d-91c8-e3570c84ff5f.jpg)

```json
{
  "taskType": "upscale",
  "taskUUID": "fbdf92ba-4d74-4db0-a9ce-5782260bb3f0",
  "model": "runware:501@1",
  "upscaleFactor": 2,
  "settings": {
    "positivePrompt": "Clean archival auction-catalog photograph of the exact same historic salmon fly, preserving the original composition, silhouette, hook geometry, feather arrangement, colors, material wear, lighting, shadows, and charcoal background. Faithfully reconstruct natural feather barbs, silk winding, aged metallic tinsel edges, and forged-steel surface detail; reduce pixelation, compression ringing, noise, and softness without beautifying the artifact or introducing any new objects."
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/02f44f22-e1f1-4523-b4ed-483b8197ba81.jpg"
  }
}
```

---

### upscale (upscale)

![Avalanche Rescue Dog Composite](https://assets.runware.ai/examples/ccsr/c3f11646-4d08-4487-9cad-af89df0ecafc.jpg)

```json
{
  "taskType": "upscale",
  "taskUUID": "b53b0008-11c1-489e-81a0-901bc6f5c359",
  "model": "runware:501@1",
  "upscaleFactor": 2,
  "settings": {
    "positivePrompt": "Production-finish the existing background-swapped avalanche rescue photograph while preserving the exact dog identity, pose, proportions, orange harness design, framing and all background elements. Reconstruct natural individual fur strands, whiskers, clear eyes, woven nylon and reflective trim, compacted snow crystals and credible distant mountain detail. Maintain the cold cyan blue-hour palette, restrained warm helicopter work lights, realistic depth of field and documentary photography character. Keep the composite seamless and physically believable without changing the composition or adding objects."
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/5726cc52-aaba-465c-9e29-b96dfd2b76aa.jpg"
  }
}
```

---

### upscale (upscale)

![Bunraku Puppet Stage Composite](https://assets.runware.ai/examples/ccsr/fcdf0daa-a82f-4de6-bb4d-a5309c2519db.jpg)

```json
{
  "taskType": "upscale",
  "taskUUID": "9e76af2e-408e-4b3e-950c-73f3cd08b80d",
  "model": "runware:501@1",
  "upscaleFactor": 2,
  "settings": {
    "positivePrompt": "Faithfully enhance the existing Bunraku puppet stage composite at 2x resolution. Preserve the exact framing, puppet identity, pose, proportions, lighting, and black-box theater background. Reconstruct natural carved-wood grain, facial paint, articulated fingers, brocade weave, gold embroidery, fabric wear, stage-floor texture, and clean subject edges without changing the approved composition.",
    "negativePrompt": "new objects, extra puppets, puppeteers, altered face, changed costume, changed pose, different background, reframed composition, invented ornament, excessive sharpening, halos, plastic texture, smeared embroidery, text, watermark"
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/02fac66b-e052-427a-b525-41e7ed4e9326.jpg"
  }
}
```

---

### upscale (upscale)

![Deep-Sea Specimen Scratchboard Plate](https://assets.runware.ai/examples/ccsr/bbab35c9-883e-4d21-b672-3e5f165d86f7.jpg)

```json
{
  "taskType": "upscale",
  "taskUUID": "0eef0028-c784-4887-a28b-fb1d92335c30",
  "model": "runware:501@1",
  "upscaleFactor": 2,
  "settings": {
    "positivePrompt": "Transform the specimen photograph into a museum-quality scientific scratchboard illustration while preserving the exact giant isopod, overhead composition, proportions, pose, silhouette, anatomy, and placement. Render the segmented armor, fine shell ridges, antennae, joints, legs, and tail with meticulous engraved white linework and cross-hatching over deep charcoal-black ink, with subtle oxidized-teal accents and a warm ivory paper ground. Natural tonal modeling, tactile hand-cut marks, restrained archival character, exceptionally clean detail suitable for a large natural-history exhibit panel. Reconstruct only details supported by the source image; introduce no new objects or anatomical features.",
    "negativePrompt": "changed pose, altered anatomy, extra legs, missing legs, duplicate antennae, invented markings, additional animals, underwater scenery, rocks, plants, labels, captions, border, ruler, hands, photorealistic rendering, glossy 3D appearance, cartoon style, blurred linework, halos, oversharpening, compression artifacts"
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/c9cc9c2a-3a0b-4006-9059-fdf1713daaae.jpg"
  }
}
```