UNPKG

askai-img

Version:

AI Art Generation Tool

33 lines (22 loc) 671 B
# askai-img AI Art Generation Tool using Wombo.ai API ## Installation ```bash npm install askai-img ``` ## Usage ```typescript import { askai_img } from 'askai-img'; async function main() { // Get available styles const styles = await askai_img.styles(); console.log('Available styles:', styles); // Generate artwork const imageUrl = await askai_img.generate("a beautiful sunset", 121); // 121 is Dark Fantasy v3 console.log('Generated image URL:', imageUrl); } ``` ## Available Styles You can get a list of available styles using the `styles()` method. Each style has an ID that can be used with the `generate()` method. ## License MIT