# Sora Next Web
Sora Next Web
## Live Demo
[https://web.getsoraapp.com](https://web.getsoraapp.com)
![preview](./public/og-image.png)
## Quick Start
1. clone project
```shell
git clone https://github.com/SoraWeb/sora-next-web
```
2. install dependencies
```shell
cd sora-next-web
yarn
```
3. set environmental values
rename `.env.template` to `.env.local` under root dir, and add the env vars
```
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
CLOUDINARY_FOLDER=<Your cloudinary folder contains video files>
```
Sign up your free [Cloudinary](https://cloudinary.com/) account to get your Cloudinary details
Also change the `next.config.js` file, to allow accessing files from cloudinary
````
remotePatterns: [
{
protocol: "https",
hostname: "res.cloudinary.com",
pathname: "/<NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME>/**",
},
],
```
4. videos folder structure
You will need to put videos in the following structure in the Cloudinary:
````
<CLOUDINARY*FOLDER>/<subfolder>/nhdp*<id>.mp4
<CLOUDINARY*FOLDER>/<subfolder>/nhdp*<id>.webm
<CLOUDINARY*FOLDER>/<subfolder>/hd1080p*<id>.mp4
<CLOUDINARY*FOLDER>/<subfolder>/hd1080p*<id>.webm
````
![cloudinary](./public/cloudinary.png)
Where video file starts `nhdp_` for preview and `hd1080p_` for details view.
If you prefer different logic of reading files, change the logic in `organizeVideos.ts`
5. local development
```shell
yarn dev
````
open `http://localhost:3000` for preview
## Credit to
- [nextjs](https://nextjs.org/docs) for full-stack development
- [tailwindcss](https://tailwindcss.com/) for page building
- [vercel gallery template](https://vercel.com/templates/next.js/image-gallery-starter) for the page styling
- [get sora app](https://getsoraapp.com) for the sora prompts
## Subscribe to the coming Sora App
you can subscribe our mailing list at [Get Sora App](https://getsoraapp.com)
## Sora Prompt Helper
try our Sora Prompt Helper [here](https://soraprompt.chat/gpts)
## Support
<a href="https://www.buymeacoffee.com/jamesgong" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
没有合适的资源?快使用搜索试试~ 我知道了~
由Get Sora应用程序提供的Sora AI视频生成器
共43个文件
tsx:14个
ts:12个
png:4个
需积分: 2 0 下载量 61 浏览量
2024-04-08
11:38:00
上传
评论
收藏 985KB ZIP 举报
温馨提示
Sora AI Video Generator是由Get Sora应用程序推出的一项功能强大的视频制作工具。这款工具利用了先进的人工智能技术,旨在帮助用户快速、轻松地创建出专业级别的视频内容。无论是用于个人娱乐、社交媒体分享还是商业宣传,Sora AI Video Generator都能够提供高效的视频编辑解决方案。 该视频生成器的核心特点在于其用户友好的界面和强大的AI驱动功能。用户可以通过简单的操作,如拖放、选择模板、添加文本和音乐等,来制作出具有吸引力的视频。AI技术的应用使得视频制作过程更加智能化,例如,它可以自动分析用户上传的图片和视频片段,为其匹配最佳的滤镜和过渡效果,甚至可以根据视频内容的节奏自动调整背景音乐。 此外,Sora AI Video Generator还提供了丰富的模板库和素材资源,包括动态背景、图标、字幕样式和音效等,用户可以根据自己的需求进行选择和定制。这些资源的多样性确保了视频内容的独特性和个性化,让用户无需具备专业的视频制作技能,也能制作出具有视觉冲击力的视频作品。
资源推荐
资源详情
资源评论
收起资源包目录
sora-next-web-main.zip (43个子文件)
sora-next-web-main
yarn.lock 201KB
pages
_app.tsx 179B
index.tsx 5KB
_document.tsx 1KB
v
[videoId].tsx 2KB
.env.template 97B
tailwind.config.js 609B
next.config.js 186B
.prettierrc 188B
styles
index.css 189B
utils
animationVariants.ts 300B
prompts.ts 15KB
cachedImages.ts 387B
cachedVideos.ts 561B
types.ts 861B
cloudinary.ts 259B
useLastViewedPhoto.ts 256B
range.ts 225B
generateBlurPlaceholder.ts 756B
getVideosList.ts 1021B
organizeVideos.ts 564B
downloadVideo.ts 647B
components
Icons
Bridge.tsx 7KB
Logo.tsx 7KB
Twitter.tsx 571B
Prompt.tsx 2KB
SharedModal.tsx 10KB
Nav.tsx 6KB
Footer.tsx 10KB
Modal.tsx 2KB
Carousel.tsx 1KB
VideoPlayer.tsx 631B
package.json 2KB
public
logo.png 36KB
favicon.ico 15KB
cloudinary.png 246KB
og-image.png 505KB
icon.png 37KB
package-lock.json 267KB
.gitignore 391B
tsconfig.json 510B
README.md 2KB
postcss.config.js 82B
共 43 条
- 1
资源评论
进击的代码家
- 粉丝: 2203
- 资源: 204
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功