Venice AI

Use Venice AI for chat, image generation, embeddings, and more

Actions9

Overview

The node integrates with Venice AI to perform various AI-powered tasks. Specifically, for the Image - Upscale operation, it takes an input image and increases its resolution by a specified scale factor (1 to 4). Optionally, it can enhance the image quality during upscaling using a style prompt.

This operation is useful when you want to improve the quality or size of images without losing detail, such as preparing images for printing, enhancing photos for presentations, or improving visuals for digital content.

Example use cases:

  • Upscaling low-resolution product images for e-commerce.
  • Enhancing artwork or photographs before sharing on social media.
  • Improving scanned documents or images for better readability.

Properties

Name Meaning
Image Name of the binary property containing the image to be upscaled.
Scale Upscale factor, a number between 1 and 4 indicating how much to enlarge the image.
Enhance Boolean flag to enable additional enhancement during upscaling.
Enhance Prompt Style description applied during enhancement (e.g., "gold", "marble"). Only used if Enhance is true.

Output

The output contains the upscaled image in binary form under the binary field named data. The file is prepared with the filename upscaled_image.png.

The json field in the output is empty ({}), meaning no additional metadata is returned alongside the binary image data.

Dependencies

  • Requires an API key credential for Venice AI to authenticate requests.
  • The node calls the Venice AI /image/upscale endpoint via a POST request, sending the original image data along with parameters for scale and enhancement.
  • The node expects the input image to be provided as binary data in the specified property.

Troubleshooting

  • Error: No binary data property "X" found
    This error occurs if the specified image property does not exist or does not contain binary data in the input item. Ensure that the input item has binary data under the exact property name configured in the node.

  • Invalid scale value
    The scale must be between 1 and 4. Values outside this range may cause errors or unexpected behavior.

  • Enhance prompt required when Enhance is enabled
    If enhancement is enabled but no style prompt is provided, the node will still work but without applying any specific style. Providing a meaningful style prompt improves results.

  • API authentication errors
    Make sure the Venice AI API key credential is correctly configured and valid.

Links and References


If you need details about other operations or resources, feel free to ask!

Discussion