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):** `212eec9ae7ae3df06cefacae361cfd1f623ea7b6b1ca0e4beb4f5b7df76226e5`
