Use OVJ API US as an OpenAI-compatible gateway for chat, embeddings, image generation, and model discovery. The examples below are ready for the US endpoint.
Include your API key in the Authorization header for every request:
Authorization: Bearer sk-your-api-key
| Endpoint | Description |
|---|---|
| POST /v1/chat/completions | Chat completions in OpenAI-compatible format. |
| POST /v1/embeddings | Text embeddings for retrieval, ranking, and search. |
| POST /v1/images/generations | Image generation for supported models. |
| GET /v1/models | List currently available models. |
from openai import OpenAI
client = OpenAI(
base_url="https://api-us.ovj.red/v1",
api_key="sk-your-api-key"
)
response = client.chat.completions.create(
model="deepseek-v4-flash",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
curl https://api-us.ovj.red/v1/chat/completions \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-flash",
"messages": [{"role": "user", "content": "Hello!"}]
}'
New users typically follow this sequence:
| Step | Action |
|---|---|
| 1 | Create an account in the console. |
| 2 | Generate an API key from your account dashboard. |
| 3 | Set your base URL to https://api-us.ovj.red/v1. |
| 4 | Review model availability and pricing on the pricing page. |
Visit About for a product overview, or open the console to manage keys and usage.