
- If the provider is OpenAI, you need to specify the image size.
- If the provider is Flux or Stability AI, you need to specify the aspect ratio.
Node Inputs
- Prompt: Description of the image for generation
- Type:
Text
- Type:
Node Parameters
- Provider: Provider of the AI model you want to use. The default provider is OpenAI.
- Model: Specific model you want to use.
- Use Personal Api Key: This allows you to enter your API key.
- Size: Dimensions of the image you want to generate.
- Aspect Ratio: The aspect ratio of the image you want to generate.
Node Outputs
- Image: The image generated from the prompt
- Type:
Image - Example usage:
{{ai_text_to_image_0.image}}
- Type:
Example
The below example shows a pipeline that takes a text description and generates an image based on that description.- Input Node: Contains the text description of the image to generate
- Text to Image Node: Converts the text description into an image
- Prompt: Utilizes
{{input_0.text}}
- Prompt: Utilizes
- Output: The generated image
- Output:
{{ai_text_to_image_0.image}}
- Output:

