> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-feat-openapi-i18n.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# RunwayTextToImageNode - ComfyUI Built-in Node Documentation

> Complete documentation for the RunwayTextToImageNode node in ComfyUI. Learn its inputs, outputs, parameters and usage.

The Runway Text to Image node generates images from text prompts using Runway's Gen 4 model. You can provide a text description and optionally include a reference image to guide the image generation process. The node handles the API communication and returns the generated image.

## Inputs

| Parameter         | Description                                      | Data Type | Required | Range                                                                                             |
| ----------------- | ------------------------------------------------ | --------- | -------- | ------------------------------------------------------------------------------------------------- |
| `prompt`          | Text prompt for the generation (default: "")     | STRING    | Yes      | -                                                                                                 |
| `ratio`           | Aspect ratio for the generated image             | COMBO     | Yes      | "16:9"<br />"1:1"<br />"21:9"<br />"2:3"<br />"3:2"<br />"4:5"<br />"5:4"<br />"9:16"<br />"9:21" |
| `reference_image` | Optional reference image to guide the generation | IMAGE     | No       | -                                                                                                 |

**Note:** The reference image must have dimensions not exceeding 7999x7999 pixels and an aspect ratio between 0.5 and 2.0. When a reference image is provided, it guides the image generation process.

## Outputs

| Output Name | Description                                                               | Data Type |
| ----------- | ------------------------------------------------------------------------- | --------- |
| `output`    | The generated image based on the text prompt and optional reference image | IMAGE     |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/RunwayTextToImageNode/en.md)

***

**Source fingerprint (SHA-256):** `c9403da2e9ad8f663d3eea32eb549843696262e4472fc8d58c1f56ef9cc5aa7d`
