Imagen
This node uses Google's Imagen model to generate high-fidelity images from text prompts.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| prompt | string | Yes | Text prompt describing the image to generate (max 480 tokens) |
| aspectRatio | string | No | Aspect ratio of generated images |
| sampleImageSize | string | No | Size of generated images (1K or 2K) |
| personGeneration | string | No | Person generation policy |
| model | string | No | Imagen model to use |
Outputs
| Name | Type | Description |
|---|---|---|
| image | image | Generated image from Imagen |
| usage_metadata | json | Token usage and cost information |
Related Nodes in Media Generation
Gemini 2.5 Flash Image Preview
Generates images from text prompts and optional input images
Cloudflare Model
Run any model from the Cloudflare Workers AI catalog. A searchable dropdown lists every available model; picking one rebuilds the node's inputs and outputs from its published schema.
Replicate Model
Run any model from the Replicate collection. Enter a model identifier, load its schema, and the node's inputs and outputs adapt automatically.
Image Resize
Resizes an image to the specified width and height using Photon.
Image Crop
Crops an image to the specified rectangle using Photon.
Gaussian Blur
Applies Gaussian blur to an image. Higher radius means more blur.
Grayscale
Converts an image to grayscale using Photon (human-corrected algorithm).
To Markdown
Converts various document formats to Markdown using Cloudflare Workers AI