模型端点Z-ImageTurbo

使用 z-image/turbo 生成图像

调用 z-image/turbo 模型生成图像。

POST
/api/v1/model/generateImage

Authorization

BearerAuth
AuthorizationBearer <token>

API key is required to authorize requests. Create a key in the Atlas Cloud dashboard.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/model/generateImage" \  -H "Content-Type: application/json" \  -d '{    "model": "z-image/turbo",    "prompt": "string"  }'
{  "created_at": "2019-08-24T14:15:22Z",  "has_nsfw_contents": [    true  ],  "id": "string",  "model": "string",  "outputs": [    "string"  ],  "status": "string",  "urls": {}}

Last updated on