> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gengen.farm/llms.txt
> Use this file to discover all available pages before exploring further.

# z-image Text-to-Image

> Asynchronous text-to-image generation model with custom output dimensions and optional prompt rewriting.

z-image is an asynchronous text-to-image model. It creates image generation tasks from text prompts and returns a public GENGEN task ID immediately after the task is accepted.

The model supports custom width and height from 256 to 1536 pixels and optional prompt rewriting for expanded prompt detail before generation.

In GENGEN, z-image uses its own image task endpoint instead of the synchronous Seedream image generation endpoint.

## Model ID

```text theme={"dark"}
z-image-spicy
```

Pass this exact public ID in the top-level `model` field. Do not substitute an upstream provider alias.

## Supported modes

* `text_to_image`

## Inputs

* `Text`

## Outputs

* `Image`

## Capabilities

* `Text-to-image`

### Additional capabilities

* `Text-to-image`
* `Custom dimensions`
* `Prompt rewriting`

## Technical details

| Property          | Value                                 |
| ----------------- | ------------------------------------- |
| Provider          | `wan`                                 |
| Modality          | `image`                               |
| Processing        | `Asynchronous task`                   |
| Endpoint          | `/api/gengen/v1/z-images/generations` |
| Watermark control | `Not supported`                       |

<Note>
  Availability and final customer prices can change. Check the [Dashboard model catalog](https://gengen.farm/dashboard?section=models) before production use.
</Note>

See the [API reference overview](/api-reference/introduction) for authentication, request conventions, and response schemas.
