Socket
Socket
Sign inDemoInstall

images-generator

Package Overview
Dependencies
61
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    images-generator

This module allows you to manipulate or generate random images.


Version published
Weekly downloads
10
decreased by-9.09%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

images-generator

This module allows you to manipulate or generate random images.

🖐️ Examples of use :

// Import 'images-generator'
const gen = require("images-generator");

// Random cat image
let catImage = await gen.animal.cat();
console.log(catImage); // Output: https://i.some-random-api.ml/98y46WoOwX.jpg

// Random anime cuddle image
let cuddleImage = await gen.anime.cuddle();
console.log(cuddleImage); // Output: https://cdn-anime-images-api.hisoka17.repl.co/images/cuddle29.gif

// Blur an image
let imageUrl = "https://static01.nyt.com/images/2019/06/17/science/17DOGS/17DOGS-mobileMasterAt3x-v2.jpg";
let blurredImage = await gen.overlay.blur({image: imageUrl});
console.log(blurredImage) // Output: https://api.popcatdev.repl.co/blur?image=https://static01.nyt.com/images/2019/06/17/science/17DOGS/17DOGS-mobileMasterAt3x-v2.jpg

// Create a Drake meme
let drakeMemeImage = await gen.misc.drake({
    text1: "Using image APIs by yourself",
    text2: "Using this NPM package"
});
console.log(drakeMemeImage); // Output: api.popcatdev.repl.co/drake?text1=Using+image+APIs+by+yourself&text2=Using+this+NPM+package

// Random anime boobs image (NSFW)
let hentaiImage = await gen.nsfw.anime.boobs();
console.log(hentaiImage); // Output: cdn-anime-images-api.hisoka17.repl.co/images/boob75.gif

// Random real ass (NSFW)
let assImage = await gen.nsfw.real.ass();
console.log(assImage); // Output: https://cdn.nekobot.xyz/b/1/a/409cf649412f5fb19586c4543d24f.jpg

💻 All methods :

Note: In "Usage", we called the module as gen (const gen = require("images-generator")).

