Skip to main content
Text to Image 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}}

Example

The below example shows a pipeline that takes a text description and generates an image based on that description.
  1. Input Node: Contains the text description of the image to generate
  2. Text to Image Node: Converts the text description into an image
    • Prompt: Utilizes{{input_0.text}}
  3. Output: The generated image
    • Output: {{ai_text_to_image_0.image}}
Text to Image Example

Pricing