1const axios = require('axios');
4const api_key = "YOUR API-KEY";
5const url = "";
7const data = {
8  "prompt": "a magical  sailor moon themed shield intricate, pastel color scheme, high quality, 8k, highly detailed",
9  "negative_prompt": "nil",
10  "scheduler": "dpmpp_2m",
11  "num_inference_steps": 30,
12  "guidance_scale": 10,
13  "samples": 1,
14  "seed": 95722011,
15  "img_width": 512,
16  "img_height": 768,
17  "base64": false
20(async function() {
21    try {
22        const response = await, data, { headers: { 'x-api-key': api_key } });
23        console.log(;
24    } catch (error) {
25        console.error('Error:',;
26    }
HTTP Response Codes
200 - OKImage Generated
401 - UnauthorizedUser authentication failed
404 - Not FoundThe requested URL does not exist
405 - Method Not AllowedThe requested HTTP method is not allowed
406 - Not AcceptableNot enough credits
500 - Server ErrorServer had some issue with processing


promptstr *

Prompt to render

negative_promptstr ( default: None )

Prompts to exclude, eg. 'bad anatomy, bad hands, missing fingers'

schedulerenum:str ( default: UniPC )

Type of scheduler.

Allowed values:

num_inference_stepsint ( default: 20 ) Affects Pricing

Number of denoising steps.

min : 20,

min : 100

guidance_scalefloat ( default: 7.5 )

Scale for classifier-free guidance

min : 0.1,

min : 25

samplesint ( default: 1 ) Affects Pricing

Number of samples to generate.

min : 1,

min : 4

seedint ( default: -1 )

Seed for image generation.

img_widthenum:int ( default: 512 ) Affects Pricing

Width of the image.

Allowed values:

img_heightenum:int ( default: 512 ) Affects Pricing

Height of the Image

Allowed values:

base64boolean ( default: 1 )

Base64 encoding of the output image.

To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.

Fantassified Icons

Fantassified Icons model is built on the Stable Diffusion 1.5 framework, this model specializes in crafting icons that transport users to realms of magic and adventure, all set against minimalist backgrounds. The model is optimized for generating icons that resonate with the essence of fantasy games. Its design principles prioritize simplicity and clarity, ensuring that each icon stands out, especially when set against its signature plain backgrounds.


  1. Fantasy-Focused Generation: The model excels in crafting icons reminiscent of fantasy games, from mystical artifacts to warrior gear.

  2. Minimalist Backgrounds: Each icon is accentuated by a mostly plain background, ensuring focus and clarity.

  3. Optimized for Simplicity: While the model thrives with straightforward designs like shields and potions, it may falter with non-fantasy or complex items.

  4. Prompt Positioning: For those seeking artist styles, placing such prompts at the beginning yields better results.

  5. User-Centric Design: Tailored to meet the needs of game developers and fantasy enthusiasts, the model offers an intuitive platform for icon generation.

Use Cases

  1. Game Development: Ideal for game designers looking to populate their fantasy games with authentic and captivating icons.

  2. Digital Art Creation: Artists can craft detailed fantasy-themed icons for various digital platforms.

  3. Merchandise Design: Businesses can harness the model for designing merchandise like T-shirts, mugs, and posters with fantasy icons.

  4. Interactive Design: App developers and UI/UX designers can integrate fantasy icons to enhance user engagement.