📁️ Category📝 Method🧾 Description📍 Usage
Animaldog()Returns a dog imageawait gen.animal.dog()
Animalcat()Returns a cat imageawait gen.animal.cat()
Animalpanda()Returns a panda imageawait gen.animal.panda()
AnimalredPanda()Returns a red panda imageawait gen.animal.redPanda()
Animalbird()Returns a bird imageawait gen.animal.bird()
Animalkoala()Returns a koala imageawait gen.animal.koala()
Animalduck()Returns a duck imageawait gen.animal.duck()
Animalshiba()Returns a shiba inu imageawait gen.animal.shiba()
Animalbunny()Returns a bunny imageawait gen.animal.bunny()
Animalfox()Returns a fox imageawait gen.animal.fox()
------------
Animewink()Returns an anime wink imageawait gen.anime.wink()
Animepat()Returns an anime pat imageawait gen.anime.pat()
Animehug()Returns an anime hug imageawait gen.anime.hug()
Animekiss()Returns an anime kiss imageawait gen.anime.kiss()
Animepunch()Returns an anime punch imageawait gen.anime.punch()
Animeslap()Returns an anime slap imageawait gen.anime.slap()
Animekill()Returns an anime kill imageawait gen.anime.kill()
Animecuddle()Returns an anime cuddle imageawait gen.anime.cuddle()
AnimedesktopWallpaper()Returns an anime desktop wallpaperawait gen.anime.desktopWallpaper()
AnimemobileWallpaper()Returns an anime mobile wallpaperawait gen.anime.mobileWallpaper()
AnimefoxGirl()Returns an anime fox girlawait gen.anime.foxGirl()
Animeneko()Returns a neko imageawait gen.anime.neko()
------------
MiscellaneousyoutubeComment(options)Creates a YouTube commentawait gen.misc.youtubeComment({avatar: <imageUrl>, username: <username>, content: <commentContent>})
Miscellaneousmeme()Returns the title and the image of a memeawait gen.misc.meme()
Miscellaneouspooh(options)Creates a Winnie-the-pooh memeawait gen.misc.pooh({text1: <text1>, text2: <text2>})
Miscellaneousdrake(options)Creates a Drake memeawait gen.misc.drake({text1: <text1>, text2: <text2>})
MiscellaneousrelationShip(options)Creates a relation ship imageawait gen.misc.relationShip({avatar1: <imageUrl1>, avatar2: <imageUrl2>})
MiscellaneousbidenTweet(options)Makes Biden tweet anythingawait gen.misc.bidenTweet({content: <tweetContent>})
MiscellaneoussuprisedPikachu(options)Creates a surprised Pikachu memeawait gen.misc.surprisedPikachu({content: <content>})
Miscellaneousdrip(options)Pretends you're rich by wearing a fake jacketawait gen.misc.drip({avatar: <imageUrl>})
Miscellaneousclown(options)This person is a clownawait gen.misc.clown({avatar: <imageUrl>})
Miscellaneousuncover(options)He was behind the wall all the time?!await gen.misc.uncover({image: <imageUrl>})
Miscellaneouspet(options)Creates a pet-pet gifawait gen.misc.pet({avatar: <imageUrl>})
Miscellaneousmnm(options)Makes your image into a M&M's shapeawait gen.misc.mnm({avatar: <imageUrl>})
MiscellaneousjokeOverHead(options)That guy doesn't get the joke!await gen.misc.jokeOverHead({avatar: <imageUrl>})
Miscellaneousfacts(options)Writes something in the Facts Bookawait gen.misc.facts({content: <factContent>})
MiscellaneousiphoneAlert(options)Creates an important IPhone alertawait gen.misc.iphoneAlert({content: <alertContent>})
Miscellaneouscaution(options)Creates a caution bannerawait gen.misc.caution({content: <cautionContent>})
------------
Overlaygay(options)Adds a rainbow overlay to your imageawait gen.overlay.gay({image: <imageUrl>})
Overlayglass(options)Adds a glass overlay to your imageawait gen.overlay.glass({image: <imageUrl>})
OverlaygtaWasted(options)Adds the 'GTA Wasted' overlay to your imageawait gen.overlay.gtaWasted({image: <imageUrl>})
Overlaytriggered(options)Adds the 'Triggered' effect to your imageawait gen.overlay.triggered({image: <imageUrl>})
Overlaycolorify(options)Colors your image with the choosen colorawait gen.overlay.colorify({image: <imageUrl>, color: <colorHexCode>})
Overlayblur(options)Blurs your imageawait gen.overlay.blur({image: <imageUrl>})
Overlayinvert(options)Inverts your image colorsawait gen.overlay.invert({image: <imageUrl>})
Overlaygrey(options)Grays your imageawait gen.overlay.grey({image: <imageUrl>})
------------
[NSFW] Realanal()Returns an anal imageawait gen.nsfw.real.anal()
[NSFW] Realfourk()Returns a 4k imageawait gen.nsfw.real.fourk()
[NSFW] Realass()Returns an ass imageawait gen.nsfw.real.ass()
[NSFW] RealpornGif()Returns a porn GIFawait gen.nsfw.real.pornGif()
[NSFW] Realpussy()Returns a pussy imageawait gen.nsfw.real.pussy()
[NSFW] Realthigh()Returns a thighs imageawait gen.nsfw.real.thighs()
[NSFW] Realboobs()Returns a boobs imageawait gen.nsfw.real.boobs
------------
[NSFW] Animeboobs()Returns an image of anime boobsawait gen.nsfw.anime.boobs()
[NSFW] Animehentai()Returns a hentai imageawait gen.nsfw.anime.hentai()
[NSFW] Animelesbian()Returns an image of lesbian pornawait gen.nsfw.anime.lesbian()
[NSFW] Animeass()Returns an anime ass imageawait gen.nsfw.anime.ass()
[NSFW] Animethighs()Returns an image of anime thighsawait gen.nsfw.anime.thighs()
[NSFW] Animelewd()Returns a lewd imageawait gen.nsfw.anime.lewd()
[NSFW] Animefeet()Returns an image of anime feetawait gen.nsfw.anime.feet()
[NSFW] Animepussy()Returns an anime pussy imageawait gen.nsfw.anime.pussy()
[NSFW] Animetits()Returns an image of anime titsawait gen.nsfw.anime.tits()
[NSFW] Animebdsm()Returns an image of anime bdsmawait gen.nsfw.anime.bdsm()
[NSFW] Animecum()Returns an image of anime cumawait gen.nsfw.anime.cum()
[NSFW] Animefemdom()Returns an image of anime femdomawait gen.nsfw.anime.femdom()
[NSFW] Animemaid()Returns an image of anime maid pornawait gen.nsfw.anime.maid()
[NSFW] Animeorgy()Returns an image of anime orgyawait gen.nsfw.anime.orgy()
[NSFW] Animepanties()Returns an anime panties imageawait gen.nsfw.anime.panties()
[NSFW] Animeblowjob()Returns an image of anime blowjobawait gen.nsfw.anime.blowjob()
[NSFW] Animeugly()Returns an image of ugly anime person pornawait gen.nsfw.anime.ugly()
[NSFW] Animeuniform()Returns an image of anime girl porn in uniformawait gen.nsfw.anime.uniform()
[NSFW] AnimegangBang()Returns an image of anime gang-bangawait gen.nsfw.anime.gangBang()
[NSFW] Animeglasses()Returns an image of anime girl with glassesawait gen.nsfw.anime.glasses()
[NSFW] Animetentacles()Returns an image of tentacles hentaiawait gen.nsfw.anime.tentacles()
[NSFW] Animemasturbation()Returns an image of anime masturbationawait gen.nsfw.anime.masturbation()
[NSFW] Animeyuri()Returns an image of yuri pornawait gen.nsfw.anime.yuri()
[NSFW] Animesuccubus()Returns an image of succubusawait gen.nsfw.anime.succubus()
[NSFW] Animeschool()Returns an image of sexy anime school girlawait gen.nsfw.anime.school()

Keywords

FAQs

Last updated on 11 Aug 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc