多模态 AI 与智能体 · ai.image.render

商业门头与室内空间多模态 AI 实景渲染

调用 Image v3.1 / Qwen-Image-2.1 集群生成商业门头或室内实景级效果图(需正式 AppKey 鉴权)。

请求地址(支持 GET / POST)
POST https://www.xntou.cn/api/open/v1/ai/image-render
单次计费
¥1.5 / 150 点
沙箱体验
需 AppKey 鉴权

⚡ 在线调试台(Sandbox Debugger)

实时返回结果
{
  "error_code": 0,
  "reason": "Success",
  "api_code": "ai.image.render",
  "result": {
    "status": "queued",
    "model": "clavue-img-renovation"
  }
}

请求参数与返回字段说明

1. 请求参数

参数名类型必填示例默认值说明
prompt string 必填 新中式茶饮临街门头,原木格栅配暖白背发光字,通透落地玻璃,写实商业摄影 渲染提示词(中文或英文)
style string 选填 new-chinese-tea 空间或门头风格编码

2. 核心返回字段(result)

字段路径类型说明
result.jobId string 渲染任务 ID
result.model string 调度推理模型
result.status string 任务状态或预览元数据

多语言接入代码示例

curl -s -X POST "https://www.xntou.cn/api/open/v1/ai/image-render" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: YOUR_APP_KEY" \
  -d '{"prompt":"新中式茶饮临街门头,暖白背发光字","style":"new-chinese-tea"}'
import requests
resp = requests.post("https://www.xntou.cn/api/open/v1/ai/image-render", headers={"X-Api-Key": "YOUR_APP_KEY"}, json={
  "prompt": "新中式茶饮临街门头,暖白背发光字",
  "style": "new-chinese-tea"
})
print(resp.json())
const res = await fetch("https://www.xntou.cn/api/open/v1/ai/image-render", {
  method: "POST",
  headers: { "Content-Type": "application/json", "X-Api-Key": "YOUR_APP_KEY" },
  body: JSON.stringify({
  "prompt": "新中式茶饮临街门头,暖白背发光字",
  "style": "new-chinese-tea"
})
});
console.log(await res.json());
<?php
$ch = curl_init("https://www.xntou.cn/api/open/v1/ai/image-render");
curl_setopt($ch, CURLOPT_POSTFIELDS, '{"prompt":"新中式茶饮临街门头,暖白背发光字","style":"new-chinese-tea"}');
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json', 'X-Api-Key: YOUR_APP_KEY']);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
echo curl_exec($ch);