const axios = require("axios"); const fs = require("fs"); const path = require("path"); const stream = require("stream"); const { promisify } = require("util"); const pipeline = promisify(stream.pipeline); const aspectRatioMap = { '1:1': { width: 1024, height: 1024 }, '9:7': { width: 1152, height: 896 }, '7:9': { width: 896, height: 1152 }, '19:13': { width: 1216, height: 832 }, '13:19': { width: 832, height: 1216 }, '7:4': { width: 1344, height: 768 }, '4:7': { width: 768, height: 1344 }, '12:5': { width: 1500, height: 625 }, '5:12': { width: 640, height: 1530 }, '16:9': { width: 1344, height: 756 }, '9:16': { width: 756, height: 1344 }, '2:3': { width: 1024, height: 1536 }, '3:2': { width: 1536, height: 1024 } }; module.exports = { config: { name: "nijix", version: "1.1", author: "Vincenzo", description: { en: "Anime-style image generation with style, preset, and aspect ratio support." }, category: "ai-generated", guide: { en: "{pn} [--ar ] [--s