Skip to main content

Midjourney 5.2 - Image Variator

Create variations of existing images using Midjourney's 5.2 model. This feature automatically describes your image and generates multiple variations based on the extracted description.

Endpoint

Request Body

The request must include the following parameters:

ParameterTypeRequiredDescription
typestringYesFeature type identifier. Must be IMAGE_VARIATOR
modelstringYesAI model identifier. Must be midjourney
promptObjectobjectYesFeature-specific parameters

Prompt Object Parameters

ParameterTypeRequiredDescription
imageUrlstringYesPath to the image for variation
aspect_widthnumberNoWidth aspect ratio (default: 1)
aspect_heightnumberNoHeight aspect ratio (default: 1)
nostringNoNegative prompt - elements to exclude from the image
image_weightnumberNoImage prompt weight (0.5-2, default: 1)
seednumberNoRandom seed for reproducible results
tilebooleanNoCreate seamless patterns
stylizenumberNoStylization strength (0-1000, default: 100)
chaosnumberNoVariation amount (0-100, default: 0)
weirdnumberNoUnconventional aesthetics level (0-3000, default: 0)

Example Request

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: 'midjourney',
promptObject: {
imageUrl: 'development/images/2025_02_14_17_41_01_211_images.jpeg',
aspect_width: 16,
aspect_height: 9,
stylize: 200,
chaos: 20
}
})
})

Responses

Success Response (200)

Successful response contains the generated image variation data. The service will:

  1. Analyze your input image to extract a description
  2. Use the description to generate 4 image variations
  3. Return the variation images
{
"success": true,
"data": {
"resultObject": [
"path/to/variation1.png",
"path/to/variation2.png",
"path/to/variation3.png",
"path/to/variation4.png"
]
}
}

Notes

  • Midjourney 5.2 automatically generates 4 variations per request
  • The service first describes your image, then uses that description to create variations
  • Higher stylize values create more artistic interpretations
  • Use chaos to increase variation between the generated images
  • The weird parameter can produce more experimental and unconventional results