runway_generateImage
Generate images from text prompts using AI, with optional reference images for precise control over visual elements and multiple aspect ratio options.
Instructions
Generate an image from a text prompt and optional reference images. Available ratios are 1920:1080, 1080:1920, 1024:1024, 1360:768, 1080:1080, 1168:880, 1440:1080, 1080:1440, 1808:768, 2112:912, 1280:720, 720:1280, 720:720, 960:720, 720:960, 1680:720. Use 1920:1080 by default. It also accepts reference images, in the form of either a url or a base64 encoded image. Each reference image has a tag, which is a string that refers to the image from the user prompt. For example, if the user prompt is "IMG_1 on a red background", and the reference image has the tag "IMG_1", the model will use that reference image to generate the image. The return of this function will contain a url to the generated image.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
promptText | Yes | ||
ratio | Yes | ||
referenceImages | No |