Runflow
Back to Gallery

topaz/upscale/image

Use the powerful and accurate topaz image enhancer to enhance your images.

$0.01/megapixel 2026-04-08

Install

pip install requests

Run the model

import requests

response = requests.post(
    "https://api.runflow.io/v1/run/upscale/image",
    headers={"Authorization": "Bearer RUNFLOW_API_KEY"},
    json={
    "model": "Standard V2",
    "image_url": "https://public.runflow.io/images/models/photalabs/phota/example-output-0.webp",
    "autoprompt": true,
    "output_format": "png",
    "upscale_factor": 4,
    "face_enhancement": true,
    "subject_detection": "Foreground",
    "face_enhancement_strength": 0.8,
    "face_enhancement_creativity": 0.1
    },
)

data = response.json()
print(data["image"]["url"])

Input schema

ParameterTypeDescription
promptstringText prompt to guide generative upscaling (max 1024 chars). Applies to Redefine model only.
face_enhancement_creativitynumberCreativity level for face enhancement. 0.0 means no creativity, 1.0 means maximum creativity. Ignored if face enhancement is disabled.
face_enhancementbooleanWhether to apply face enhancement to the image. Applies to standard enhance and Recovery V2 models.
modelstringModel to use for image enhancement.
crop_to_fillboolean
upscale_factornumberFactor to upscale the image by (e.g. 2.0 doubles width and height)
face_enhancement_strengthnumberStrength of the face enhancement. 0.0 means no enhancement, 1.0 means maximum enhancement. Ignored if face enhancement is disabled.
sharpennumberSharpening level (0.0-1.0). Applies to Standard V2, Low Resolution V2, CGI, High Fidelity V2, Text Refine, and Redefine models.
detailnumberDetail recovery level (0.0-1.0). Applies to Recovery V2 model only.
denoisenumberDenoising level (0.0-1.0). Applies to Standard V2, Low Resolution V2, CGI, High Fidelity V2, Text Refine, and Redefine models.
output_formatstringOutput format of the upscaled image.
subject_detectionstringSubject detection mode for the image enhancement. Applies to standard enhance and Recovery V2 models.
strengthnumberEnhancement strength (0.01-1.0). Applies to Text Refine model only.
textureintegerTexture detail level for generative upscaling (1-5). Applies to Redefine model only.
image_urlimageUrl of the image to be upscaled
autopromptbooleanEnable automatic prompt generation for generative upscaling. Applies to Redefine model only.
creativityintegerCreativity level for generative upscaling (1-6). Higher values produce more creative/hallucinated details. Applies to Redefine model only.
fix_compressionnumberCompression artifact removal level (0.0-1.0). Applies to Standard V2, Low Resolution V2, High Fidelity V2, and Text Refine models.

Output schema

FieldTypeDescription
imagestringThe upscaled image.

Related models

Start generating with Topaz Upscale — Image

Get API access in minutes. No GPU setup, no infrastructure to manage.