Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 562 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 562 Bytes

Simple php client for using deepai.org

Simple php wrapper for using https://deepai.org/machine-learning-model/colorizer api

Installation

composer require r11baka/deepai

How to use

  1. Pass your api-key to Deepai constuctor and ypu can colorize file by path.
$dp = new \R11baka\Deepai\Deepai("1111111");
$resp = $dp->colorizeFromPath('./lena.jpg');
echo $resp->getUrl(); // returns url with colorized image
echo $resp->getId(); // return id for colorized job
  1. You have method getUrl ,which have url with colorized image