Magic Art 6.1 - Image Variator
Create variations of existing images using Magic Art's 6.1 model. This improved version offers enhanced image understanding and generation capabilities with better quality compared to previous versions.
Image Upload Requirement
Before using this API, you must first upload your image using the Asset API. The imageUrl parameter should contain the file path returned from the Asset API upload response.
📖 See Asset API documentation for details on how to upload images.
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_VARIATOR |
model | string | Yes | AI model identifier. Must be magic-art_6_1 |
imageUrl | string | Yes | Path to uploaded image file (from Asset API) |
mode | string | No | Generation mode: fast or relax (default: fast) |
n | number | No | Number of variations to generate (default: 4) |
isNiji6 | boolean | No | Enable Niji 6 anime style mode (default: false) |
aspect_width | number | No | Width aspect ratio - use predefined ratios: 1, 2, 3, 4, 5, 7 |
aspect_height | number | No | Height aspect ratio - use predefined ratios: 1, 2, 3, 4, 5, 7 |
maintainModeration | boolean | No | Maintain content moderation (default: true) |
Supported Aspect Ratios​
| Ratio | Width | Height | Best For |
|---|---|---|---|
| 4:5 | 4 | 5 | Portrait, social media posts |
| 2:3 | 2 | 3 | Portrait photography |
| 4:7 | 4 | 7 | Tall banners, mobile screens |
| 1:1 | 1 | 1 | Square images, social media |
| 5:4 | 5 | 4 | Landscape, traditional photos |
| 3:2 | 3 | 2 | Standard landscape photography |
| 7:4 | 7 | 4 | Wide banners, panoramic views |
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_VARIATOR",
"model": "magic-art_6_1",
"promptObject": {
"imageUrl": "images/2025_10_26_05_43_42_184_cat.png",
"mode": "fast",
"n": 4,
"isNiji6": false,
"aspect_width": 3,
"aspect_height": 2,
"maintainModeration": 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_VARIATOR',
model: 'magic-art_6_1',
promptObject: {
imageUrl: 'development/images/sample_image.jpeg',
mode: 'fast',
n: 4,
isNiji6: false,
aspect_width: 3,
aspect_height: 2,
maintainModeration: true
}
})
})
import requests
url = "https://api.1min.ai/api/features"
headers = {
"Content-Type": "application/json",
"API-KEY": "YOUR_API_KEY"
}
data = {
"type": "IMAGE_VARIATOR",
"model": "magic-art_6_1",
"promptObject": {
"imageUrl": "images/2025_10_26_05_43_42_184_cat.png",
"mode": "fast",
"n": 4,
"isNiji6": false,
"aspect_width": 3,
"aspect_height": 2,
"maintainModeration": true
}
}
response = requests.post(url, headers=headers, json=data)
Interactive Playground​
API Playground
https://api.1min.ai/api/featuresPath to the uploaded image file (obtained from Asset API)
Generation speed mode
Number of variations to generate
Enable Niji 6 anime style mode
Choose from supported aspect ratios
Maintain content moderation
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_VARIATOR",
"model": "magic-art_6_1",
"promptObject": {
"imageUrl": "development/images/sample_image.jpeg",
"mode": "fast",
"n": 4,
"isNiji6": false,
"aspect_width": 3,
"aspect_height": 2,
"maintainModeration": true
}
}'
Response Format​
{
"success": true,
"data": {
"resultObject": [
"path/to/variation1.png",
"path/to/variation2.png",
"path/to/variation3.png",
"path/to/variation4.png"
]
}
}
Use Cases​
- Anime/Manga Style: Use Niji 6 mode for specialized anime-style variations
- Creative Exploration: Generate variations with enhanced artistic control
- Production Workflows: Choose generation modes based on time constraints
Tips for Best Results​
- Aspect Ratios: Use supported ratios from the list above:
- 1:1 - Perfect for Instagram posts and profile pictures
- 4:5 - Ideal for portrait-oriented social media content
- 3:2 - Standard landscape photography ratio
- 7:4 - Great for wide banners and headers
- Mode Selection: Use 'fast' for quick iterations, 'relax' for highest quality
- Niji 6 Mode: Enable for anime/manga style content and characters
- Variation Count: Adjust 'n' parameter to generate 1-10 variations as needed
- Moderation Settings: Adjust based on your content requirements and guidelines
Notes​
- Magic Art 6.1 generates up to 10 variations per request (configurable with
nparameter) - Niji 6 mode specializes in anime/manga aesthetic generation
- The model offers improved quality and control compared to v6.0
- Only the 7 specified aspect ratios are supported for optimal results