This node allows you to generate or edit images using Gemini or Imagen models. Gemini supports image editing, while Imagen models do not.
To generate an image, provide a descriptive prompt. The more detailed your prompt, the better the resulting image will be.
To edit images (Gemini only), connect a table containing image columns to the optional input port. You can select which image columns to use for editing and provide instructions on how to modify or combine the images.
Note: Image generation may be significantly more expensive than text generation. Please refer to Gemini Docs for more details on how the costs are calculated.
The type of model to use for image generation.
Available options:
Select the specific Gemini model to use.
Select the specific Imagen model to use.
The prompt describing the image you want to generate or how to edit the input images.
For text-to-image generation, describe the image you want to create in detail. For image editing, describe how you want to modify, combine, or enhance the input images.
The token limit depends on the selected model: - Gemini models: 32,768 tokens - Imagen models: 480 tokens
Select the image columns to use for editing. When multiple columns are selected, the model will use all the images to generate a new image based on your prompt.
For example, you could have one column with objects and another with backgrounds, then instruct the model to combine them.
Note: This feature is only available for Gemini models.
Changes the aspect ratio of the generated image.
Available options:
Allow the model to generate images of people.
Available options:
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension KNIME Python Extension Development (Labs) from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.