OhMyGPT API Docs
  1. OpenAI
OhMyGPT API Docs
  • About This site
  • About new website
  • Midjourney Open API
    • About Midjourney Service
    • Midjourney Blend Image Generation Task Creation
      POST
    • Midjourney Text-to-Image Task Creation
      POST
    • Midjourney Execute Action Task Creation
      POST
    • Midjourney Query Specific Task ID Execution Status
      POST
    • Midjourney Paginated Bulk Query Tasks
      POST
    • Midjourney Describe Prompt Extraction Task Creation
      POST
    • Retrieve Images Generated by Midjourney from Object Storage
      GET
    • Retrieve Compressed Images Generated by Midjourney from Object Storage + WSRV
      GET
    • Retrieve Images Generated by Midjourney from Object Storage + WSRV
      GET
    • Proxy Discord Images via WSRV
      GET
    • Proxy and Compress Discord Images via WSRV
      GET
  • Management API
    • Create a New API Key
      POST
    • Update API Key Information
      POST
    • Query All of User's API Keys
      POST
    • Delete Specified API Key
      POST
    • Query User Membership Expiration Date
      POST
    • User Balance Query
      POST
    • Query the current model rates
      GET
  • OpenAI
    • About OpenAI Compatible API
    • About Azure OpenAI API
    • Audio
      • Text To Speech API
    • Chat
      • Chat Completion
      • Completion (Legacy)
    • Images
      • Create Image
    • Realtime API
  • Anthropic Claude
    • Deprecated
      • ChatCompletions
      • Claude2 API
    • Anthropic Official Claude API
  • Policies
    • Terms of Service
    • Privacy Policy
  • Other OpenAPIs
    • Search API
      • Google Custom Search API
      • Google Search By Serper
    • Azure API
      • Get Azure TTS voice list
      • Azure TTS
  1. OpenAI

About OpenAI Compatible API

This site provides fully compatible with the OpenAI API format of the document, you only need to log in to OhMyGPT, open the settings interface, click to create an API key, and then replace the original OpenAI API domain name or API URL with this site's, and the API key is also replaced with this site's on the OK.
API endpoint list:
U.S. main site direct connection stable, unavailable in some areas: https://api.ohmygpt.com
Cloudflare CDN stable, global acceleration: https://cfcus02.opapi.win.
Cloudflare Worker stable, global acceleration: https://cfwus02.opapi.win
Premium Line Reverse Generation 1 Premium Line, No Availability Guaranteed: https://aigptx.top
Premium Line Reverse Generation 2 Premium Line, No Availability Guaranteed: https://cn2us02.opapi.win.
You can refer to the official OpenAI documentation for specific API calls: https://platform.openai.com/docs/api-reference/
This site is compatible with the following interface capabilities provided by OpenAI:
Audio
Chat
Completions
Embeddings
Images
Moderations
Compatible with almost all models (those that can be checked in the key permissions settings are available).
Previous
Query the current model rates
Next
About Azure OpenAI API
Built with