Crates.io | toonify |
lib.rs | toonify |
version | 1.0.0 |
source | src |
created_at | 2022-01-02 16:03:24.01791 |
updated_at | 2022-01-02 16:03:24.01791 |
description | Toonify API client |
homepage | https://github.com/sloppydaddy/toonify-rust |
repository | https://github.com/sloppydaddy/toonify-rust |
max_upload_size | |
id | 506595 |
size | 23,815 |
Turn a photo of any face into a cartoon instantly with artificial intelligence. Toonify uses a convolutional neural network to quickly transform the photo into a cartoon. While generative adversarial networks (GANs) were used in the creation of Toonify, they are not used in the final model.
use toonify::Toonify;
fn main() {
let toon = Toonify::new("https://pics.wikifeet.com/Carmen-Electra-Feet-4911381.jpg",
"API-key");
println!("{}", toon.image().unwrap())
// Output: https://api.deepai.org/job-view-file/72616dc9-97c6-4181-8069-f2de3331d35f/outputs/output.jpg
}