Skip to content

arturwyroslak/ai

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages