Independent Runtime · API Ready
商品图片处理纯 LLM
独立部署的商品图片处理工作流
● 服务入口已配置Bearer Token 鉴权异步 RunCenter 统一计费
从这个域名直接创建 Run
接口路径与 Lisa Center 一致。请求在本 Runtime 执行,授权、限流、状态、计费与审计仍由 Center 管理。
set -euo pipefail
curl --fail-with-body -sS -X POST "https://ai-img.centrdx.com/v1/agents/agent_product_photo_llm/runs" \
-H "Authorization: Bearer $LISA_API_TOKEN" \
-H "Idempotency-Key: photo-demo-001" \
-H "Content-Type: application/json" \
--data-binary @- <<'LISA_JSON'
{
"mode": "async",
"external_user_id": "merchant-user-001",
"input": {
"image_url": "https://example.com/source-product.png",
"prompt": "保留包装和品牌标识,生成干净的白底商品图",
"options": {
"background": "white",
"usage": "store_product",
"style": "natural"
}
}
}
LISA_JSON
curl --fail-with-body -sS "https://ai-img.centrdx.com/v1/runs/{run_id}" \
-H "Authorization: Bearer $LISA_API_TOKEN"- API Base
https://ai-img.centrdx.com- Agent ID
agent_product_photo_llm- 认证
Bearer $LISA_API_TOKEN
公开内容与凭据边界
本页面可以公开访问。真实 Token 只应通过环境变量或服务端密钥管理传入,不能写进前端代码、URL、日志或截图。