Skip to main content
Create stunning images from text prompts using state-of-the-art diffusion models including Stable Diffusion XL, Stable Diffusion 1.5, and custom fine-tuned models.

Request Body

string
required
Detailed description of the image you want to generate. Be specific about style, composition, lighting, and details.
string
default:"stable-diffusion-xl"
Model to use for image generation:
  • stable-diffusion-xl - Latest high-resolution model (1024x1024)
  • stable-diffusion-1.5 - Classic model (512x512)
  • kandinsky-2.2 - Russian text-to-image model
  • Custom LoRA models available
string
What you don’t want in the image (e.g., “blurry, low quality, distorted”)
integer
default:"1024"
Image width in pixels. Must be multiple of 64. Max 2048.
integer
default:"1024"
Image height in pixels. Must be multiple of 64. Max 2048.
integer
default:"20"
Number of denoising steps. More steps = higher quality but slower generation (1-50)
number
default:"7.5"
How closely to follow the prompt (1-20). Higher values stick closer to prompt.
integer
Random seed for reproducible results. Leave empty for random generation.
integer
default:"1"
Number of images to generate (1-4 per request)

Response

array
Array of generated images
object
Generation metadata

Example

Style Prompts

Enhance your results with style-specific prompts:

Photography

Digital Art

Anime/Manga

Realistic

Custom Models

Upload and use your own fine-tuned models or LoRA adapters:

Best Practices

  • Be specific: Detailed prompts yield better results
  • Use negative prompts: Exclude unwanted elements explicitly
  • Optimal settings: Start with 20-30 steps, guidance scale 7-10
  • Aspect ratios: Common ratios work best (1:1, 16:9, 3:4, etc.)
  • Quality keywords: Include “high quality”, “detailed”, “8k” for better results
  • Style consistency: Reference specific artists, art movements, or techniques

Pricing

  • Standard Generation: $0.02 per image (512x512 or 1024x1024)
  • High Resolution: $0.05 per image (above 1024x1024)
  • Bulk Generation: Volume discounts available for 100+ images