Welcome to your TTS Remotion project!
- Create Azure Account
- Create TTS service on Azure
- Create AWS Account
- Setup S3 Bucket with public access
- Configure bucket policy
{ "Version": "2008-10-17", "Statement": [ { "Sid": "AllowPublicRead", "Effect": "Allow", "Principal": { "AWS": "*" }, "Action": "s3:GetObject", "Resource": "arn:aws:s3:::<YOUR-BUCKET-NAME>/*" } ] } - Configure bucket CORS
- Use it only as a template, we recommend you to edit "AllowedOrigins" entering your origin
[ { "AllowedHeaders": ["*"], "AllowedMethods": ["HEAD", "GET", "PUT", "POST", "DELETE"], "AllowedOrigins": ["*"], "ExposeHeaders": ["ETag", "x-amz-meta-custom-header"] } ]
- Configure bucket policy
- Copy
.env.exampleto.enventering your secrets⚠️ Ensure your AWS credentials only allow reading and uploading to a specific S3 buckets3:GetObjectands3:PutObjectto not compromise your credentials if you deploy your Remotion project
- Use method
textToSpeechfromsrc/TextToSpeech/tts.tsto convert Text to Audio, this method will return file url, you can use it as source of<Audio />component
Install Dependencies
npm installStart Preview
npm startRender video
npm run buildSee docs for server-side rendering here.
Upgrade Remotion
npm run upgradeGet started with Remotion by reading the fundamentals page.
Found an issue with Remotion? File an issue here.
Notice that for some entities a company license is needed. Read the terms here.
