mingyan
OpenAI Completions API
OpenAI Chat Completions-compatible text generation API. Currently only deepseek-v4-flash is available.
baseUrl
http://apillm.globalaiopc.com/gw_llm_powerThis endpoint is compatible with the OpenAI Chat Completions request and response format, so it can be used with OpenAI SDKs or compatible clients.
- OpenAI Chat Completions reference: https://platform.openai.com/docs/api-reference/chat/create
Authentication
Get KeyUse the
Authorization header for authentication.Required headers:
cURL
Authorization: Bearer {{YOUR_API_KEY}}
Content-Type: application/json
Supported Models
Models are grouped by series below:
DeepSeek
| Model | Image Analysis | Video Analysis | Notes |
|---|---|---|---|
deepseek-v4-flash | Not supported | Not supported | Suitable for text chat, generation, summarization, rewriting, and coding assistance |
Zhipu GLM
No available models yet. Models will be added here after launch.
Doubao
No available models yet. Models will be added here after launch.
Request Parameters
modelstringrequiredModel name to use. Currently set this to
deepseek-v4-flash.messagesarrayrequiredConversation message array. Each message object usually contains
role and content.temperaturenumberSampling temperature to control output randomness. Recommended range is 0 to 2.
top_pnumberNucleus sampling parameter. It is recommended to tune either
temperature or top_p, not both.streambooleanWhether to enable streaming responses. When set to
true, the response is returned as SSE and ends with data: [DONE].max_completion_tokensintegerMaximum output token count.
stopstring/arrayStop sequence(s). Can be a string or an array.
Messages Array Structure
rolestringrequiredMessage role. Supported values:
system, user, assistant.contentstringrequiredMessage content.
deepseek-v4-flash currently supports plain text only and does not support multimodal arrays for image or video analysis.Response
Returns an OpenAI-compatible response format.
idstringUnique identifier for the chat request.
objectstringObject type, usually
chat.completion.createdintegerResponse creation timestamp.
modelstringActual model name used.
choices[].message.rolestringModel response role, usually
assistant.choices[].message.contentstringGenerated text content.
usage.prompt_tokensintegerInput token count.
usage.completion_tokensintegerOutput token count.
usage.total_tokensintegerTotal token count.
Notes
- The request URL is
http://apillm.globalaiopc.com/gw_llm_power/v1/chat/completions - Pass the API key using the
Authorizationheader deepseek-v4-flashdoes not support image analysis or video analysis. Send plain text messages only- Streaming responses use SSE and end with
data: [DONE]

