Anime Art API Docs
POST/generate/image
Generate an image based on your prompt.prompt
The text description of the image you want to generate.string*
negativePrompt
Elements to exclude from the generated image. Helps to avoid unwanted features in the result.string
steps
Number of denoising steps. Higher values generally result in higher quality images but take longer to generate. Range: 1-50.integer
cfgScale
Controls how closely the AI follows your prompt. Higher values produce images that match your prompt more closely but may be less creative. Range: 1-30.number
seed
The seed determines the initial randomization. Using the same seed with identical settings will produce the same image.integer
aspectRatio
The aspect ratio of the generated image.string
numberOfImages
The number of images to generate. Range: 1-10.integer
sampler
The sampling method used to generate the image. Different samplers can produce different results and affect generation speed.
Options:
EulerA, Euler, LMS, Heun, DPM2, DPM2A, DPM2SA, DPM2M, DPMSDE, DPMFast, DPMAdaptive, LMSKarras, DPM2Karras, DPM2AKarras, DPM2SAKarras, DPM2MKarras, DPMSDEKarras, DDIM, PLMS, UniPC, LCM, DDPM, DEISstring
POST/generate/image
curl 'https://animeart.studio/api/generate/image' \ -H 'x-api-key: {api-key}' \ --data-raw '{ "prompt": "blue theme, 1girl, solo, long hair, shirt, hat, jewelry, sitting, white hair, earrings, shorts, shoes, socks, black footwear, necklace, bracelet, black shirt, black headwear, piercing, ring, black socks, cross, ear piercing, sneakers, baseball cap, cigarette, smoking, cross necklace, chain necklace, masterpiece,best quality,amazing quality", "steps": 30, "cfgScale": 7, "sampler": "EulerA", "aspectRatio": "1:1", "numberOfImages": 1 }'