API 密钥
您的 API 密钥
• 请妥善保管您的 API 密钥,不要将其公开分享
• 使用此密钥验证对我们服务的 API 请求
• 如果泄露,请联系支持部门重新生成您的密钥
使用示例
curl -X POST "https://oai.bestimage.ai/api/v1/image/task" \
-H "Authorization: $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model_name": "flux-context-max",
"prompt": "A beautiful sunset over mountains",
"image_url_list": ["https://example.com/image1.jpg", "https://example.com/image2.jpg"],
"width": "16",
"height": "9"
}'