GPT Image 2

Model Information

Display Name: GPT Image 2

API Model ID: openai/gpt-image-2-edit

Category: Text To Image

Description: GPT Image 2 is OpenAI's most advanced image model, supporting both text-to-image generation and multi-image editing with natural language instructions. Delivers exceptional photorealism, accurate text rendering, and precise instruction following across multiple quality tiers and resolutions. **Key Features:** - Dual mode: text-to-image generation and image editing - Up to 4 input images for editing - Three quality tiers: low, medium, high - Three resolutions: 1k, 2k, 4k - 10 aspect ratios supported - Natural language editing instructions - Accurate text rendering in images **Capabilities:** - Text-to-image generation from prompts - Multi-image editing with natural language - In-painting, style transfer, and compositing - Accurate text and typography in images - Complex scene composition - Photorealistic and artistic styles **Best For:** - Professional image creation and editing - Marketing and advertising visuals - Product mockups and variations - Text-heavy designs (posters, banners, social cards) - Photo editing and enhancement - Creative concept visualization - E-commerce product imagery **Input Options:** - Text-to-image: prompt only (no images needed) - Image editing: 1-4 images + editing prompt - Automatic mode selection based on input **Parameters:** - quality: low, medium (default), high - resolution: 1k (default), 2k, 4k - aspect_ratio: 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9 - output_format: output format selection **Pricing:** - Tiered by quality and resolution combination - Low quality: most affordable for drafts and iterations - Medium quality: balanced quality and cost - High quality: maximum fidelity for production use - Higher resolutions increase cost proportionally **Limitations:** - Maximum 4 input images for editing - Content policy restrictions apply - High quality + 4k is the most expensive tier

How to Use This Model

To use GPT Image 2 via the HInow.ai API, use the model ID: openai/gpt-image-2-edit

API Request Example (Chat/Text)


POST https://api.hinow.ai/v1/chat/completions
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "model": "openai/gpt-image-2-edit",
  "messages": [
    {"role": "user", "content": "Your message here"}
  ]
}
              

API Request Example (Image Generation)


POST https://api.hinow.ai/v1/images
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "model": "openai/gpt-image-2-edit",
  "prompt": "Your image description here"
}
              

Pricing

  • total: $0

Available Parameters

  • quality: Image quality level (Options: low, medium, high)
  • aspect_ratio: Output aspect ratio (Options: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3)
  • resolution: Output resolution (Options: 1k, 2k, 4k)
  • output_format: Output image format (Options: png, jpeg, webp)

Quick Reference

To use this model, set: "model": "openai/gpt-image-2-edit"

Featured: No

Documentation: https://hinow.ai/models/openai/gpt-image-2-edit

API Endpoint: https://api.hinow.ai/v1

Back to Models

GPT Image 2

openai/gpt-image-2-edit

$0.000000
per image

About

GPT Image 2 is OpenAI's most advanced image model, supporting both text-to-image generation and multi-image editing with natural language instructions. Delivers exceptional photorealism, accurate text rendering, and precise instruction following across multiple quality tiers and resolutions.

Key Features:

  • Dual mode: text-to-image generation and image editing
  • Up to 4 input images for editing
  • Three quality tiers: low, medium, high
  • Three resolutions: 1k, 2k, 4k
  • 10 aspect ratios supported
  • Natural language editing instructions
  • Accurate text rendering in images

Capabilities:

  • Text-to-image generation from prompts
  • Multi-image editing with natural language
  • In-painting, style transfer, and compositing
  • Accurate text and typography in images
  • Complex scene composition
  • Photorealistic and artistic styles

Best For:

  • Professional image creation and editing
  • Marketing and advertising visuals
  • Product mockups and variations
  • Text-heavy designs (posters, banners, social cards)
  • Photo editing and enhancement
  • Creative concept visualization
  • E-commerce product imagery

Input Options:

  • Text-to-image: prompt only (no images needed)
  • Image editing: 1-4 images + editing prompt
  • Automatic mode selection based on input

Parameters:

  • quality: low, medium (default), high
  • resolution: 1k (default), 2k, 4k
  • aspect_ratio: 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9
  • output_format: output format selection

Pricing:

  • Tiered by quality and resolution combination
  • Low quality: most affordable for drafts and iterations
  • Medium quality: balanced quality and cost
  • High quality: maximum fidelity for production use
  • Higher resolutions increase cost proportionally

Limitations:

  • Maximum 4 input images for editing
  • Content policy restrictions apply
  • High quality + 4k is the most expensive tier

Capabilities

Text To ImageImage Editing

Parameters

quality

Image quality level

lowmediumhigh
aspect_ratio

Output aspect ratio

1:116:99:164:33:43:22:3
resolution

Output resolution

1k2k4k
output_format

Output image format

pngjpegwebp

Code Examples

curl -X POST https://api.hinow.ai/v1/images \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HINOW_API_KEY" \
  -d '{
    "model": "openai/gpt-image-2-edit",
    "prompt": "A beautiful sunset over mountains",
    "parameters": {
      "quality": "low",
      "aspect_ratio": "1:1",
      "resolution": "1k",
      "output_format": "png"
    }
  }'