Overview
The VeniceAi node's "Upscale" operation allows you to increase the resolution of an input image using Venice AI's upscaling models. This is particularly useful for enhancing low-resolution images, preparing images for print or high-quality display, or improving visual clarity in digital assets. The node accepts a binary image input and provides options to control the scale factor, enhancement, replication, creativity, and an optional prompt to guide the upscaling process.
Practical examples:
- Upscaling product photos for e-commerce websites.
- Enhancing old or low-res images for archival or restoration purposes.
- Improving the quality of user-uploaded avatars or profile pictures.
Properties
Name | Type | Meaning |
---|---|---|
Binary Image | Boolean | If enabled, expects an image from the binary data of the incoming item (required). |
Binary Image Property | String | The property name in the binary data that contains the image to upscale (default: "data"). Only shown if "Binary Image" is true. |
Scale Factor | Options | How much to upscale the image by: 2x or 4x original size. |
Enhance | Boolean | Whether to apply additional enhancement to the upscaled image. |
Replication | Number | Replication value (0-1) to control the upscaling algorithm's behavior. |
Enhance Creativity | Number | Value (0-1) to adjust the creativity applied during upscaling. |
Prompt | String | Optional text prompt to influence the upscaling process. |
Output
json:
success
(boolean): Indicates if the upscaling was successful.filename
(string): Name of the resulting image file.format
(string): MIME type of the output image (e.g., "image/png").scale
(number): The scale factor used (2 or 4).enhance
(boolean): Whether enhancement was applied.replication
(number): Replication parameter value.enhanceCreativity
(number): Creativity parameter value.prompt
(string): The prompt used, if any.
binary:
data
: Contains the upscaled image as binary data (usually PNG format).
Dependencies
- External Service: Requires access to the Venice AI API.
- API Key: You must provide valid Venice AI API credentials (
veniceAiApi
) in n8n. - n8n Configuration: The node must be able to access binary data on incoming items.
Troubleshooting
Common Issues:
Missing Binary Data:
Error: "No binary data exists on item!"
Resolution: Ensure the incoming item has a binary property with the image data.Incorrect Binary Property Name:
Error: "No binary data property '...' exists on item!"
Resolution: Check that the "Binary Image Property" matches the property name containing your image.Invalid File Type:
Error: "The provided binary data is not an image!"
Resolution: Make sure the binary data is a valid image (e.g., PNG, JPEG).Authentication Errors:
Error: "No valid API key provided"
Resolution: Set up your Venice AI API credentials in n8n.API Response Errors:
Error: Any error message returned from the Venice AI API will be included in the output under theerror
field if "Continue On Fail" is enabled.