You're looking at a specific version of this model. Jump to the model overview.

goodguy1963 /enhance-and-upscale-ai-photos:e4475d86

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
image
string
Input image or archive (.zip, .tar.gz) for enhancement. Accepts all image aspect ratios. Inputs are resized so that the longest side is 1536 px and the shorter side is scaled proportionally. No cropping. Text in images can be processed but results aren't always perfect. ⚠️ WARNING: Replicate automatically stops processes after 30 minutes. Very large images or batch operations may time out.
upscale_factor
integer (enum)
4

Options:

2, 4

Upscale factor. For 2x, the longest side of the output image will be 3072px. For 4x, it will be 6144px. The shorter side is scaled proportionally, preserving the aspect ratio.
enable_depth_blur
boolean
True
Enable depth map-based blur effect for realistic depth-of-field. Can be disabled if preferred.

Output schema

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

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