banner
andrewji8

Being towards death

Heed not to the tree-rustling and leaf-lashing rain, Why not stroll along, whistle and sing under its rein. Lighter and better suited than horses are straw sandals and a bamboo staff, Who's afraid? A palm-leaf plaited cape provides enough to misty weather in life sustain. A thorny spring breeze sobers up the spirit, I feel a slight chill, The setting sun over the mountain offers greetings still. Looking back over the bleak passage survived, The return in time Shall not be affected by windswept rain or shine.
telegram
twitter
github

不用开发,如何 10 分钟上线一个 AI 产品

不会编程,就不能做 AI 相关产品了吗?
不用开发,如何 10 分钟上线一个 AI 产品呢?
今天给大家推荐 Vercel AI 模板中心,这个大宝库。
网址是 https://vercel.com/templates/ai ,打开后长下面这样。

image

可用的 AI 产品模板直接列出来了,我们只需要一个一个点进去,查看功能,并且在线体验 demo 站点,就可以选出我们需要的 AI 产品。

举例,我之前看到有人在宣传推广他的 AI 代码转换器产品,当时还觉得,做得不错啊。

后来才发现,直接是用的 Vercel 的这个模板 https://vercel.com/templates/next.js/ai-code-translator 部署起来的。

image
部署步骤也特别简单,下面我尽量用没有任何基础也能看懂的方式来给大家讲解一下。

第 1 步:注册 Vercel 账号

打开 Vercel 注册页面 https://vercel.com/signup ,选择第一个 Hobby 套餐,因为我们是个人项目使用。

image
之后,输入你的用户名,举例我这里可以输入 “andrewji8”,点击 “Continue” 按钮。

image
下一步,选择 Github 登录。如果你没有 Github 账号,那么需要注册一个,就点击 “Create an account”。

image
第 2 步,注册 Github 账号

按照下方要求,输入用户名、邮箱和密码。

image
之后点击这个页面下方的 “verify” 按钮。

image
按照要求进行人机验证,通过后就可以点击 “Create account” 按钮了。

image
之后,Github 会向我们的注册邮箱发送一封验证邮件,复制 8 位数字验证码,输入后就能验证通过。

image
第 3 步,用 Github 授权注册(或登录)Vercel

点击 “Authorize Vercel” 按钮,同意授权登录 Vercel。

image
到此,就注册成功了 Vercel 账号了。

第 4 步,部署 AI 产品模板

我们以 AI 代码转换器为例,打开 https://vercel.com/templates/next.js/ai-code-translator ,点击页面左下角的 “Deploy” 按钮。

image
下一步,会让我们选择用哪个平台存储代码,因为我们用 Github 注册的,所以就选择 Github。

image
之后输入框保持默认值,点击 “Create” 按钮。

image
这个项目需要填写 OpenAI 的 API Key ,需要去 https://platform.openai.com/account/api-keys 创建一个新的 key ,填入到第二个输入框,之后点击 “Deploy” 按钮。

image
到这一步,看到漫天飞花,就说明部署成功了,点击右上角的 “Continue to Dashboard”。

image
可以看到状态是 “Ready”,说明正常运行,复制 Vercel 免费提供给我们的子域名网址 https://ai-code-translator-orpin-six.vercel.app/ 打开。

image
在左侧输入 javascript 代码,点击 “Translate” 按钮,就把代码翻译成 python 代码了,说明部署成功且真的能够正常运行。

image
如果你想部署其它 AI 产品模板,也是一样的步骤。

加载中...
此文章数据所有权由区块链加密技术和智能合约保障仅归创作者所有。