Bearer Token
所有/api/v1/* 接口需要 Bearer Token 认证:
你可以在 API Dashboard 中获取你的 API Key。
API 认证方式
/api/v1/* 接口需要 Bearer Token 认证:
Authorization: Bearer YOUR_API_SECRET
curl -X POST https://api.maxapi.io/api/v1/task/submit \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_SECRET" \
-d '{"model": "jimeng-4.5", "input": {"prompt": "hello"}}'
{
"code": 401,
"msg": "unauthorized"
}