Hippo API 接口文档
OpenAI 兼容的 GPT 生图与对话接口
Base URL
https://sub.chatacc.com/v1快速开始
登录控制台创建令牌,然后把 Base URL 换成 https://sub.chatacc.com/v1。
curl · 文生图
curl https://sub.chatacc.com/v1/images/generations \
-H "Authorization: Bearer sk-你的Key" \
-H "Content-Type: application/json" \
-d '{
"model": "生图专用-2",
"prompt": "一只戴围巾的可爱小河马,纯白背景,产品插画",
"n": 1,
"size": "1024x1024",
"response_format": "b64_json"
}'