Overview
Bud Runtime supports image generation through various AI models, providing a unified API for creating images from text prompts.Supported Models
- Stable Diffusion (SD 1.5, SDXL)
- Custom fine-tuned models
- LoRA-enhanced models
Basic Usage
Generate an Image
Response Format
Advanced Features
Using LoRA Models
Combine base models with LoRA adapters for specialized image generation:Batch Generation
Generate multiple images in a single request:Performance Optimization
- Use appropriate image sizes for your use case
- Enable caching for frequently used prompts
- Consider batch processing for multiple generations
Best Practices
- Prompt Engineering: Be specific and descriptive in your prompts
- Resource Management: Monitor GPU usage when generating large images
- Quality Settings: Balance between generation speed and image quality