Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fredhutch/loquiapi
Web API for Generating Automated Videos
https://github.com/fredhutch/loquiapi
api edtech-software plumber plumber-api
Last synced: about 1 month ago
JSON representation
Web API for Generating Automated Videos
- Host: GitHub
- URL: https://github.com/fredhutch/loquiapi
- Owner: FredHutch
- License: other
- Created: 2023-09-25T22:06:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-06T18:47:30.000Z (10 months ago)
- Last Synced: 2024-04-16T04:30:10.048Z (9 months ago)
- Topics: api, edtech-software, plumber, plumber-api
- Language: R
- Homepage: https://loquiapi.fredhutch.org/__docs__/
- Size: 68.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# loquiAPI
The goal of loquiAPI is to empower users to programmatically generate automated videos from Google Slides or Microsoft PowerPoint slides. By utilizing the API hosted on Fred Hutch's servers, accessible at , and using R functions like `generate_from_gs()`, users gain the ability to produce numerous videos simultaneously from various sets of slides in Google Slides or PowerPoint.
_The API performs optimally when the user is connected to the Fred Hutch VPN._
Inspiration for R code packaged together with aplumber API was drawn from this [Posit Community post](https://community.rstudio.com/t/plumber-api-and-package-structure/18099).
## Installation
You can install the development version of loquiAPI from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("FredHutch/loquiAPI")
```## Example
When you want to generate a video of your Google Slides, run `generate_from_gs(link)` and you should see the output file path to your video mp4 file.
```{r, eval = FALSE}
library(loquiAPI)generate_from_gs(link = "https://docs.google.com/presentation/d/1Dw_rBb1hySN_76xh9-x5J2dWF_das9BAUjQigf2fN-E/edit#slide=id.p")
```## More Voice Options
If you'd like to explore different voices but aren't certain about the available options, you can visit the [CoquiTTS](https://huggingface.co/spaces/coqui/CoquiTTS) Hugging Face Space. Once you find a voice you like, please let me know by submitting a GitHub issue and I will make sure to include it.