Image Generation creates still images from text prompts. Use it for thumbnails, reference frames, product concepts, style exploration, or as input context for Video Generation.Documentation Index
Fetch the complete documentation index at: https://docs.mosaic.so/llms.txt
Use this file to discover all available pages before exploring further.
How It Works
Write a prompt, choose an output size and quality, and optionally attach image references. Mosaic stores the generated image as a workspace asset so it can be reused by downstream tiles or API runs.API Usage
Create an agent shell:API Info
Node Params & API Details
Node Params & API Details
- Node ID:
18b998a0-2ea7-4676-a5d3-3ae6c8ac0b72
Node params
| Param | Type | Required | Default | Notes |
|---|---|---|---|---|
prompt | string | Yes | "" | Image prompt. |
model | "gpt-image-2" | No | "gpt-image-2" | Image model. |
image_size | "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | "auto" | "custom" | No | "landscape_4_3" | Output size preset. |
custom_width | number | Conditional | 1280 | Required when image_size is custom; multiple of 16, 256-3840. |
custom_height | number | Conditional | 960 | Required when image_size is custom; multiple of 16, 256-3840. |
quality | "low" | "medium" | "high" | No | "high" | Generation quality. |
output_format | "jpeg" | "png" | "webp" | No | "png" | Generated image format. |
selected_context | {images:string[]} | No | empty list | Uploaded image references. |