# show-ai **Repository Path**: wulinyang/show-ai ## Basic Information - **Project Name**: show-ai - **Description**: 基于百度文心一格生成图片的简单示例展示 - **Primary Language**: TypeScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-09-15 - **Last Updated**: 2023-09-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 基于<百度-文心一格>的接口文字描述生成图片 ### 一个简单实现demo,无后端,纯前端 ### 技术栈: * React * Ant Design ## 注意事项 ![img.png](img.png) 1. 这里需要改成自己的ak、sk > 给你个链接:https://wenxin.baidu.com/user/key > > 其他内容请参考文档,对上面几个参数进行修改 https://wenxin.baidu.com/wenxin/docs#Pl6llwf92 2. 该项目是定时向百度发送请求,时间可以自己修改(生成图片的时间较长,大概1:20s) ## 可用脚本 In the project directory, you can run: ### `yarn start` Runs the app in the development mode.\ Open [http://localhost:3000](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](https://facebook.github.io/create-react-app/docs/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](https://facebook.github.io/create-react-app/docs/deployment) for more information.