Agnostic API to generate captions for media assets across different cloud services.
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:<captions_key>,transcript:<transcript_key>
.
Run:
$ make dev
Test:
$ make test
Go to http://localhost:8000
A pre-built image is available on Docker Hub: https://hub.docker.com/r/nytimes/video-captions-api
For more info check the docs