TenZenTenzen AI
API 参考AI 模型接口图像(Images)通义千问OpenAI格式

编辑图像

百炼qwen-image系列图片编辑

POST/v1/images/edits

以下为根据 OpenAPI Schema 自动生成的模拟请求参数,用于对照下方参数说明与右侧示例;不会发起真实请求。

{
  "method": "POST",
  "url": "https://api.tenzen.ai/v1/images/edits",
  "headers": {
    "Content-Type": "application/json"
  },
  "body": {
    "model": "string",
    "input": {
      "messages": [
        {}
      ]
    }
  }
}

Authorization

BearerAuth

AuthorizationBearer <token>

使用 Bearer Token 认证。 格式: Authorization: Bearer sk-xxxxxx

In: header

Request Body

application/json

model*string
input*
parameters?

Response Body

application/json

curl -X POST "https://api.tenzen.ai/v1/images/edits" \  -H "Content-Type: application/json" \  -d '{    "model": "string",    "input": {      "messages": [        {}      ]    }  }'
{
  "created": 0,
  "data": [
    {
      "url": "string",
      "b64_json": "string",
      "revised_prompt": "string"
    }
  ]
}