Hugging Face Image Up Scaling
This action allows you to select a single or multiple images from the assets and upscale by a factor of 2. The generated images will update the selected assets or create new assets with a separate suffix.
To get started, you need to create a Hugging face endpoint which is using one of these models:
- Upscaling x2 based on Swin2SR: uses Swin2SR in the background.
- Upscaling x2 based on DAT: uses DAT-x2 in the background.
Available Context
For more information on context limitations refer to the Available Context section.
Multiselect: Yes Elements: Images
Configuration Options
model_endpoint: 'https://your-hugging-face.huggingface.cloud'
persistence_mode: new
filename_suffix_template: _{{ subject.getId() }}_upscaled
Detailed Configuration Options
model_endpoint: (Required) Specifies the endpoint for the model you want to use for image up scaling.
persistence_mode: (Optional) Specifies the mode of persistence for the generated images. The default value is new
. The other option is overwrite
.
filename_suffix_template: (Optional) Specifies the suffix as a twig template to be added to the filename of the generated images. The default value is _upscaled
.