Repository navigation
Expand file tree
/
Copy pathastudio2api-data.example.json
More file actions
123 lines (123 loc) · 3.58 KB
/
Copy pathastudio2api-data.example.json
File metadata and controls
123 lines (123 loc) · 3.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"_comment": "脱敏示例:结构与真实状态文件一致,所有凭据均为占位值。复制为 data/astudio2api-data.json 后可用,但通常无需手工创建 —— 首次启动会自动生成。",
"schema_version": 1,
"settings": {
"host": "0.0.0.0",
"port": 10086,
"password": "CHANGE_ME",
"password_generated": false,
"upstream_base": "https://maas-api.cn-huabei-1.xf-yun.com/v1",
"models_base": "https://astronstudio-api-volces-prod.xf-yun.com/api/v1/model-manager",
"workspace_api": "https://agent.xfyun.cn/xingchen-studio",
"studio_version": "3.4.4",
"astron_data_dir": "",
"request_timeout_seconds": 300,
"idle_timeout_seconds": 300,
"log_retention_days": 30,
"log_max_entries": 2000,
"max_concurrency": 4,
"cors_origins": [],
"model_aliases": {
"glm": "xopglm52"
},
"auto_checkin": true,
"checkin_hour": 9,
"keepalive_minutes": 0,
"balance_aware_rotation": true,
"checkin_complete_popups": true,
"checkin_claim_download_reward": true,
"checkin_claim_beta": true
},
"api_keys": [
{
"id": "a1b2c3d4e5f60718",
"key": "sk-EXAMPLE0000000000000000000000000000000000",
"note": "示例密钥",
"enabled": true,
"created_at": 1700000000
}
],
"accounts": [
{
"id": "0123456789abcdef",
"name": "示例账号",
"account_id": "12345678901",
"uid": "12345678901",
"token": "EXAMPLE-SESSION-TOKEN",
"sso_session_id": "EXAMPLE-SSO-SESSION-ID",
"model_bearer_token": "deadbeefdeadbeefdeadbeefdeadbeef:RVhBTVBMRS1NT0RFTC1LRVk=",
"mobile": "138****0000",
"nickname": "示例账号",
"domain_account": "",
"source": "sms-login",
"enabled": true,
"last_error": "",
"last_used_at": 1700000000,
"cooldown_until": 0,
"successes": 0,
"failures": 0,
"created_at": 1700000000,
"updated_at": 1700000000,
"points_known": true,
"points_balance": 1200,
"spark_balance": 5000,
"points_expire_at": "2026-11-01T05:34:12",
"plan_code": "TRIAL",
"plan_name": "体验版",
"plan_active": true,
"pending_popups": 0,
"last_checked_at": 1700000000,
"last_claim_at": 0,
"session_ok": true,
"status_note": ""
},
{
"id": "0123456789abcdef",
"name": "示例账号",
"account_id": "12345678901",
"uid": "12345678901",
"token": "EXAMPLE-SESSION-TOKEN",
"sso_session_id": "EXAMPLE-SSO-SESSION-ID",
"model_bearer_token": "deadbeefdeadbeefdeadbeefdeadbeef:RVhBTVBMRS1NT0RFTC1LRVk=",
"mobile": "138****0000",
"nickname": "示例账号",
"domain_account": "",
"source": "sms-login",
"enabled": true,
"last_error": "",
"last_used_at": 1700000000,
"cooldown_until": 0,
"successes": 0,
"failures": 0,
"created_at": 1700000000,
"updated_at": 1700000000,
"points_known": true,
"points_balance": 1200,
"spark_balance": 5000,
"points_expire_at": "2026-11-01T05:34:12",
"plan_code": "TRIAL",
"plan_name": "体验版",
"plan_active": true,
"pending_popups": 0,
"last_checked_at": 1700000000,
"last_claim_at": 0,
"session_ok": true,
"status_note": ""
}
],
"stats": {
"requests": 0,
"successes": 0,
"failures": 0,
"prompt_tokens": 0,
"completion_tokens": 0,
"cached_tokens": 0,
"reasoning_tokens": 0,
"first_token_ms_sum": 0,
"first_token_count": 0,
"by_model": {},
"by_hour": {}
},
"logs": [],
"benefits": []
}