Overview
Image generation allows you to create high-quality images from text descriptions using state-of-the-art AI models. CyrionAI provides access to multiple image generation models including DALL-E 2, Stable Diffusion, and others.Basic Usage
Simple Image Generation
Multiple Images
Parameters
Required Parameters
| Parameter | Type | Description |
|---|---|---|
prompt | string | Text description of the image you want to generate |
Optional Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
model | string | ”dall-e-2” | The model to use for generation |
n | integer | 1 | Number of images to generate (1-10) |
size | string | ”1024x1024” | Image dimensions |
quality | string | ”standard” | Image quality (“standard” or “hd”) |
response_format | string | ”url” | Response format (“url” or “b64_json”) |
user | string | null | User identifier for tracking |
Supported Models
DALL-E 2
The most popular and reliable image generation model:Stable Diffusion
Open-source model with good artistic capabilities:Midjourney
High-quality artistic model:Image Sizes
Different models support different image sizes:| Model | Supported Sizes |
|---|---|
| DALL-E 2 | 256x256, 512x512, 1024x1024 |
| Stable Diffusion | 512x512, 768x768, 1024x1024 |
| Midjourney | 1024x1024, 1792x1024, 1024x1792 |
Square Images
Landscape Images
Portrait Images
Quality Settings
Standard Quality
High Definition
Response Formats
URL Format (Default)
Base64 Format
Best Practices
1. Write Clear, Descriptive Prompts
2. Include Style and Context
3. Specify Composition and Perspective
4. Use Appropriate Models for Different Styles
Common Use Cases
Marketing Materials
Educational Content
Fundraising Campaigns
Error Handling
Content Policy
CyrionAI has content policies to ensure responsible use:Allowed Content
- Professional and educational images
- Marketing and promotional materials
- Artistic and creative content
- Nonprofit and community-focused imagery
Prohibited Content
- Harmful or violent content
- Copyrighted material
- Personal information
- Inappropriate or offensive content
Response Format
Examples
Nonprofit Logo Design
Volunteer Photography
Educational Illustration
Next Steps
- Learn about image variations
- Explore video generation
- Check out more image examples
- View the API reference