enhance-replicate/cct

Public
5 runs

Run enhance-replicate/cct with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
a beautiful landscape with mountains and sunset
Text prompt for image generation
negative_prompt
string
text, watermark, low quality, blurry, distorted, ugly, bad anatomy
Negative prompt to avoid certain elements in the image
width
integer
1024

Min: 512

Max: 2048

Width of the generated image
height
integer
1024

Min: 512

Max: 2048

Height of the generated image
steps
integer
25

Min: 1

Max: 100

Number of denoising steps
cfg_scale
number
8

Min: 1

Max: 20

CFG scale (how closely to follow the prompt)
workflow_json
string
Advanced: Your ComfyUI workflow as JSON string or URL. Leave empty to use the simple prompt-based workflow.
input_file
string
Advanced: Input image, video, tar or zip file
return_temp_files
boolean
False
Advanced: Return any temporary files, such as preprocessed controlnet images. Useful for debugging.
output_format
None
webp
Format of the output images
output_quality
integer
95

Max: 100

Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.
randomise_seeds
boolean
True
Advanced: Automatically randomise seeds (seed, noise_seed, rand_seed)
force_reset_cache
boolean
False
Advanced: Force reset the ComfyUI cache before running the workflow. Useful for debugging.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "array",
  "items": {
    "type": "string",
    "format": "uri"
  },
  "title": "Output"
}