Introduction to OpenAI
Welcome to the OpenAI service documentation! Mountsea’s OpenAI service provides GPT Image generation and editing, available in two flavors:Async Task API
Single unified endpoint
/openai/images for text-to-image and edit. Returns a taskId; poll /openai/tasks.OpenAI Compat (Official SDK)
Drop-in replacement for OpenAI Images. Official
openai SDK — set base_url to https://api.mountsea.ai/openai/v1.Supported Models
Service Overview
Async Task API (/openai/images)
One endpoint. Operation is chosen from the body:
- No
image→ text-to-image - With
image→ edit - With
image+mask→ inpaint (transparent mask areas are redrawn)
taskId. Poll GET /openai/tasks?taskId=... to a terminal status.
Explore Async API →
OpenAI Compat (Official SDK)
Aligned with OpenAI Images, synchronous:- Generate —
POST /openai/v1/images/generations(JSON) - Edit —
POST /openai/v1/images/edits(multipart/form-data) - Models —
GET /openai/v1/models
image, this service sync-routes to edit. The official SDK does not send that field.
Explore Compat →
When to Use Which?
Base URL
base_url: