flop

Macro flop 

Source
macro_rules! flop {
    ($key:expr, $secret:expr $(,g = $gen_type:expr)? $(,n = $n:expr)? $(,w = $w:expr)? $(,h = $h:expr)? $(,q = $q:expr)? $(,d = $duration:expr)? $(,m = $model:expr)?) => { ... };
}
Expand description

Generate base64 images!

return: Vec<String>

args: - key: auth key - secret: auth secret - gen_type: [GenType] - n: number of images - w: image width - h: image height - q: your query - d: duration between requests for getting work status/image

How? - 1. Create Flopper instance - 2. Push query - 3. Await generation - 4. Get images!