> ## 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 4.4

> 调用WZH团队-Wdraw开发小组提供的Wdraw 4.4

<Info>
  注意事项：

  1. 图片尺寸默认为 `1024*1024` 且无法修改。
  2. 每次请求默认输出一张图片且数量无法修改。
  3. Wdraw 4.4 API 兼容 OpenAI 图像生成 API。
</Info>

Wdraw 4.4 搭载了第四代绘画模型和第四代底层框架\
4.4 API 需使用[二次元 API 中转站](https://api.223387.xyz/)的 Key，且为付费 API

调用示例：

```bash theme={null}
curl https://api.223387.xyz/v1/images/generations \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer {your-api-key}" \
  -d '{
    "prompt": "A photo of an astronaut riding a horse on Mars.",
	"model": "wdraw-4.4"
}'
```

返回示例：

```json theme={null}
{
    "data": [
        {
            "b64_json": "{base64-images}"
        }
    ]
}
```

***

示例图：

<img src="https://mintcdn.com/wzh-team/KIYVYPyuimvobEC_/images/wdraw-4-4-xg.png?fit=max&auto=format&n=KIYVYPyuimvobEC_&q=85&s=cd7b95e4c28bf63699927cb66110d486" alt="image.png" width="1024" height="1024" data-path="images/wdraw-4-4-xg.png" />
