OpenAI-30% FuturMix listed price

GPT Image 2 API

Advanced image generation and editing

Overview

GPT Image 2 is OpenAI's latest image generation model, capable of creating and editing high-quality images from text descriptions with improved accuracy and detail.

Use Cases

  • Image generation from text
  • Image editing and inpainting
  • Design prototyping
  • Creative visual content

Model Details

Provider
OpenAI
Model ID
gpt-image-2
Context Window
N/A (image model)
Compatible APIs
openai

Code Examples

curl -X POST "https://futurmix.ai/v1/chat/completions" \
  -H "Authorization: Bearer $FUTURMIX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-2",
    "messages": [
      {
        "role": "system",
        "content": "You are a concise assistant."
      },
      {
        "role": "user",
        "content": "Write a short launch announcement for a new AI API platform."
      }
    ],
    "temperature": 0.7,
    "max_tokens": 512,
    "top_p": 0.95,
    "stream": false
  }'
Base URL: https://futurmix.ai/v1Endpoints: /chat/completions/responses/models

Related Models

Start using GPT Image 2 today

Top up from $10, create an API key, and start making requests.