元曜星辰 Docs
OpenAI

生成图片变体

POST
/openai/images/variations

授权

授权Bearer <token>

位置: header

请求主体

multipart/form-data

TypeScript 定义

在 TypeScript 中使用 request body 类型。

响应主体

application/json

curl -X POST "https://example.com/openai/images/variations"
{  "created": 0,  "data": [    {      "url": "string",      "b64_json": "string",      "revised_prompt": "string"    }  ]}