返回 AiToEarn
configManager.json
根目录 / project / aitoearn-web / src / app / i18n / locales / en / configManager.json
1 {
2 "title": "Configuration",
3 "description": "Manage runtime settings. Saved changes take effect after the service restarts.",
4 "sections": {
5 "relay": {
6 "label": "Relay",
7 "description": "Service relay, API key, callback, and AI Relay outbound settings."
8 },
9 "basic": {
10 "label": "Basic",
11 "description": "Runtime mode, port, API prefix, logging, and OpenAPI settings."
12 },
13 "database": {
14 "label": "Database",
15 "description": "MongoDB connection and database settings."
16 },
17 "redis": {
18 "label": "Redis & locks",
19 "description": "Redis cluster, queue, cache, and distributed lock settings."
20 },
21 "auth": {
22 "label": "Auth & security",
23 "description": "Login, token, API key, and security-related settings."
24 },
25 "assets": {
26 "label": "File storage",
27 "description": "Object storage, upload, and asset processing settings."
28 },
29 "ai": {
30 "label": "AI service",
31 "description": "AI providers, model runtime, draft generation, and server client settings."
32 },
33 "agent": {
34 "label": "Agent",
35 "description": "Agent endpoint, model list, default models, and task timeout."
36 },
37 "channels": {
38 "label": "Channels",
39 "description": "Social platform, short-link, relay, and publishing channel settings.",
40 "relayConfiguredDescription": "Relay is configured. Editing channel platform settings is usually not recommended; only adjust them when bypassing Relay or troubleshooting platform credentials."
41 },
42 "advanced": {
43 "label": "Advanced",
44 "description": "Additional configuration fields not matched to a standard group."
45 },
46 "aiProviders": {
47 "label": "Model providers",
48 "description": "Provider keys and base URLs for OpenAI, Volcengine, Grok, DashScope, Gemini, and Anthropic."
49 },
50 "aiModels": {
51 "label": "Model catalog",
52 "description": "Chat, image, and video model capabilities, constraints, and defaults."
53 },
54 "aiDraft": {
55 "label": "Draft generation",
56 "description": "Models, aspect ratios, queue priority, and pricing for draft generation."
57 },
58 "aiClient": {
59 "label": "Service clients",
60 "description": "Client settings between the Server service and AI service."
61 }
62 },
63 "fields": {
64 "environment": "Environment",
65 "globalPrefix": "API prefix",
66 "port": "Service port",
67 "enableConfigLogging": "Log configuration on startup",
68 "enableBadRequestDetails": "Show request validation details",
69 "openapi": "OpenAPI",
70 "logger": "Logger",
71 "mongodb": "MongoDB",
72 "redis": "Redis",
73 "redlock": "Distributed locks",
74 "auth": "Authentication",
75 "apiKey": "API key",
76 "assets": "File storage",
77 "aiClient": "AI client",
78 "serverClient": "Server client",
79 "ai": "AI",
80 "agent": "Agent",
81 "channel": "Channels",
82 "relay": "Relay",
83 "baseUrl": "Base URL",
84 "callbackUrl": "Callback URL",
85 "clientId": "Client ID",
86 "clientSecret": "Client secret",
87 "secret": "Secret",
88 "token": "Token",
89 "models": "Models",
90 "defaultModel": "Default model",
91 "backgroundModel": "Background model",
92 "thinkModel": "Thinking model",
93 "taskTimeoutMs": "Task timeout",
94 "host": "Host",
95 "username": "Username",
96 "password": "Password",
97 "database": "Database",
98 "dbName": "Database name",
99 "prefix": "Prefix",
100 "enable": "Enable",
101 "level": "Level",
102 "region": "Region",
103 "bucket": "Bucket",
104 "accessKeyId": "Access key ID",
105 "accessKeySecret": "Access key secret",
106 "endpoint": "Endpoint",
107 "publicUrl": "Public URL",
108 "nodes": "Nodes",
109 "options": "Options",
110 "queue": "Queue",
111 "planner": "Planner",
112 "imageModels": "Image models",
113 "draftGeneration": "Draft generation",
114 "shortLink": "Short link",
115 "channelDb": "Channel database",
116 "serverUrl": "Server URL",
117 "formats": "Formats",
118 "maxCount": "Max count",
119 "maxSizeMb": "Max size (MB)",
120 "concurrency": "Concurrency",
121 "retry": "Retry",
122 "name": "Name",
123 "description": "Description",
124 "summary": "Summary",
125 "logo": "Logo",
126 "tags": "Tags",
127 "mainTag": "Main tag",
128 "runtimeModel": "Runtime model",
129 "runtimeModels": "Runtime models",
130 "scenes": "Scenes",
131 "mode": "Mode",
132 "modes": "Modes",
133 "resolution": "Resolution",
134 "resolutions": "Resolutions",
135 "duration": "Duration",
136 "durations": "Durations",
137 "defaults": "Defaults",
138 "fallback": "Fallback",
139 "size": "Size",
140 "sizes": "Sizes",
141 "quality": "Quality",
142 "qualities": "Qualities",
143 "style": "Style",
144 "styles": "Styles",
145 "maxInputImages": "Max input images",
146 "supportedAspectRatios": "Supported aspect ratios",
147 "inputModalities": "Input modalities",
148 "outputModalities": "Output modalities",
149 "inputConstraints": "Input constraints",
150 "aspectRatios": "Aspect ratios",
151 "queuePriority": "Queue priority",
152 "lowPriorityMinPriority": "Low-priority minimum priority",
153 "lowPriorityConcurrency": "Low-priority concurrency",
154 "displayName": "Display name",
155 "model": "Model",
156 "minDuration": "Min duration",
157 "maxDuration": "Max duration",
158 "maxTotalDuration": "Max total duration",
159 "minAspectRatio": "Min aspect ratio",
160 "maxAspectRatio": "Max aspect ratio",
161 "minWidth": "Min width",
162 "maxWidth": "Max width",
163 "minPixels": "Min pixels",
164 "maxPixels": "Max pixels",
165 "minFps": "Min FPS",
166 "maxFps": "Max FPS",
167 "images": "Images",
168 "videos": "Videos",
169 "audios": "Audios",
170 "anthropic": "Anthropic",
171 "openai": "OpenAI",
172 "volcengine": "Volcengine",
173 "grok": "Grok",
174 "dashscope": "DashScope",
175 "gemini": "Gemini",
176 "url": "URL",
177 "timeout": "Timeout",
178 "appDomain": "App domain",
179 "secretAccessKey": "Secret access key",
180 "internalToken": "Internal token",
181 "encodingAESKey": "Encoding AES key",
182 "redirectUri": "Redirect URI",
183 "graphApiVersion": "Graph API version",
184 "webhookVerifyToken": "Webhook verify token",
185 "webhookSecret": "Webhook secret",
186 "status": "Status",
187 "sandbox": "Sandbox mode",
188 "authType": "Auth type",
189 "miniApp": "Mini app",
190 "channels": "Channels",
191 "pullFromUrlAllowedPrefixes": "Allowed pull URL prefixes",
192 "spaceName": "Space name",
193 "playbackBaseUrl": "Playback base URL",
194 "urlAuthPrimaryKey": "URL auth primary key",
195 "generation": "Generation models",
196 "edit": "Edit models",
197 "chat": "Chat models",
198 "video": "Video",
199 "image": "Image",
200 "pricing": "Pricing"
201 },
202 "fieldDescriptions": {
203 "environment": "Select development or production runtime behavior.",
204 "port": "The port listened to by the current service.",
205 "globalPrefix": "Global API prefix used by backend routes.",
206 "agent.models": "Available model names for Agent tasks. The default models must be included here.",
207 "agent.taskTimeoutMs": "Maximum Agent task runtime in milliseconds.",
208 "appDomain": "Public domain used for callbacks, short links, or asset access.",
209 "ai.models": "AI model catalog for chat, image, and video capabilities.",
210 "ai.draftGeneration": "Model mapping and default runtime settings for AI draft generation.",
211 "channel": "OAuth, callback, logo, scopes, and platform-specific settings for each channel.",
212 "assets": "Object storage bucket, access keys, public URL, and upload limits."
213 },
214 "status": {
215 "unknown": "Unknown",
216 "running": "Running",
217 "restarting": "Restarting",
218 "failed": "Check failed",
219 "dirty": "Unsaved changes",
220 "format": "{{format}} file",
221 "modified": "Modified",
222 "notRecommended": "Not recommended"
223 },
224 "actions": {
225 "reload": "Reload",
226 "validate": "Validate",
227 "save": "Save",
228 "restart": "Restart service",
229 "saveAndRestart": "Save & restart",
230 "locate": "Locate",
231 "addItem": "Add item",
232 "remove": "Remove",
233 "copyValue": "Copy value",
234 "showSensitiveValue": "Show value",
235 "hideSensitiveValue": "Hide value",
236 "goToJsonField": "Go to JSON field",
237 "goToVisualField": "Go to visual field"
238 },
239 "messages": {
240 "validateSuccess": "Configuration validated",
241 "saveSuccess": "Saved. Restart the service for changes to take effect.",
242 "restartSuccess": "Service is back online. Configuration is now effective.",
243 "dirtyHint": "There are unsaved changes.",
244 "cleanHint": "Configuration is up to date.",
245 "healthChecking": "Checking service recovery {{current}}/{{total}}...",
246 "jsonHint": "JSON mode saves as a JSON object. Invalid JSON will not be submitted.",
247 "copyValueSuccess": "Configuration value copied",
248 "copyFailed": "Copy failed, please copy manually"
249 },
250 "errors": {
251 "loadFailed": "Failed to load configuration",
252 "validateFailed": "Configuration validation failed",
253 "saveFailed": "Failed to save configuration",
254 "restartFailed": "Failed to restart service",
255 "healthTimeout": "Service recovery check timed out",
256 "healthTimeoutDescription": "The restart request was sent, but the account list API did not recover in time. Please check the service manually.",
257 "jsonInvalid": "Invalid JSON configuration",
258 "jsonRootObject": "The root value must be a JSON object."
259 },
260 "common": {
261 "enabled": "Enabled",
262 "disabled": "Disabled",
263 "emptyValue": "Empty value",
264 "emptyArray": "No items yet",
265 "emptyObject": "No fields",
266 "itemCount": "{{count}} items",
267 "arrayItem": "Item {{index}}"
268 },
269 "tabs": {
270 "visual": "Visual",
271 "json": "JSON",
272 "modeSwitch": "Configuration edit mode"
273 },
274 "services": {
275 "server": "Server",
276 "ai": "AI service"
277 },
278 "panel": {
279 "fieldSummary": "{{count}} fields",
280 "modifiedSummary": "{{count}} modified"
281 }
282 }
283
283 lines JSON