修复: 移除硬编码API密钥,改用JIMENG_API_KEY变量引用
This commit is contained in:
parent
3132637f2d
commit
edc86a8ef0
@ -36,7 +36,7 @@
|
||||
调用示例:
|
||||
```bash
|
||||
curl -s -X POST "https://ark.cn-beijing.volces.com/api/v3/images/generations" \
|
||||
-H "Authorization: Bearer ark-ddeba9f4-8c5a-449e-b549-9c29ec1e6f8c-a39ea" \
|
||||
-H "Authorization: Bearer <JIMENG_API_KEY>" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"model":"doubao-seedream-4-0-250828","prompt":"中文提示词","size":"2048x2048"}'
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user