Recraft - Image Variator
Create professional-quality variations of your images using Recraft's advanced AI technology. This tool generates creative alternatives while maintaining the structure and essence of your original image.
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 recraft |
promptObject | object | Yes | Configuration object containing parameters |
Prompt Object Parameters
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
imageUrl | string | Yes | Path to the source image | - |
n | number | No | Number of variations to generate | 1 |
size | string | Yes | Output image size | - |
image_format | string | No | Format of the output image (png, webp) | png |
random_seed | number | No | Seed for random generation (1-6) | - |
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": "recraft",
"promptObject": {
"imageUrl": "images/2026_01_07_09_33_18_380_room.png",
"n": 1,
"size": "1024x1024",
"random_seed": 3
}
}'
const body = JSON.stringify({
type: 'IMAGE_VARIATOR',
model: 'recraft',
promptObject: {
imageUrl: 'images/2026_01_07_09_33_18_380_room.png',
n: 1,
size: '1024x1024',
random_seed: 3
}
});
fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'API-KEY': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: body
})
import requests
url = "https://api.1min.ai/api/features"
headers = {
"API-KEY": "YOUR_API_KEY",
"Content-Type": "application/json"
}
payload = {
"type": "IMAGE_VARIATOR",
"model": "recraft",
"promptObject": {
"imageUrl": "images/2026_01_07_09_33_18_380_room.png",
"n": 1,
"size": "1024x1024",
"random_seed": 3
}
}
response = requests.post(url, headers=headers, json=payload)
Interactive Playground
API Playground
https://api.1min.ai/api/featuresPath to the source image
Number of variations to generate
Dimensions of the generated image
Format of the output image
Seed for random generation
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": "recraft",
"promptObject": {
"imageUrl": "images/2026_01_07_09_33_18_380_room.png",
"n": 1,
"size": "1024x1024"
}
}'
Response Format
{
"aiRecord": {
"uuid": "r1e2c3r4-a5f6-7890-abcd-ef1234567893",
"userId": "user-12345",
"teamId": "team-67890",
"teamUser": {
"teamId": "team-67890",
"userId": "user-12345",
"userName": "John Doe",
"userAvatar": "https://example.com/avatar.jpg",
"status": "ACTIVE",
"role": "ADMIN",
"creditLimit": 100000000,
"usedCredit": 50000,
"createdAt": "2025-01-01T00:00:00.000Z",
"createdBy": "SYSTEM",
"updatedAt": "2026-01-02T13:13:31.000Z",
"updatedBy": "SYSTEM"
},
"model": "recraft",
"type": "IMAGE_VARIATOR",
"metadata": null,
"rating": null,
"feedback": null,
"conversationId": null,
"status": "SUCCESS",
"createdAt": "2026-01-02T13:13:31.000Z",
"aiRecordDetail": {
"promptObject": {
"imageUrl": "images/2026_01_07_09_33_18_380_room.png",
"n": 1,
"size": "1024x1024"
},
"resultObject": [
"images/2026_01_02_13_13_31_002_variation_1.png"
],
"responseObject": {}
},
"additionalData": null,
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/images/2026_01_02_13_13_31_002_variation_1.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=EXAMPLE_CREDENTIAL&X-Amz-Date=20260102T131331Z&X-Amz-Expires=604800&X-Amz-Signature=example_signature&X-Amz-SignedHeaders=host&x-id=GetObject"
}
}
Use Cases
Creative Exploration
- Design variations: Quickly explore different versions of a logo or design concept.
- Style testing: See how your image looks with slight artistic variations.
Content Marketing
- Diverse visuals: Generate multiple versions of an image for different social media platforms.
- A/B testing: Test different image variations to see which performs better.
Notes
- Recraft maintains the high quality and professional look of the original image while adding creative flair.
- The model is optimized for high fidelity and realistic variations.