# Text to Image

The **Text to Image** node allows you to generate images based on text descriptions (prompts) using AI models specifically designed for image generation. Here’s a breakdown of the key settings for this node:

* **Label**: This is the name of the node. You can rename it to reflect the specific task or function you are using it for.
* **Model**: This field lets you choose which AI model to use for generating the image. By default, it may be set to a specific model, but you can select from various available models. For a list of models, you can refer to Resources.
* **Prompt**: This required field is where you input a text description of the image you want to generate. The more detailed and specific the prompt, the more accurate the generated image will be based on your expectations.
* **Size**: This setting defines the dimensions of the generated image. Common options include 1024x1024 (as shown), but other sizes may be available depending on the model.
* **Style**: This parameter allows you to choose the style of the generated image. Options like “natural” (as shown) may be available, or you might select other styles depending on the desired aesthetic.
* **Fallback Outputs**: This field allows you to define a fallback action in case the image generation fails, ensuring the workflow continues smoothly.

This node is useful for converting text descriptions into images for various creative applications, from artwork to visual content for projects.

***

We’d love to hear from you! Reach out to **<documentation@integrail.ai>**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.integrail.ai/agent-studio/editor/text-to-image.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
