Loading...
Topaz Gigapixel API
Use the powerful and accurate Topaz image enhancer to upscale and enhance your images.
Endpoint
POST https://api.hedra.com/v3/models/topaz-image-upscaler
Example request
curl -X POST "https://api.hedra.com/v3/models/topaz-image-upscaler" \
-H "Authorization: Key $HEDRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": {"prompt": "a cinematic shot of a city at dusk"}}'Parameters
- source_imagerequired
The image to upscale. At most 30 MB.
- num_outputsinteger
Number of outputs generated per job. Only 1 is supported.
- target_resolutionstringrequired
Short edge of the upscaled image. The long edge follows the source's aspect ratio.
- face_recoverystring
Restore facial detail, and how strongly. Off leaves faces to the general upscale.
- face_recovery_creativitystring
How much a recovered face may be reimagined rather than reconstructed. Takes effect only with face_recovery on.