Skip to Content
API CallGeneral DescriptionAuthentication

Authentication and Authorization

Introduction

ModelVerse API uses API Key for authentication. All API requests must include a valid API Key in the HTTP request header.

Obtain API Key

Please visit the ModelVerse Console to create and manage your API Key.

Note: Please keep your API Key secure and do not disclose it to others.

codex-model

API Endpoint

Endpoint :

GET https://api.umodelverse.ai/v1/models

Simple API Call

Please replace {api_key} with your API Key.

curl --location 'https://api.umodelverse.ai/v1/chat/completions' \ --header "Authorization: Bearer {api_key}" \ --header 'Content-Type: application/json' \ --data '{ "model": "deepseek-ai/DeepSeek-R1", "messages": [ { "role": "user", "content": "Describe the company UCloud Global in one sentence." } ] }' | jq .

An example of the returned result you might see.

{ "id": "0a7919c4-981e-438b-ad30-e943b96882b6", "object": "chat.completion", "created": 1763015400, "model": "deepseek-r1-250528", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "A Sci-Tech board-listed cloud service provider offering neutral, secure, localized cloud computing services, focusing on serving Chinese enterprises in digital transformation." }, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 10, "completion_tokens": 348, "total_tokens": 358, "prompt_tokens_details": null, "completion_tokens_details": { "audio_tokens": 0, "reasoning_tokens": 185, "accepted_prediction_tokens": 0, "rejected_prediction_tokens": 0 } }, "system_fingerprint": "", "search_result": null }