21
2025
04
15:56:38

获取免费gpt-4o的api

1、访问https://github.com/marketplace

2、选择OpenAI GPT-40,点击进入

3、点击“Use this model

4、点击“Get developer key”

5、点击“Generate new token”,选择“Generate new token (classic)”

6、“Note”下面的框随便填

7、点击最下面的“Generate token”

8、复制获得的“token





base_url = "https://models.inference.ai.azure.com"api_key = "your-api-key"model = "gpt-4o"



可以免费使用,只是有一定的速率限制而已。这是官方的说明文档https://docs.github.com/zh/github-models/prototyping-with-ai-models




推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

本文链接:https://zblog.hqyman.cn/post/10614.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:
打赏





休息一下~~


« 上一篇 下一篇 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

请先 登录 再评论,若不是会员请先 注册

您的IP地址是: