Colorful Image Colorization

Colorizes given black & white images.

Algorithmia Platform License · Internet Access · Calls Other Algorithms

Run an Example

{
"image": "data://deeplearning/example_data/lincoln.jpg"
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
{
  "output": "data://.algo/deeplearning/ColorfulImageColorization/temp/lincoln.png"
}

Install & Use

Use
curl -X POST -d '{
    "image": "data://deeplearning/example_data/lincoln.jpg"
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/deeplearning/ColorfulImageColorization/1.1.13
Use
algo run deeplearning/ColorfulImageColorization/1.1.13 -d '{
    "image": "data://deeplearning/example_data/lincoln.jpg"
}'
Use
import (
  algorithmia "github.com/algorithmiaio/algorithmia-go"
)

input := map[string]interface{}{
  image: "data://deeplearning/example_data/lincoln.jpg"
}

var client = algorithmia.NewClient("YOUR_API_KEY")
algo, _ := client.Algo("deeplearning/ColorfulImageColorization/1.1.13")
resp, _ := algo.Pipe(input)
response := resp.(*algorithmia.AlgoResponse)
fmt.Println(response.Result)
Use
import com.algorithmia.*;
import com.algorithmia.algo.*;

String input = "{"
 + "  \"image\": \"data://deeplearning/example_data/lincoln.jpg\""
 + "}";
AlgorithmiaClient client = Algorithmia.client("YOUR_API_KEY");
Algorithm algo = client.algo("deeplearning/ColorfulImageColorization/1.1.13");
AlgoResponse result = algo.pipeJson(input);
System.out.println(result.asJsonString());
Use
var input = {
    "image": "data://deeplearning/example_data/lincoln.jpg"
};
Algorithmia.client("YOUR_API_KEY")
    .algo("deeplearning/ColorfulImageColorization/1.1.13")
    .pipe(input)
    .then(function(output) {
        console.log(output);
    });
Use
using Algorithmia;

var input = "{"
 + "  \"image\": \"data://deeplearning/example_data/lincoln.jpg\""
 + "}";
var client = new Client("YOUR_API_KEY");
var algorithm = client.algo("deeplearning/ColorfulImageColorization/1.1.13");
var response = algorithm.pipeJson<object>(input);
Console.WriteLine(response.result);
Use
var input = {
    "image": "data://deeplearning/example_data/lincoln.jpg"
};
Algorithmia.client("YOUR_API_KEY")
    .algo("deeplearning/ColorfulImageColorization/1.1.13")
    .pipe(input)
    .then(function(response) {
        console.log(response.get());
    });
Use
import Algorithmia

input = {
  "image": "data://deeplearning/example_data/lincoln.jpg"
}
client = Algorithmia.client('YOUR_API_KEY')
algo = client.algo('deeplearning/ColorfulImageColorization/1.1.13')
print(algo.pipe(input))
Use
library(algorithmia)

input <- list("image"="data://deeplearning/example_data/lincoln.jpg")
client <- getAlgorithmiaClient("YOUR_API_KEY")
algo <- client$algo("deeplearning/ColorfulImageColorization/1.1.13")
result <- algo$pipe(input)$result
print(result)
Use
require 'algorithmia'

input = {
  image: "data://deeplearning/example_data/lincoln.jpg"
}
client = Algorithmia.client('YOUR_API_KEY')
algo = client.algo('deeplearning/ColorfulImageColorization/1.1.13')
puts algo.pipe(input).result
Use
use algorithmia::Algorithmia;

let input = json!({
  "image": "data://deeplearning/example_data/lincoln.jpg"
});
let client = Algorithmia::client("YOUR_API_KEY");
let algo = client.algo("deeplearning/ColorfulImageColorization/1.1.13");
let response = algo.pipe(input);
Use
import com.algorithmia._
import com.algorithmia.algo._

val input = """{
  "image": "data://deeplearning/example_data/lincoln.jpg"
}"""
val client = Algorithmia.client("YOUR_API_KEY")
val algo = client.algo("deeplearning/ColorfulImageColorization/1.1.13")
val result = algo.pipeJson(input)
System.out.println(result.asJsonString)
Use
import Algorithmia

let input = "{"
 + "  \"image\": \"data://deeplearning/example_data/lincoln.jpg\""
 + "}";
let client = Algorithmia.client(simpleKey: "YOUR_API_KEY")
let algo = client.algo(algoUri: "deeplearning/ColorfulImageColorization/1.1.13")
algo.pipe(rawJson: input) { resp, error in
  print(resp)
}