Generate
AI-generatedSummary
Generate one or more images from a text prompt using selected Google AI image generation models via the Kie.ai API.
Inputs
- Model — Select the AI model to use for image generation (e.g., Imagen 4 Ultra, Nano Banana). Defaults to 'Imagen 4'.
- Prompt (required) — Text description of the desired image content to guide generation.
- Aspect Ratio — Choose the aspect ratio of the generated image (e.g., 1:1, 16:9). Defaults to 1:1.
- Negative Prompt — Specify elements to avoid in the generated image.
- Number of Images — Number of images to generate simultaneously (1 to 4). Defaults to 1.
- Seed — Random seed number for generation reproducibility. Use 0 for a random seed.
- Reply URL — Optional webhook URL to receive a callback when generation completes.
- Reply Ref — Custom string included in webhook callback for reference.
- Captcha Token — reCAPTCHA token if required by the API.
- Wait for Completion — Boolean to indicate if the node should wait and poll the task until completion (polls every 3 seconds, timeout after 5 minutes). Defaults to true.
Output shape
a JSON array containing the API response or final generated image data after task completion
If 'Wait for Completion' is enabled, the operation polls the task status until success or failure and returns detailed task data including generated image URLs. If disabled, it returns the initial task creation response containing the task ID. Error responses are returned in the output if encountered and 'Continue on Fail' is enabled.