Skip to main content

Gemini 2.5 Flash Image - Image Generator

Advanced AI image generation model by Google AI. Gemini 2.5 Flash Image delivers high-quality image generation with Google's cutting-edge AI technology, offering fast generation speeds and excellent prompt adherence for creative and professional applications.

Endpoint

Request Headers

FieldValue
API-KEY<api-key>
Content-Typeapplication/json

Parameters

ParameterTypeRequiredDescription
typestringYesFeature type identifier. Must be IMAGE_GENERATOR
modelstringYesAI model identifier. Must be gemini-2.5-flash-image
promptObjectobjectYesConfiguration object containing all generation parameters

Prompt Object Parameters

ParameterTypeRequiredDescriptionDefault
promptstringYesText description of the image to generate-

Code Examples

curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "IMAGE_GENERATOR",
"model": "gemini-2.5-flash-image",
"promptObject": {
"prompt": "A serene Japanese garden with cherry blossoms, koi pond, and traditional architecture"
}
}'

Interactive Playground

API Playground

https://api.1min.ai/api/features
Describe the image you want to generate

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": "gemini-2.5-flash-image",
"promptObject": {
"prompt": "A serene Japanese garden with cherry blossoms, koi pond, and traditional architecture"
}
}'

Response Format

{
"aiRecord": {
"uuid": "e4f5g6h7-i8j9-0123-4567-890123defghi",
"userId": "user-12345",
"teamId": "team-67890",
"model": "gemini-2.5-flash-image",
"type": "IMAGE_GENERATOR",
"status": "SUCCESS",
"createdAt": "2025-01-15T10:50:00.000Z",
"aiRecordDetail": {
"promptObject": {
"prompt": "A serene Japanese garden with cherry blossoms, koi pond, and traditional architecture",
"aspect_ratio": "16:9",
"output_quality": 90,
"seed": 12345
},
"resultObject": [
"development/images/2025_01_15_10_50_45_001_japanese_garden.webp"
]
},
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/development/images/2025_01_15_10_50_45_001_japanese_garden.webp?X-Amz-Algorithm=AWS4-HMAC-SHA256&..."
}
}

Use Cases

  • Creative Design: Artistic imagery and creative concepts
  • Content Creation: Social media and marketing visuals
  • Rapid Prototyping: Quick visual concept development
  • Educational Materials: Illustrations and diagrams
  • Digital Art: High-quality artistic creations
  • Commercial Graphics: Professional imagery for business use