krikunts / captionbot

Simple API wrapper for https://www.captionbot.ai/
26 stars 4 forks source link

captionbot

PyPi Package Version

Captionbot is a simple API wrapper for https://www.captionbot.ai/

Installation

You can install captionbot using pip:

$ pip install captionbot

Usage

To use, simply do:

>>> from captionbot import CaptionBot
>>> c = CaptionBot()
>>> c.url_caption('your image url here')
>>> c.file_caption('your local image filename here')