You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@saipulanuar/jadianime-ts

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saipulanuar/jadianime-ts

A free and unlimited API for QQ Anime Ai

2.0.0
latest
Source
npmnpm
Version published
Weekly downloads
12K
-15.49%
Maintainers
1
Weekly downloads
 
Created
Source

Jadi Anime

Convert your selfie to Anime style with QQ

Installation

npm i @saipulanuar/jadianime-ts

Example

const { JadiAnime } = require('@saipulanuar/jadianime-ts')

async function toAnime(path) {
  try {
  let image = await JadiAnime(path)
  console.log(image)
  } catch (e) {
        console.log(e)
    }
}

toAnime(__dirname + '/eula.jpg') // Path to your selfie

Options

const { JadiAnime } = require('@saipulanuar/jadianime-ts')

async function toAnime(path) {
    try {
        let options = {
            // You can use proxy option if QQ banned your region.
            proxy: "socks5://172.105.247.104:8080", // https or socks5
            qqmode: 'china' // Use China or World
            // You must use china proxy if using qqmode china
        }
        let image = await JadiAnime(path, options)
        console.log(image)
    } catch (e) {
        console.log(e)
    }
}

toAnime(__dirname + '/eula.jpg') // Path to your selfie

Contributions

Software contributions are welcome. If you are not a dev, testing and reproting bugs can also be very helpful!

Questions?

Please open an issue if you have questions, wish to request a feature, etc.

FAQs

Package last updated on 31 Jan 2023

Did you know?

Socket

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