Skip to main content

GPT Image 1 Mini - Image Text Editor

Transform and enhance your images using natural language descriptions with OpenAI's GPT Image 1 Mini model. This cost-effective text-based image editor delivers fast, high-quality results for image modifications described through text prompts. Perfect for high-volume workflows, rapid iterations, and projects where speed and cost-efficiency are priorities without compromising on quality.

Endpoint

Request Headers

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

Parameters

ParameterTypeRequiredDescription
typestringYesFeature type identifier. Must be IMAGE_EDITOR
modelstringYesAI model identifier. Must be gpt-image-1-mini
promptObjectobjectYesConfiguration object containing all image editing parameters

Prompt Object Parameters

ParameterTypeRequiredDescriptionDefault
imageUrlstringYesPath to the source image to be edited-
promptstringYesText description of the desired image transformation (max 4000 characters)-
sizestringYesOutput image dimensions1024x1024
nnumberYesNumber of images to generate (1-10)1
qualitystringNoQuality level of the generated imagemedium
output_formatstringNoOutput format for the processed imagepng
output_compressionnumberNoCompression level for output (0-100, higher = better quality)85
backgroundstringNoBackground handling for edited areasauto

Size Options

SizeDescription
1024x1024Square format (1:1)
1024x1536Portrait format (2:3)
1536x1024Landscape format (3:2)

Quality Options

QualityDescriptionUse CaseProcessing Speed
lowFast processing with good qualityQuick iterations, drafts, previewsFastest
mediumBalanced quality and speedGeneral editing, standard workflowsFast
highEnhanced detail and refinementProfessional work, final outputsModerate

Output Format Options

FormatDescriptionBest For
pngLossless format with transparency supportProfessional use, detailed editing, archival quality
jpegCompressed format suitable for photographsWeb optimization, social media, smaller file sizes
webpModern format with superior compressionWeb applications, modern browsers

Background Options

BackgroundDescription
autoAI automatically determines optimal background handling
preserveKeep original background unchanged where possible
transparentGenerate transparent background in edited areas (PNG only)
whiteUse white background for edited areas
blackUse black background for edited areas

Code Examples

curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "IMAGE_EDITOR",
"model": "gpt-image-1-mini",
"promptObject": {
"imageUrl": "development/images/2025_12_04_18_10_29_882_cat.png",
"prompt": "transform into a watercolor painting style with soft brushstrokes and vibrant colors",
"size": "1024x1024",
"n": 1,
"quality": "medium",
"output_format": "png",
"background": "auto"
}
}'

Interactive Playground

API Playground

https://api.1min.ai/api/features
Path to the source image to be edited
Describe how you want to transform the image (max 4000 characters)
Dimensions of the output image
Number of edited images to generate (1-10)
Quality level affects detail, processing time, and credit cost
Format of the output image
Compression level (0-100, higher = better quality)
How to handle background in edited areas

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": "gpt-image-1-mini",
"promptObject": {
"imageUrl": "development/images/2025_12_04_18_10_29_882_cat.png",
"prompt": "transform into a watercolor painting style with soft brushstrokes and vibrant colors",
"size": "1024x1024",
"n": 1,
"quality": "medium",
"output_format": "png",
"background": "auto"
}
}'

Response Format

{
"aiRecord": {
"uuid": "i1m2e3d4-v5e6-7890-abcd-ef1234567890",
"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": 28000,
"createdAt": "2025-01-01T00:00:00.000Z",
"createdBy": "SYSTEM",
"updatedAt": "2025-01-15T16:00:00.000Z",
"updatedBy": "SYSTEM"
},
"model": "gpt-image-1-mini",
"type": "IMAGE_EDITOR",
"metadata": null,
"rating": null,
"feedback": null,
"conversationId": null,
"status": "SUCCESS",
"createdAt": "2025-01-15T16:00:00.000Z",
"aiRecordDetail": {
"promptObject": {
"imageUrl": "development/images/2025_12_04_18_10_29_882_cat.png",
"prompt": "transform into a watercolor painting style with soft brushstrokes and vibrant colors",
"size": "1024x1024",
"n": 1,
"quality": "medium",
"output_format": "png",
"background": "auto"
},
"resultObject": [
"development/images/2025_01_15_16_00_30_001_edited.png"
],
"responseObject": {}
},
"additionalData": null,
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/development/images/2025_01_15_16_00_30_001_edited.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=EXAMPLE_CREDENTIAL&X-Amz-Date=20250115T160000Z&X-Amz-Expires=604800&X-Amz-Signature=example_signature&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject"
}
}

Use Cases

High-Volume Content Production

  • Batch Processing: Edit large numbers of images quickly and cost-effectively
  • Content Variation: Generate multiple versions of images for A/B testing
  • Social Media Management: Create platform-specific variations at scale
  • Marketing Campaigns: Rapidly produce campaign assets with consistent styling
  • E-commerce Catalogs: Process product images in bulk with uniform edits

Rapid Creative Iteration

  • Design Exploration: Quickly test multiple creative directions
  • Client Previews: Generate concept previews before final high-quality renders
  • Style Testing: Experiment with different artistic approaches
  • Mood Boards: Create visual references and style guides
  • Concept Development: Iterate through ideas efficiently

Cost-Sensitive Projects

  • Startup Workflows: Professional results with budget-friendly pricing
  • Content Marketing: Regular content creation without excessive costs
  • Educational Projects: Learning and experimentation with AI image editing
  • Personal Projects: High-quality results for personal or portfolio work
  • Prototyping: Test workflows before scaling to premium models

Social Media & Digital Marketing

  • Daily Content Creation: Consistent posting without budget strain
  • Story Enhancement: Quick edits for Instagram Stories, Reels, TikTok
  • Engagement Optimization: Rapidly test visual variations to improve metrics
  • Platform Adaptation: Create size and format variations for different channels
  • Trend Participation: Quickly adapt images to current trends

E-commerce & Product Photography

  • Product Variations: Show products in different styles or contexts
  • Seasonal Updates: Adapt product imagery for holidays or seasons
  • Lifestyle Integration: Transform product shots into lifestyle scenes
  • Color Variations: Display products in multiple color options
  • Background Customization: Place products in different environments

Professional Photography Workflows

  • Quick Edits: Fast turnaround for time-sensitive projects
  • Style Presets: Consistent editing across photo series
  • Client Previews: Show editing concepts before final processing
  • Volume Work: Events, real estate, or other high-volume photography
  • Portfolio Development: Experiment with editing styles efficiently