Site6 API documentation
Use the Site6 API for chat, tools, reasoning, files and image generation.
API base URL
https://site6.eokgg.win/v1QuickstartFind your key and send a request.API referenceExplore request shapes and responses.Language examplesRun an example in your own project.
First request
curl --fail-with-body -sS https://site6.eokgg.win/v1/chat/completions \
-H "Authorization: Bearer $SITE6_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "deepseek-v4.1-flash-1017",
"messages": [{"role": "user", "content": "Explain a hash table in two sentences."}],
"max_tokens": 256
}'import json
import os
from urllib.request import Request, urlopen
body = {
"model": "deepseek-v4.1-flash-1017",
"messages": [{"role": "user", "content": "Explain a hash table in two sentences."}],
"max_tokens": 256,
}
request = Request(
"https://site6.eokgg.win/v1/chat/completions",
data=json.dumps(body).encode("utf-8"),
headers={
"Authorization": "Bearer " + os.environ["SITE6_API_KEY"],
"Content-Type": "application/json",
},
method="POST",
)
with urlopen(request) as response:
print(json.load(response)["choices"][0]["message"]["content"])const response = await fetch("https://site6.eokgg.win/v1/chat/completions", {
method: "POST",
headers: {
Authorization: "Bearer " + process.env.SITE6_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "deepseek-v4.1-flash-1017",
messages: [{ role: "user", content: "Explain a hash table in two sentences." }],
max_tokens: 256,
}),
});
if (!response.ok) throw new Error(await response.text());
const result = await response.json();
console.log(result.choices[0].message.content);Find the right endpoint
| I want to… | Use |
|---|---|
| Send a chat turn or stream text | Chat Completions |
| Continue a stored response with an ID | Responses |
| Apply project rules from a file | Custom instructions |
| Let the model calculate, look up sources or call a function | Tools |
| Read an image, text file or PDF | Vision and files |
| Generate or edit an image | Image generation and editing |
| Connect an existing SDK or agent | Client compatibility |
Services
Site6 dashboard manages your account, API key and usage. Site6 Chat lets you use your key in a browser. Model status shows the latest health checks.
Use GET /v1/models to discover the model IDs available to your key. Availability and context limits differ by model.