Leonardo Vision XL - Image Generator
Advanced vision-focused AI image generation model by Leonardo AI. Specializes in creating highly detailed, visually striking imagery with exceptional clarity, precise composition, outstanding visual fidelity, and comprehensive creative controls including Alchemy enhancement and Prompt Magic for professional applications.
Endpoint
Request Headers
| Field | Value |
|---|---|
| API-KEY | <api-key> |
| Content-Type | application/json |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Feature type identifier. Must be IMAGE_GENERATOR |
model | string | Yes | AI model identifier. Must be 5c232a9e-9061-4777-980a-ddc8e65647c6 |
promptObject | object | Yes | Configuration object containing all generation parameters |
Prompt Object Parameters
Basic Parameters
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
prompt | string | Yes | Text description of the image to generate | - |
size | string | Yes | Generated image dimensions | 1024x1024 |
n | number | Yes | Number of images to generate (1-4) | 1 |
negativePrompt | string | No | Describe what you don't want in the image | - |
Leonardo Common Parameters
| Parameter | Type | Required | Description | Default | Range |
|---|---|---|---|---|---|
leonardo_guidance_scale | integer | No | How strongly generation reflects the prompt | 7 | 1-20 |
leonardo_num_inference_steps | integer | No | Number of inference steps for generation | 15 | 10-60 |
leonardo_seed | integer | No | Fixed seed for consistency across generations | - | 0-9999999998 |
leonardo_tilling | boolean | No | Whether images should tile on all axes | false | - |
leonardo_transparency | string | No | Type of transparency to use | - | disabled, foreground_only |
leonardo_preset_style | string | No | Style preset for generation | - | Dynamic based on Alchemy settings |
Image Guidance Parameters
| Parameter | Type | Required | Description | Default | Range |
|---|---|---|---|---|---|
leonardo_image_prompts | array | No | Upload images to use as image prompts | - | Max 4 images |
leonardo_init_image_id | string | No | Init image ID to influence generation features | - | Required for Fantasy Avatar |
leonardo_init_strength | float | No | How strongly generated images reflect init image | - | 0.1-0.9 |
leonardo_fantasy_avatar | boolean | No | Enable Fantasy Avatar feature (requires Init Image ID when enabled) | false | - |
Alchemy Parameters
| Parameter | Type | Required | Description | Default | Range |
|---|---|---|---|---|---|
leonardo_alchemy | boolean | No | Enable Alchemy enhancement | true | - |
leonardo_contrast_ratio | float | No | Contrast ratio for Alchemy | - | 0-1 |
leonardo_expanded_domain | boolean | No | Enable Expanded Domain feature | false | - |
leonardo_photo_real | boolean | No | Enable PhotoReal feature | false | - |
leonardo_photo_real_version | string | No | PhotoReal version (automatically set to v2 when PhotoReal is enabled) | v2 | v2 |
leonardo_photo_real_strength | float | No | PhotoReal depth of field (v1 only) | 0.55 | 0.45, 0.5, 0.55 |
Prompt Magic Parameters
| Parameter | Type | Required | Description | Default | Range |
|---|---|---|---|---|---|
leonardo_prompt_magic | boolean | No | Enable Prompt Magic | false | - |
leonardo_prompt_magic_version | string | No | Prompt Magic version | v3 | v2, v3 |
leonardo_prompt_magic_strength | float | No | Strength of Prompt Magic | - | 0.1-1.0 |
leonardo_hight_constrast | boolean | No | Enable High Contrast (controls RAW mode) | false | - |
leonardo_hight_resolution | boolean | No | Enable High Resolution | false | - |
Enhance Prompt Parameters
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
leonardo_enhance_prompt | boolean | No | Enable prompt enhancement | false |
leonardo_enhance_prompt_instruction | string | No | Instructions for prompt enhancement | - |
Supported Image Sizes
| Size | Resolution | Use Case |
|---|---|---|
| 512x512 | Standard square | Quick concepts, thumbnails |
| 1024x768 | Landscape | Wide detailed scenes, environments |
| 768x1024 | Portrait | Detailed portraits, vertical compositions |
| 1024x1024 | High-res square | Maximum detail, professional work |
Vision XL Features
| Feature | Description |
|---|---|
| Exceptional Visual Clarity | Ultra-high detail resolution and precision |
| Advanced Detail Recognition | Superior fine detail preservation and enhancement |
| Professional Visual Fidelity | Commercial-grade image quality and accuracy |
| Precise Composition Control | Exact visual element placement and arrangement |
| Alchemy Enhancement | Advanced AI processing for superior visual quality |
| Prompt Magic | AI-powered prompt expansion for visual contexts |
| PhotoReal Technology | Photorealistic image generation capabilities |
| High Resolution | Enhanced detail for professional visual applications |
Code Examples
- cURL
- JavaScript
- Python
curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "IMAGE_GENERATOR",
"model": "5c232a9e-9061-4777-980a-ddc8e65647c6",
"promptObject": {
"prompt": "ultra-detailed macro photography, crystal clear details, sharp focus, professional lighting, high resolution",
"negativePrompt": "blurry, soft focus, low resolution, poor detail, unclear",
"size": "1024x1024",
"n": 1,
"leonardo_alchemy": true,
"leonardo_guidance_scale": 12,
"leonardo_num_inference_steps": 40,
"leonardo_prompt_magic": true,
"leonardo_prompt_magic_version": "v3",
"leonardo_hight_resolution": true
}
}'
fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'API-KEY': 'YOUR_API_KEY'
},
body: JSON.stringify({
type: 'IMAGE_GENERATOR',
model: '5c232a9e-9061-4777-980a-ddc8e65647c6',
promptObject: {
prompt: 'ultra-detailed macro photography, crystal clear details, sharp focus, professional lighting, high resolution',
negativePrompt: 'blurry, soft focus, low resolution, poor detail, unclear',
size: '1024x1024',
n: 1,
leonardo_alchemy: true,
leonardo_guidance_scale: 12,
leonardo_num_inference_steps: 40,
leonardo_prompt_magic: true,
leonardo_prompt_magic_version: 'v3',
leonardo_hight_resolution: true
}
})
})
import requests
url = "https://api.1min.ai/api/features"
headers = {
"Content-Type": "application/json",
"API-KEY": "YOUR_API_KEY"
}
data = {
"type": "IMAGE_GENERATOR",
"model": "5c232a9e-9061-4777-980a-ddc8e65647c6",
"promptObject": {
"prompt": "ultra-detailed macro photography, crystal clear details, sharp focus, professional lighting, high resolution",
"negativePrompt": "blurry, soft focus, low resolution, poor detail, unclear",
"size": "1024x1024",
"n": 1,
"leonardo_alchemy": True,
"leonardo_guidance_scale": 12,
"leonardo_num_inference_steps": 40,
"leonardo_prompt_magic": True,
"leonardo_prompt_magic_version": "v3",
"leonardo_hight_resolution": True
}
}
response = requests.post(url, headers=headers, json=data)
Interactive Playground
API Playground
https://api.1min.ai/api/featuresGenerated cURL Command:
curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "IMAGE_GENERATOR",
"model": "5c232a9e-9061-4777-980a-ddc8e65647c6",
"promptObject": {
"prompt": "ultra-detailed macro photography, crystal clear details, sharp focus, professional lighting, high resolution",
"negativePrompt": "blurry, soft focus, low resolution, poor detail, unclear",
"size": "1024x1024",
"n": 1,
"leonardo_alchemy": true,
"leonardo_guidance_scale": 12,
"leonardo_num_inference_steps": 40
}
}'
Response Format
{
"aiRecord": {
"uuid": "e4f5g6h7-i8j9-0123-4567-890123defghi",
"userId": "user-12345",
"teamId": "team-67890",
"model": "5c232a9e-9061-4777-980a-ddc8e65647c6",
"type": "IMAGE_GENERATOR",
"status": "SUCCESS",
"createdAt": "2025-01-15T10:50:00.000Z",
"aiRecordDetail": {
"promptObject": {
"prompt": "ultra-detailed macro photography, crystal clear details, sharp focus, professional lighting, high resolution",
"negativePrompt": "blurry, soft focus, low resolution, poor detail, unclear",
"size": "1024x1024",
"n": 1,
"leonardo_alchemy": true,
"leonardo_guidance_scale": 12,
"leonardo_num_inference_steps": 40,
"leonardo_prompt_magic": true,
"leonardo_prompt_magic_version": "v3",
"leonardo_hight_resolution": true
},
"resultObject": [
"development/images/2025_01_15_10_50_45_001_vision_detail.webp"
]
},
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/development/images/2025_01_15_10_50_45_001_vision_detail.webp?X-Amz-Algorithm=AWS4-HMAC-SHA256&..."
}
}
Use Cases
Professional Photography & Visual Arts
- Macro Photography: Ultra-detailed close-up imagery with exceptional clarity
- Product Photography: High-resolution product shots with precise detail
- Fine Art Photography: Professional artistic imagery with superior visual quality
- Portrait Photography: Crystal-clear portraits with exceptional detail rendering
- Architectural Photography: Detailed building and interior photography
Scientific & Technical Visualization
- Medical Imaging: Detailed anatomical and medical visualizations
- Scientific Illustrations: Precise scientific diagrams and educational materials
- Technical Documentation: High-clarity technical illustrations and manuals
- Research Visualization: Detailed research presentations and academic materials
- Engineering Graphics: Precise technical drawings and specifications
Commercial & Marketing Applications
- High-End Advertising: Premium brand imagery requiring exceptional quality
- Print Media: High-resolution imagery for magazines and publications
- Digital Marketing: Crystal-clear web graphics and social media content
- E-commerce: Detailed product imagery for online retail
- Corporate Communications: Professional business imagery and presentations
Creative & Artistic Projects
- Digital Art: High-detail digital artwork and creative compositions
- Concept Art: Detailed conceptual imagery for creative projects
- Illustration Work: Professional illustrations with exceptional clarity
- Portfolio Development: High-quality imagery for artistic portfolios
- Exhibition Work: Gallery-quality digital art and visual displays
Vision-Focused Prompt Engineering
Detail Enhancement Terms
-
Clarity & Sharpness:
- "ultra-detailed", "crystal clear", "razor sharp", "pin-sharp focus"
- "exceptional clarity", "pristine detail", "perfect sharpness", "microscopic detail"
-
Resolution & Quality:
- "high resolution", "ultra-high definition", "4K quality", "8K detail"
- "professional quality", "commercial grade", "exhibition quality", "print quality"
-
Visual Precision:
- "precise detail", "accurate rendering", "perfect definition", "flawless clarity"
- "professional standard", "laboratory precision", "technical accuracy"
Photography Techniques
-
Focus & Depth:
- "macro lens", "shallow depth of field", "tack sharp", "perfect focus"
- "hyperfocal distance", "focus stacking", "depth of field control"
-
Lighting for Detail:
- "diffused lighting", "studio lighting", "professional illumination"
- "even lighting", "shadow detail", "highlight detail", "perfect exposure"
-
Composition for Clarity:
- "centered composition", "rule of thirds", "symmetrical framing"
- "clean background", "isolated subject", "uncluttered composition"
Technical Quality Specifications
-
Image Quality Terms:
- "noise-free", "grain-free", "artifact-free", "distortion-free"
- "color accurate", "true to life", "faithful reproduction"
-
Professional Standards:
- "color calibrated", "professionally processed", "studio standard"
- "museum quality", "archival quality", "conservation standard"
Advanced Vision Optimization
Maximum Detail Settings
-
Parameter Configuration:
- Guidance Scale: 10-15 for maximum detail adherence
- Inference Steps: 35-50 for finest detail resolution
- High Resolution: Always enable for professional work
- Alchemy: Essential for maximum visual quality
-
Quality Optimization:
- Use highest available resolution settings
- Enable all enhancement features
- Apply precise prompting for specific details
- Multiple generations for selection
Professional Workflows
-
Detail-Focused Pipeline:
- Concept → Detail Specification → High-Quality Generation → Final Enhancement
- Progressive detail refinement through iterations
- Quality control at each stage
-
Technical Applications:
- Scientific accuracy requirements
- Medical precision standards
- Engineering specification compliance
- Research documentation quality
Visual Quality Control
-
Detail Verification:
- Zoom testing for clarity at all scales
- Edge sharpness evaluation
- Color accuracy assessment
- Overall visual fidelity review
-
Professional Standards:
- Print readiness evaluation
- Display optimization testing
- Cross-platform compatibility
- Long-term archival quality
Vision XL Best Practices
Clarity Maximization
-
Prompt Construction:
- Lead with clarity and detail terms
- Specify exact visual requirements
- Include professional quality descriptors
- Avoid vague or general terms
-
Technical Precision:
- Use photography terminology
- Specify equipment and techniques
- Include lighting specifications
- Mention material properties
Professional Applications
-
Commercial Standards:
- Always use maximum quality settings
- Enable all enhancement features
- Generate multiple options for selection
- Implement quality control processes
-
Technical Requirements:
- Meet industry-specific standards
- Ensure regulatory compliance
- Maintain consistency across projects
- Document quality specifications
Credit Usage
Leonardo Vision XL generation costs by image size and quantity:
| Size | 1 Image | 2 Images | 3 Images | 4 Images |
|---|---|---|---|---|
| 512x512 | 234 credits | 234 credits | 260 credits | 286 credits |
| 1024x768 | 260 credits | 312 credits | 364 credits | 416 credits |
| 768x1024 | 260 credits | 312 credits | 364 credits | 416 credits |
| 1024x1024 | 286 credits | 338 credits | 416 credits | 468 credits |
For maximum detail and clarity, invest in the highest resolution (1024x1024) and enable all enhancement features. The superior visual quality justifies the credit investment for professional applications.
Notes
Leonardo Vision XL is optimized for exceptional visual clarity and detail. For best results, use precise detail-focused prompts and enable all quality enhancement features.
This model excels at professional applications requiring maximum visual fidelity, from commercial photography to scientific visualization and technical documentation.
Vision-focused applications benefit from higher quality settings and more inference steps. Consider the computational investment for maximum detail output.
Authentication
This endpoint requires an API key to be provided in the API-KEY header.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
prompt | string | Yes | Text description of the image to generate | - |
negativePrompt | string | Yes | Elements to exclude from the generated image | - |
size | string | Yes | Generated image dimensions | 1024x1024 |
n | number | Yes | Number of images to generate (1-4) | 1 |
Supported Image Sizes
| Size | Resolution | Use Case |
|---|---|---|
| 1024x1024 | 1 megapixel | High-quality detailed imagery |
Vision XL Features
| Feature | Description |
|---|---|
| Visual Excellence | Superior clarity and detail reproduction |
| Composition Mastery | Professional-grade visual composition |
| Detail Precision | Exceptional fine detail and texture quality |
| Color Accuracy | True-to-life color reproduction and balance |
| Professional Vision | Industry-standard visual quality |
Visual Specializations
| Focus Area | Description |
|---|---|
| Portrait Photography | Exceptional facial detail and expression |
| Landscape Photography | Rich environmental detail and atmosphere |
| Product Photography | Commercial-quality product visualization |
| Architectural Visualization | Precise structural and spatial representation |
| Macro Photography | Intricate close-up detail and texture |
Code Examples
- cURL
- JavaScript
- Python
curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "IMAGE_GENERATOR",
"model": "5c232a9e-9061-4777-980a-ddc8e65647c6",
"promptObject": {
"prompt": "High-resolution portrait with crystal clear details and perfect lighting",
"negativePrompt": "blurry, soft focus, low resolution, poor quality",
"size": "1024x1024",
"n": 1
}
}'
fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'API-KEY': 'YOUR_API_KEY'
},
body: JSON.stringify({
type: 'IMAGE_GENERATOR',
model: '5c232a9e-9061-4777-980a-ddc8e65647c6',
promptObject: {
prompt: 'High-resolution portrait with crystal clear details and perfect lighting',
negativePrompt: 'blurry, soft focus, low resolution, poor quality',
size: '1024x1024',
n: 1
}
})
})
import requests
url = "https://api.1min.ai/api/features"
headers = {
"Content-Type": "application/json",
"API-KEY": "YOUR_API_KEY"
}
data = {
"type": "IMAGE_GENERATOR",
"model": "5c232a9e-9061-4777-980a-ddc8e65647c6",
"promptObject": {
"prompt": "High-resolution portrait with crystal clear details and perfect lighting",
"negativePrompt": "blurry, soft focus, low resolution, poor quality",
"size": "1024x1024",
"n": 1
}
}
response = requests.post(url, headers=headers, json=data)
Interactive Playground
API Playground
https://api.1min.ai/api/featuresGenerated cURL Command:
curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "IMAGE_GENERATOR",
"model": "5c232a9e-9061-4777-980a-ddc8e65647c6",
"promptObject": {
"prompt": "High-resolution portrait with crystal clear details and perfect lighting",
"negativePrompt": "blurry, soft focus, low resolution, poor quality",
"size": "1024x1024",
"n": 1
}
}'
Response Format
{
"aiRecord": {
"uuid": "e4f5g6h7-i8j9-0123-4567-890123defghi",
"userId": "user-12345",
"teamId": "team-67890",
"model": "5c232a9e-9061-4777-980a-ddc8e65647c6",
"type": "IMAGE_GENERATOR",
"status": "SUCCESS",
"createdAt": "2025-01-15T10:50:00.000Z",
"aiRecordDetail": {
"promptObject": {
"prompt": "High-resolution portrait with crystal clear details and perfect lighting",
"negativePrompt": "blurry, soft focus, low resolution, poor quality",
"size": "1024x1024",
"n": 1
},
"resultObject": [
"development/images/2025_01_15_10_50_45_001_vision_portrait.webp"
]
},
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/development/images/2025_01_15_10_50_45_001_vision_portrait.webp?X-Amz-Algorithm=AWS4-HMAC-SHA256&..."
}
}
Use Cases
- Professional Photography: High-end portrait and commercial photography
- Product Visualization: Detailed product imagery for e-commerce
- Architectural Rendering: Precise building and interior visualization
- Medical Imaging: Detailed anatomical and scientific visualization
- Quality Control: High-precision visual documentation
Vision-Focused Prompting
-
Clarity and Detail:
- Emphasize: "crystal clear", "sharp focus", "high definition"
- Specify: "macro detail", "fine texture", "intricate patterns"
- Quality: "professional photography", "studio quality"
-
Technical Photography:
- Camera settings: "f/1.4 aperture", "85mm lens", "shallow depth of field"
- Lighting: "studio lighting", "softbox", "key light and fill"
- Resolution: "4K quality", "ultra-high definition", "pixel perfect"
-
Visual Composition:
- Framing: "rule of thirds", "centered composition", "leading lines"
- Perspective: "eye level", "low angle", "birds eye view"
- Focus: "foreground focus", "background blur", "selective focus"
Tips for Best Results
-
Maximum Detail:
- Use descriptive language for textures and materials
- Specify lighting conditions and technical requirements
- Include quality and resolution keywords
-
Professional Standards:
- Reference photography terminology and techniques
- Specify camera equipment and settings
- Include post-processing style preferences
-
Visual Excellence:
- Focus on composition and visual impact
- Use negative prompts to exclude quality issues
- Emphasize clarity and sharpness
Notes
Leonardo Vision XL is optimized for creating images with exceptional visual clarity and detail, making it ideal for applications requiring the highest quality visual output.
Authentication
This endpoint requires an API key to be provided in the API-KEY header.