Gemini 3 Pro Image Preview - Image Text Editor
Premium AI image editing model powered by Google's most advanced Gemini 3 Pro technology, designed for sophisticated image transformations using reference images. This model excels at understanding visual context from multiple reference images to create highly accurate and contextually aware edits with state-of-the-art reasoning capabilities.
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_EDITOR |
model | string | Yes | AI model identifier. Must be gemini-3-pro-image-preview |
promptObject | object | Yes | Configuration object containing all image editing parameters |
Prompt Object Parameters
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
imageUrl | string | Yes | Path to the source image to be edited | - |
prompt | string | Yes | Text description of the desired image transformation | - |
imageSize | string | Yes | Image size quality. Must be one of: "1K", "2K", or "4K" | 1K |
referenceImage1 | string | No | Path to first reference image (uploaded via Asset API) | - |
referenceImage2 | string | No | Path to second reference image (uploaded via Asset API) | - |
temperature | number | No | Controls randomness in generation (0.0-2.0). Higher values produce more creative results | 1.0 |
topP | number | No | Nucleus sampling parameter (0.0-1.0). Controls diversity of output | 0.95 |
Supported Image Sizes
| Size | Description | Best For |
|---|---|---|
1K | 1K quality | Standard quality, faster generation |
2K | 2K quality | High quality, balanced performance |
4K | 4K quality | Ultra-high quality, best detail |
Code Examples
- cURL
- JavaScript
- Python
curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "IMAGE_EDITOR",
"model": "gemini-3-pro-image-preview",
"promptObject": {
"imageUrl": "development/images/2025_02_16_15_42_40_711_human.jpg",
"prompt": "Transform the style to match the reference images, maintaining the subject while adopting the artistic style and color palette",
"imageSize": "2K",
"referenceImage1": "development/images/uploaded_reference_1.jpg",
"referenceImage2": "development/images/uploaded_reference_2.jpg",
"temperature": 1.0,
"topP": 0.95
}
}'
fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'API-KEY': 'YOUR_API_KEY'
},
body: JSON.stringify({
type: 'IMAGE_EDITOR',
model: 'gemini-3-pro-image-preview',
promptObject: {
imageUrl: 'development/images/2025_02_16_15_42_40_711_human.jpg',
prompt: 'Transform the style to match the reference images, maintaining the subject while adopting the artistic style and color palette',
imageSize: '2K',
referenceImage1: 'development/images/uploaded_reference_1.jpg',
referenceImage2: 'development/images/uploaded_reference_2.jpg',
temperature: 1.0,
topP: 0.95
}
})
})
import requests
url = "https://api.1min.ai/api/features"
headers = {
"Content-Type": "application/json",
"API-KEY": "YOUR_API_KEY"
}
data = {
"type": "IMAGE_EDITOR",
"model": "gemini-3-pro-image-preview",
"promptObject": {
"imageUrl": "development/images/2025_02_16_15_42_40_711_human.jpg",
"prompt": "Transform the style to match the reference images, maintaining the subject while adopting the artistic style and color palette",
"imageSize": "2K",
"referenceImage1": "development/images/uploaded_reference_1.jpg",
"referenceImage2": "development/images/uploaded_reference_2.jpg",
"temperature": 1.0,
"topP": 0.95
}
}
response = requests.post(url, headers=headers, json=data)
Interactive Playground
API Playground
https://api.1min.ai/api/featuresPath to the source image to be edited
Description of desired transformation using reference images
Image size quality. Must be one of: 1K, 2K, or 4K
Path to first reference image (uploaded via Asset API)
Path to second reference image (uploaded via Asset API)
Controls randomness (0.0-2.0). Higher = more creative
Nucleus sampling parameter (0.0-1.0). Controls diversity
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_EDITOR",
"model": "gemini-3-pro-image-preview",
"promptObject": {
"imageUrl": "development/images/2025_02_16_15_42_40_711_human.jpg",
"prompt": "Transform the style to match the reference images, maintaining the subject while adopting the artistic style and color palette",
"imageSize": "2K",
"referenceImage1": "",
"referenceImage2": "",
"temperature": 1,
"topP": 0.95
}
}'
Response Format
Success Response (200)
{
"aiRecord": {
"uuid": "ac32acf4-0b2e-400e-9edf-cb3086c30a2c",
"userId": "c937fbcc-fa8f-4565-a440-c4d87f56fcb2",
"teamId": "a4e176b2-dabb-451e-9c58-62b451fa9630",
"teamUser": {
"teamId": "a4e176b2-dabb-451e-9c58-62b451fa9630",
"userId": "c937fbcc-fa8f-4565-a440-c4d87f56fcb2",
"userName": "John Doe",
"userAvatar": "https://lh3.googleusercontent.com/a/ACg8ocLqgsNsHRfmWF9d-E1RvJetVsEzxNOsOg-NXWNTpMxLDPJbwELI=s96-c",
"status": "ACTIVE",
"role": "ADMIN",
"creditLimit": 100000000,
"usedCredit": 8164605,
"createdAt": "2025-10-20T04:13:40.847Z",
"createdBy": "SYSTEM",
"updatedAt": "2025-10-27T05:06:17.651Z",
"updatedBy": "SYSTEM"
},
"model": "gemini-3-pro-image-preview",
"type": "IMAGE_EDITOR",
"metadata": null,
"rating": null,
"feedback": null,
"conversationId": null,
"status": "SUCCESS",
"createdAt": "2025-10-27T08:43:17.647Z",
"aiRecordDetail": {
"promptObject": {
"prompt": "Transform the style to match the reference images, maintaining the subject while adopting the artistic style and color palette",
"imageUrl": "development/images/2025_02_16_15_42_40_711_human.jpg",
"imageSize": "2K",
"referenceImage1": "development/images/uploaded_reference_1.jpg",
"referenceImage2": "development/images/uploaded_reference_2.jpg",
"temperature": 1.0,
"topP": 0.95
},
"resultObject": [
"development/images/2025_10_27_15_43_26_155_702365.jpg"
],
"responseObject": {}
},
"additionalData": null,
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/development/images/2025_10_27_15_43_26_155_702365.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIAVRUVQEFIHSKAXGE7%2F20251027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251027T084331Z&X-Amz-Expires=604800&X-Amz-Signature=5a66ff004deed5654ac44a823be7c4d1c8850503cb66a4445ce745c5caec5525&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject"
}
}
Use Cases
- Style transfer with examples: Use reference images to show exactly the desired artistic style with premium quality
- Brand consistency: Match corporate visual styles using brand reference images with professional-grade output
- Color palette matching: Adopt specific color schemes from reference materials with superior understanding
- Artistic emulation: Replicate the style of specific artists or artworks with advanced reasoning
- Product visualization: Match product photography styles across catalogs with high-quality results
- Creative direction: Provide visual examples instead of text descriptions with state-of-the-art AI capabilities
- Complex image transformations: Leverage Gemini 3 Pro's advanced reasoning for sophisticated edits