Skip to content

Quick Start

1. Sign Up

Go to the Console to create your account.

2. Create an Application

Create your first application in the console and obtain an API Key.

3. Send a Request

Use the OpenAI SDK for quick integration:

python
from openai import OpenAI

client = OpenAI(
    api_key="sk-xxx",
    base_url="https://open.dieyuyun.com"
)

response = client.chat.completions.create(
    model="deepseek-v4-flash",
    messages=[{"role": "user", "content": "Hello!"}]
)

print(response.choices[0].message.content)
javascript
import OpenAI from 'openai'

const client = new OpenAI({
  apiKey: 'sk-xxx',
  baseURL: 'https://open.dieyuyun.com',
})

const response = await client.chat.completions.create({
  model: 'deepseek-v4-flash',
  messages: [{ role: 'user', content: 'Hello!' }],
})

console.log(response.choices[0].message.content)
bash
curl https://open.dieyuyun.com/v1/chat/completions \
  -H "Authorization: Bearer wl-xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4-flash",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Anthropic SDK Integration

The platform is compatible with the Anthropic Messages API. You can use the Anthropic SDK directly:

python
import anthropic

client = anthropic.Anthropic(
    base_url="https://open.dieyuyun.com",
    api_key="sk-xxx"
)

message = client.messages.create(
    model="deepseek-v4-flash",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello!"}]
)

print(message.content[0].text)
bash
curl https://open.dieyuyun.com/v1/messages \
  -H "x-api-key: sk-xxx" \
  -H "Content-Type: application/json" \
  -H "anthropic-version: 2023-06-01" \
  -d '{
    "model": "deepseek-v4-flash",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

4. Read the Docs

Check out the API Reference for all available endpoints and parameters.

Available Models

ModelProviderCapability
deepseek-v4-flashDeepSeekText Generation
deepseek-v4-proDeepSeekText Generation
qwen3.7-maxQwenText Generation
glm-5.7Zhipu AIText Generation
kimi-k2.6Moonshot AIText Generation
minimax-m3MiniMaxText Generation

For the full model list, visit the Console.