toonify

Crates.iotoonify
lib.rstoonify
version1.0.0
sourcesrc
created_at2022-01-02 16:03:24.01791
updated_at2022-01-02 16:03:24.01791
descriptionToonify API client
homepagehttps://github.com/sloppydaddy/toonify-rust
repositoryhttps://github.com/sloppydaddy/toonify-rust
max_upload_size
id506595
size23,815
XXIV (thechampagne)

documentation

README

Toonify

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.

Example

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
}
Commit count: 0

cargo fmt