1.0.3 • Published 2 years ago
@rehat666/nijijourney v1.0.3
Preview




Installation
npm install @rehat666/nijijourneyUsage
const { Niji } = require('@rehat666/nijijourney');
const prompt = ''; // Prompt to generate text to image.
const imageUrl = ''; // URL of the image for transforming an existing image with prompt.
const aspectRatio = ''; // Ratio for adjusting the image aspect ratio in text to image not recommended for transforming existing images.
Niji(prompt, imageUrl, aspectRatio)
  .then(imageUrl => console.log(imageUrl))
  .catch(error => console.error(error));License
- Don't sell my source code.
 - Don't claim my source code as your own.