From efd7434879a98ddc87d3b89e0b25ccfb4b40f02c Mon Sep 17 00:00:00 2001 From: iProbe Date: Thu, 14 Dec 2023 14:55:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20=E5=85=B6=E4=BB=96/googleA?= =?UTF-8?q?I-key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 其他/googleAI-key | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 其他/googleAI-key diff --git a/其他/googleAI-key b/其他/googleAI-key new file mode 100644 index 0000000..3d708ea --- /dev/null +++ b/其他/googleAI-key @@ -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" +``` \ No newline at end of file