Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nytimes/video-captions-api

Agnostic API to generate captions for media assets across different transcription services.
https://github.com/nytimes/video-captions-api

Last synced: 3 months ago
JSON representation

Agnostic API to generate captions for media assets across different transcription services.

Awesome Lists containing this project

README

        

# video-captions-api

[![Build Status](https://cloud.drone.io/api/badges/nytimes/video-captions-api/status.svg?ref=refs/heads/main)](https://cloud.drone.io/nytimes/video-captions-api)
[![codecov](https://codecov.io/gh/nytimes/video-captions-api/branch/main/graph/badge.svg)](https://codecov.io/gh/nytimes/video-captions-api)
[![Go Report Card](https://goreportcard.com/badge/github.com/nytimes/video-captions-api)](https://goreportcard.com/report/github.com/nytimes/video-captions-api)

Agnostic API to generate captions for media assets across different cloud services.

## Development

GCP credentials are required to access Google Datastore.

```
$ gcloud auth application-default login
```

Environment variables required:

```
THREE_PLAY_API_KEY
THREE_PLAY_API_SECRET
```

Note that `THREE_PLAY_API_KEY` should take the form of `captions:,transcript:`.

Run:

```
$ make dev
```

Test:

```
$ make test
```

Go to http://localhost:8000

## Docker image

A pre-built image is available on Docker Hub: https://hub.docker.com/r/nytimes/video-captions-api

## Documentation

For more info check the [docs](https://github.com/nytimes/video-captions-api/wiki/Endpoints)