基础
API 手册
Enable users to interact with your API
POST
API 沙盒环境支持实时请求调试,直观查看接口返回数据。
为了代码安全,建议:
- 通过环境变量管理敏感信息(如 API Key),比如对于 Python 调用,使用
os.getenv("AIHUBMIX_API_KEY")
。 - 不要在日志/输出中打印敏感信息。
- 不要将密钥提交到代码仓库,将 .env 添加到 .gitignore 来防止泄漏。
Authorizations
Body
application/json
Response
200
application/json
成功响应
The response is of type object
.