The text to image node generates an image based on a prompt.

For the size of the generated image:

  • 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

  1. Prompt: Description of the image for generation
    • Type: Text

Node Parameters

  1. Provider: Provider of the AI model you want to use. The default provider is OpenAI.
  2. Model: Specific model you want to use.
  3. Use Personal Api Key: This allows you to enter your API key.
  4. Size: Dimensions of the image you want to generate.
  5. Aspect Ratio: The aspect ratio of the image you want to generate.

Node Outputs

  1. Image: The image generated from the prompt
    • Type: Image
    • Example usage: {{ai_text_to_image_0.image}}