1 Star 2 Fork 0

klmahua / screenshot-to-code

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Troubleshooting.md 1.81 KB
一键复制 编辑 原始数据 按行查看 历史
Milton 提交于 2024-04-12 00:47 . Fix: step by step API key generation

Getting an OpenAI API key with GPT4-Vision model access

You don't need a ChatGPT Pro account. Screenshot to code uses API keys from your OpenAI developer account. In order to get access to the GPT4 Vision model, log into your OpenAI account and then, follow these instructions:

  1. Open OpenAI Dashboard
  2. Go to Settings > Billing
  3. Click at the Add payment details
285636868-c80deb92-ab47-45cd-988f-deee67fbd44d
  1. You have to buy some credits. The minimum is $5.
  2. Go to Settings > Limits and check at the bottom of the page, your current tier has to be "Tier 1" to have GPT4 access
285636973-da38bd4d-8a78-4904-8027-ca67d729b933
  1. Navigate to OpenAI api keys page and create and copy a new secret key.
  2. Go to Screenshot to code and paste it in the Settings dialog under OpenAI key (gear icon). Your key is only stored in your browser. Never stored on our servers.

Still not working?

  • Some users have also reported that it can take upto 30 minutes after your credit purchase for the GPT4 vision model to be activated.
  • You need to add credits to your account AND set it to renew when credits run out in order to be upgraded to Tier 1. Make sure your "Settings > Limits" page shows that you are at Tier 1.

If you've followed these steps, and it still doesn't work, feel free to open a Github issue. We only provide support for the open source version since we don't have debugging logs on the hosted version. If you're looking to use the hosted version, we recommend getting a paid subscription on screenshottocode.com

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/klmahuaw/screenshot-to-code.git
git@gitee.com:klmahuaw/screenshot-to-code.git
klmahuaw
screenshot-to-code
screenshot-to-code
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891