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

# Wdraw 5.6

> Call Wdraw 5.6 provided by the WZH Team - Wdraw Development Group

<Info>
  Notes:

  2. Each request outputs one image by default and the quantity cannot be changed.
  3. Wdraw 5.6 API is compatible with the OpenAI image generation API.
  4. `num_inference_steps` value range: greater than `1` and less than `50`.
</Info>

Wdraw 5.6 features the fifth-generation drawing model and sixth-generation underlying framework. This version is limited by compute resources and only offers a quantized small model; the original large model API is not publicly available.\
The 5.6 API requires a Key from the [ACG API Relay](https://api.223387.xyz/) and is a paid API.

<Check>
  Generate online: [https://s7.ecylt.top/v1/wdraw/generation.html](https://s7.ecylt.top/v1/wdraw/generation.html)
</Check>

Usage example:

## Image generation

```shellscript theme={null}
curl -X POST "https://api.223387.xyz/v1/images/generations" \
  -H "Authorization: Bearer {API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Catgirl",
    "model": "wdraw-5.6",
    "size": "2048x2048",
    "extra_body": {
      "num_inference_steps": 6,
      "guidance_scale": 1
    }
  }'
```

## Supported models

`wdraw-5.6` is the latest publicly available drawing model in the Wdraw series, featuring the fifth-generation drawing model and sixth-generation underlying framework. It maintains low cost while ensuring good image quality. Note that because this version uses the sixth-generation framework, **the model requires extremely high accuracy of input content**, and while it supports both Chinese and English, English support is better.

`wdraw-5.6-low` is a lightweight version of Wdraw 5.6 that inherits the image generation quality of Wdraw 5.6 while reducing usage costs. This version supports a maximum resolution of 1K.

## Supported resolutions

Wdraw 5.6:

```text theme={null}
2048x2048
2048x1536
1536x2048
2048x1152
1152x2048
and all resolutions supported by Wdraw 5.6 Low
```

Wdraw 5.6 Low:

```text theme={null}
1024x1024
1024x768
768x1024
1024x576
576x1024
```
