1 Star 0 Fork 1

Wu Linyang / show-ai

forked from 张瑞鑫 / show-ai 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

基于<百度-文心一格>的接口文字描述生成图片

一个简单实现demo,无后端,纯前端

技术栈:

  • React
  • Ant Design

注意事项

img.png

  1. 这里需要改成自己的ak、sk

给你个链接:https://wenxin.baidu.com/user/key

其他内容请参考文档,对上面几个参数进行修改 https://wenxin.baidu.com/wenxin/docs#Pl6llwf92

  1. 该项目是定时向百度发送请求,时间可以自己修改(生成图片的时间较长,大概1:20s)

可用脚本

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

空文件

简介

基于百度文心一格生成图片的简单示例展示 展开 收起
TypeScript
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/wulinyang/show-ai.git
git@gitee.com:wulinyang/show-ai.git
wulinyang
show-ai
show-ai
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891