OpenAI

Access OpenAI's AI models including DALL·E 2, DALL·E 3, and GPT Image 1 for image generation through Runware's unified API. Learn about OpenAI-specific parameters, limitations, and technical specifications.

Introduction

OpenAI's AI models are integrated into the Runware platform through our unified API, providing access to advanced image generation technology across multiple generations of DALL·E and the latest GPT Image models.

Through the providerSettings.openai object, you can access OpenAI's unique features such as quality control, style selection, and background transparency options, while maintaining the consistency of Runware's standard API structure. This page documents the technical specifications, parameter requirements, and provider-specific settings for all OpenAI models available through our platform.

Image models

DALL·E 2

OpenAI's DALL·E 2 model generates photorealistic images from text prompts with support for complex compositions and foundational creative workflows.

Model AIR ID: openai:2@2.

Supported workflows: Text-to-image.

Technical specifications:

  • Prompt requirements: 1-1000 characters.
  • Supported dimensions: 256×256, 512×512, 1024×1024.
  • Quality: Standard only.

Provider-specific settings:

DALL·E 2 operates with fixed standard quality and does not support additional provider-specific customization options.

{
  "taskType": "imageInference",
  "taskUUID": "24cd5dff-cb81-4db5-8506-b72a9425f9d1",
  "model": "openai:2@2",
  "positivePrompt": "A photorealistic mountain landscape with a crystal clear lake reflecting the sunset",
  "width": 1024,
  "height": 1024
}

DALL·E 3

OpenAI's DALL·E 3 model delivers greatly improved prompt understanding and text rendering with higher coherence and better language comprehension for accurate compositions.

Model AIR ID: openai:2@3.

Supported workflows: Text-to-image.

Technical specifications:

  • Prompt requirements: 1-4000 characters.
  • Supported dimensions: 1024×1024, 1792×1024, 1024×1792.
  • Quality options: HD, standard.
  • Style options: Vivid, natural.

Provider-specific settings:

Parameters supported: quality, style.

{
  "taskType": "imageInference",
  "taskUUID": "24cd5dff-cb81-4db5-8506-b72a9425f9d1",
  "model": "openai:2@3",
  "positivePrompt": "A detailed architectural illustration of a futuristic city with flying vehicles and green energy systems",
  "width": 1792,
  "height": 1024,
  "providerSettings": {
    "openai": {
      "quality": "hd",
      "style": "vivid"
    }
  }
}
{
  "taskType": "imageInference",
  "taskUUID": "b8c4d952-7f27-4a6e-bc9a-83f01d1c6d59",
  "model": "openai:2@3",
  "positivePrompt": "A realistic portrait of an elderly craftsman working with traditional woodworking tools",
  "width": 1024,
  "height": 1792,
  "providerSettings": {
    "openai": {
      "quality": "standard",
      "style": "natural"
    }
  }
}

GPT Image 1

OpenAI's GPT Image 1 model leverages GPT-4o architecture to deliver high-fidelity images with enhanced prompt following, superior text rendering, and advanced multimodal capabilities, including precise inpainting and image editing.

Model AIR ID: openai:1@1.

Supported workflows: Text-to-image.

Technical specifications:

  • Prompt requirements: 1-32000 characters.
  • Supported dimensions: 1024×1024, 1536×1024, 1024×1536.
  • Quality options: Auto (default), high, medium, low.
  • Background options: Transparent, opaque.

GPT Image 1's extended prompt support (up to 32,000 characters) enables highly detailed descriptions and complex scene compositions that benefit from the model's advanced language understanding capabilities.

Provider-specific settings:

Parameters supported: quality, background.

{
  "taskType": "imageInference",
  "taskUUID": "24cd5dff-cb81-4db5-8506-b72a9425f9d1",
  "model": "openai:1@1",
  "positivePrompt": "A professional product photograph of a minimalist watch on a clean white surface with subtle reflections and precise typography showing the brand name",
  "width": 1536,
  "height": 1024,
  "providerSettings": {
    "openai": {
      "quality": "high",
      "background": "opaque"
    }
  }
}
{
  "taskType": "imageInference",
  "taskUUID": "b8c4d952-7f27-4a6e-bc9a-83f01d1c6d59",
  "model": "openai:1@1",
  "positivePrompt": "A detailed icon illustration of a smartphone with clean lines and modern design elements, suitable for app interface design",
  "width": 1024,
  "height": 1024,
  "providerSettings": {
    "openai": {
      "quality": "auto",
      "background": "transparent"
    }
  }
}