AsterFlowAsterFlow
使用指南API 参考AI 应用帮助支持商务合作合规与使用政策
⚠️合规提示:请在合法授权范围内使用 AsterFlow,并遵守模型服务商条款、平台规则、监管要求和内容安全要求。
AI 模型接口图像(Images)通义千问OpenAI格式

生成图像

百炼qwen-image系列图片生成

POST
/v1/images/generations

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://loading/v1/images/generations" \  -H "Content-Type: application/json" \  -d '{    "model": "string",    "input": {      "messages": [        {}      ]    }  }'
{
  "created": 0,
  "data": [
    {
      "url": "string",
      "b64_json": "string",
      "revised_prompt": "string"
    }
  ]
}
生成图像 | AsterFlow 文档