bash | ||
.gitignore | ||
LICENSE | ||
README.md |
captionbot-clients
This repo contains Captionbot.ai API clients in various programming languages.
Telegram bot client
The telegram bot client was created by @topkecleon, Juan Potato (@awkward_potato), Lorenzo Santina (BigNerd95) and Daniil Gentili and is public domain.
It makes use of JSON.sh (http://github.com/dominictarr/./JSON.sh), which is MIT-Apache licensed,
of the bash client, which is licensed under the terms of GPLv3,
and of tmux, which is BSD-licensed.
To run it open https://telegram.me/caption_ai_bot
Bash client
The bash client was created by Daniil Gentili and is licensed under the terms of GPLv3 and makes use of JSON.sh (http://github.com/dominictarr/./JSON.sh), which is MIT-Apache licensed.
To run the bash client execute the following commands:
git clone https://github.com/danog/captionbot-clients/ # To clone the repo
cd captionbot-clients
./captionbot.sh
This will output the following text:
captionbot.ai api client.
This script will try to recognize the content of any image you give him using Microsoft's captionbot.ai website api.
Usage: ./captionbot.sh file
or
Usage: ./captionbot.sh url
Add the norate parameter to avoid the rating prompt:
Usage: ./captionbot.sh url norate
Add the script parameter to avoid the rating prompt and delete all output apart from the image description:
Usage: ./captionbot.sh url script
Here follow the instructions :)
Daniil Gentili