toonify 1.0.0

Toonify API client
Documentation
  • Coverage
  • 16.67%
    1 out of 6 items documented0 out of 0 items with examples
  • Size
  • Source code size: 63.05 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.4 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 54s Average build duration of successful builds.
  • all releases: 54s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • thechampagne

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
}