更新 其他/googleAI-key.md

This commit is contained in:
iProbe 2024-06-12 15:33:10 +08:00
parent ef836d721c
commit e606dfc81b

9
其他/googleAI-key.md Normal file
View file

@ -0,0 +1,9 @@
APIKEY: AIzaSyA1W-3ZB-EJwhPZvTcx6gd4Yc1o2LmfAg8
```shell
curl \
-H 'Content-Type: application/json' \
-d '{ "prompt": { "text": "Write a story about a magic backpack"} }' \
"https://generativelanguage.googleapis.com/v1beta3/models/text-bison-001:generateText?key=YOUR_API_KEY"
```