fabulae: cli for creating audio from text conversations
Fabulae creates an audio conversation from a given PDF URL or a text transcript.
Prerequisites
- Google Cloud Project
- Go
- Services enabled
- Environment variable for your Project ID
- Fabulae CLI
# enable services
gcloud services enable texttospeech.googleapis.com aiplatform.googleapis.com
# set project
export PROJECT_ID=$(gcloud config get project)
# install the fabluae cli
go install github.com/ghchinoy/fabulae/fabulae-cli@latest
Try it
# try with the audiolm paper
fabulae-cli --pdf-url https://arxiv.org/pdf/2209.03143
Listen with your favorite audio player.
On OS X, you can use afplay
, e.g. afplay 20240921.045413.24.wav
On Linux, you can use play
if you have sox installed, play 20240921.045413.24.wav
Service
The service
directory contains a HTTP service that will upload the generated file to a GCS bucket
The GCS bucket must be specified in an environment variable, without the gs://
prefix, or trailing /
export GCS_AUDIO_BUCKET=my-bucket/audio-folder
For the parent solution, see GenMedia Studio
Disclaimer
This is not an officially supported Google product.