#### Model Capabilities

# Multi-Image Editing

Use up to three source images for a single image edit. You can specify images in the order they are sent in the request. By default, the output aspect ratio follows the first input image. You can override this by setting the `aspect_ratio` parameter to a specific ratio, such as `"1:1"` or `"16:9"`.

## Related

* [Image Generation](/developers/model-capabilities/images/generation) — Generate images from text prompts
* [Image Editing](/developers/model-capabilities/images/editing) — Edit a source image with natural language
* [API Reference](/developers/rest-api-reference) — Full endpoint documentation
* [Imagine API Landing Page](https://x.ai/api/imagine) — Showcase of the Imagine API in action
