Leonardo Anime XL - Image Generator
Specialized anime and manga-style AI image generation model by Leonardo AI. Create high-quality anime artwork with authentic Japanese animation aesthetics, character design excellence, vibrant artistic expression, and comprehensive creative controls including Alchemy enhancement and Prompt Magic optimization.
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 e71a1c2f-4f80-4800-934f-2c68979d8cc8 |
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 anime 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 anime sketches, avatars |
| 1024x768 | Landscape | Anime backgrounds, scenes |
| 768x1024 | Portrait | Character portraits, full body |
| 1024x1024 | High-res square | High-quality character art |
Anime XL Features
| Feature | Description |
|---|---|
| Authentic Anime Style | Genuine Japanese animation aesthetics and techniques |
| Character Design Excellence | Specialized for anime character creation and design |
| Vibrant Color Palettes | Rich, dynamic anime-style color schemes |
| Alchemy Enhancement | Advanced AI processing for superior anime quality |
| Prompt Magic | AI-powered prompt expansion for anime contexts |
| Fantasy Avatar | Character-focused generation with reference images |
| High Resolution | Enhanced detail for professional anime artwork |
| Style Consistency | Maintain anime aesthetic across generations |
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": "e71a1c2f-4f80-4800-934f-2c68979d8cc8",
"promptObject": {
"prompt": "anime girl with blue hair, school uniform, cherry blossoms background, detailed anime art style",
"negativePrompt": "realistic, photographic, 3d render, western cartoon",
"size": "1024x1024",
"n": 1,
"leonardo_alchemy": true,
"leonardo_guidance_scale": 8,
"leonardo_num_inference_steps": 20,
"leonardo_prompt_magic": true,
"leonardo_prompt_magic_version": "v3"
}
}'
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: 'e71a1c2f-4f80-4800-934f-2c68979d8cc8',
promptObject: {
prompt: 'anime girl with blue hair, school uniform, cherry blossoms background, detailed anime art style',
negativePrompt: 'realistic, photographic, 3d render, western cartoon',
size: '1024x1024',
n: 1,
leonardo_alchemy: true,
leonardo_guidance_scale: 8,
leonardo_num_inference_steps: 20,
leonardo_prompt_magic: true,
leonardo_prompt_magic_version: 'v3'
}
})
})
import requests
url = "https://api.1min.ai/api/features"
headers = {
"Content-Type": "application/json",
"API-KEY": "YOUR_API_KEY"
}
data = {
"type": "IMAGE_GENERATOR",
"model": "e71a1c2f-4f80-4800-934f-2c68979d8cc8",
"promptObject": {
"prompt": "anime girl with blue hair, school uniform, cherry blossoms background, detailed anime art style",
"negativePrompt": "realistic, photographic, 3d render, western cartoon",
"size": "1024x1024",
"n": 1,
"leonardo_alchemy": True,
"leonardo_guidance_scale": 8,
"leonardo_num_inference_steps": 20,
"leonardo_prompt_magic": True,
"leonardo_prompt_magic_version": "v3"
}
}
response = requests.post(url, headers=headers, json=data)
Interactive Playground
API Playground
https://api.1min.ai/api/featuresDescribe the anime image you want to generate
Describe what you don't want in the image
Generated image dimensions
Number of images to generate (1-4)
How strongly generation reflects the prompt (1-20)
Number of inference steps (10-60)
Fixed seed for consistency (0-9999999998)
Enable tiling on all axes
Type of transparency to use
Enable Alchemy enhancement
Alchemy contrast ratio (0-1)
Enable Expanded Domain feature
Enable PhotoReal feature
How strongly generated images reflect init image (0.1-0.9)
Enable Fantasy Avatar feature (requires Init Image ID when enabled)
Enable Prompt Magic
Prompt Magic version (v2 or v3)
Strength of Prompt Magic (0.1-1.0)
Enable High Contrast (controls RAW mode)
Enable High Resolution
Enable prompt enhancement
Instructions for prompt enhancement
Generated 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": "e71a1c2f-4f80-4800-934f-2c68979d8cc8",
"promptObject": {
"prompt": "anime girl with blue hair, school uniform, cherry blossoms background, detailed anime art style",
"negativePrompt": "realistic, photographic, 3d render, western cartoon",
"size": "1024x1024",
"n": 1,
"leonardo_alchemy": true,
"leonardo_guidance_scale": 8,
"leonardo_num_inference_steps": 20
}
}'
Response Format
{
"aiRecord": {
"uuid": "e4f5g6h7-i8j9-0123-4567-890123defghi",
"userId": "user-12345",
"teamId": "team-67890",
"model": "e71a1c2f-4f80-4800-934f-2c68979d8cc8",
"type": "IMAGE_GENERATOR",
"status": "SUCCESS",
"createdAt": "2025-01-15T10:50:00.000Z",
"aiRecordDetail": {
"promptObject": {
"prompt": "anime girl with blue hair, school uniform, cherry blossoms background, detailed anime art style",
"negativePrompt": "realistic, photographic, 3d render, western cartoon",
"size": "1024x1024",
"n": 1,
"leonardo_alchemy": true,
"leonardo_guidance_scale": 8,
"leonardo_num_inference_steps": 20,
"leonardo_prompt_magic": true,
"leonardo_prompt_magic_version": "v3"
},
"resultObject": [
"development/images/2025_01_15_10_50_45_001_anime_character.webp"
]
},
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/development/images/2025_01_15_10_50_45_001_anime_character.webp?X-Amz-Algorithm=AWS4-HMAC-SHA256&..."
}
}
Use Cases
Character Design & Development
- Original Characters: Create unique anime characters with distinct personalities
- Character Sheets: Generate reference images for consistent character design
- Expression Studies: Multiple expressions and poses for character development
- Fantasy Characters: Magical girls, heroes, villains with supernatural elements
- School Life Characters: Students, teachers, club members in academic settings
Manga & Comic Creation
- Panel Illustrations: High-quality artwork for manga panels and pages
- Cover Art: Eye-catching covers for manga, light novels, and publications
- Storyboarding: Visual concepts and scene planning for narratives
- Background Characters: Supporting cast and crowd scenes
- Action Scenes: Dynamic poses and dramatic moments
Commercial & Fan Art
- Merchandise Design: Characters for products, apparel, and collectibles
- Game Assets: Character designs for visual novels and mobile games
- Fan Art: Creative interpretations of existing anime properties
- Social Media Content: Avatar images, profile pictures, and posts
- Streaming Assets: Anime-style graphics for content creators
Professional Applications
- Animation Pre-Production: Character concepts and design development
- Educational Materials: Anime-style illustrations for learning content
- Marketing: Anime aesthetic for brands targeting otaku demographics
- Event Promotion: Convention artwork, poster designs, promotional materials
- Digital Art Practice: Style studies and technique development