Image → Generate
AI-generatedSummary
Generate an image from a text description prompt using Yandex Art AI, optionally specifying negative prompts, image format, aspect ratio, and a seed for reproducibility. The operation can either wait for image generation to complete or return immediately with an operation ID for manual polling.
Inputs
- Prompt (required) — Text description to generate the image from. Maximum 500 characters; can be automatically truncated.
- Additional Options — Optional parameters including negative prompt (what to avoid), MIME type for output image (JPEG or PNG), aspect ratio (e.g., square, landscape, portrait), and seed for reproducible results.
- Advanced Options — Controls truncation of the prompt, whether to wait for generation completion, polling interval in seconds during wait, and maximum wait time before timeout.
Output shape
a list of items each containing the generated image as binary data and metadata JSON; or if waiting is disabled, a JSON object with operation ID and state
If 'Wait for Completion' is true (default), the node polls for image generation completion within a maximum wait time and returns the image binary along with info about the generation. If false, returns immediately with operation ID to check status separately. Errors include descriptive messages when prompt is missing or generation fails.