> ## Documentation Index
> Fetch the complete documentation index at: https://docs.siray.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# GPT Image 1.5 ref2i Medium



## OpenAPI

````yaml openapi-spec/gpt-image-1.5-ref2i-medium.json POST /v1/images/generations/async
openapi: 3.1.0
info:
  description: >-
    GPT Image 1.5 is OpenAI’s newest flagship image model powering the latest
    ChatGPT Images. It delivers significantly faster image generation with
    stronger instruction following, more precise edits that preserve original
    details, more believable transformations, and improved rendering of dense or
    small text. It is suited for practical creative workflows, detailed design
    tasks, and production use cases.
  summary: API for GPT Image 1.5 ref2i Medium model
  title: GPT Image 1.5 ref2i Medium API
  version: 1.0.0
servers:
  - description: Model Verse API Server
    url: https://api.siray.ai
security: []
tags:
  - description: >-
      GPT Image 1.5 ref2i Medium - GPT Image 1.5 is OpenAI’s newest flagship
      image model powering the latest ChatGPT Images. It delivers significantly
      faster image generation with stronger instruction following, more precise
      edits that preserve original details, more believable transformations, and
      improved rendering of dense or small text. It is suited for practical
      creative workflows, detailed design tasks, and production use cases.
    name: GPT Image 1.5 ref2i Medium
paths:
  /v1/images/generations/async:
    post:
      tags:
        - GPT Image 1.5 ref2i Medium
      summary: Generate image
      description: Generate an image using the GPT Image 1.5 ref2i Medium model
      operationId: image_model-y6hws8k2ao2yqocf
      requestBody:
        content:
          application/json:
            example:
              images:
                - example_value
              model: openai/gpt-image-1.5-ref2i-medium
              prompt: example_value
              size: 1024x1024
            schema:
              description: Request format for image generation models
              properties:
                images:
                  description: Array of input images, which can be data URL or image URL
                  items:
                    type: string
                  maxItems: 16
                  minItems: 1
                  type: array
                model:
                  description: Model name to use for the request
                  enum:
                    - openai/gpt-image-1.5-ref2i-medium
                  type: string
                prompt:
                  description: Text prompt for generation
                  type: string
                size:
                  description: Fixed size
                  enum:
                    - 1024x1024
                    - 1536x1024
                    - 1024x1536
                  type: string
              required:
                - model
                - prompt
                - images
                - size
              title: Image Generation Request
              type: object
        description: Request payload
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskResponse'
          description: Successful response
      security:
        - bearerAuth: []
components:
  schemas:
    TaskResponse:
      description: Standard async task creation response
      properties:
        code:
          description: Status code returned by the service
          example: success
          type: string
        data:
          description: Response payload containing task details
          properties:
            task_id:
              description: Identifier of the created task
              type: string
          required:
            - task_id
          type: object
        message:
          description: Additional information about the request result
          type: string
      required:
        - data
        - code
        - message
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: API Key
      description: Bearer authentication using API key
      scheme: bearer
      type: http

````