dsh-mo-image 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +428 -392
- package/lib/adapter-kit.js +318 -0
- package/lib/adapters/async.js +351 -0
- package/lib/adapters/cn.js +95 -0
- package/lib/adapters/openai.js +233 -0
- package/lib/adapters.js +273 -356
- package/lib/client.js +578 -30
- package/lib/comfy-workflow.js +524 -0
- package/lib/index.js +320 -81
- package/lib/localized-error.js +1 -0
- package/lib/prompt-profiles.js +77 -4
- package/lib/update-service.js +40 -17
- package/locale/messages.csv +214 -178
- package/package.json +1 -1
- package/skills/mo-image-editing/SKILL.md +5 -4
- package/skills/mo-image-generation/SKILL.md +6 -5
package/lib/client.js
CHANGED
|
@@ -608,13 +608,12 @@ window.__ModuleLoader__.load({
|
|
|
608
608
|
// 质量档位由宿主按「当前模型」下发;不同适配器的挡位名称、数量都不同,
|
|
609
609
|
// 不支持的模型直接隐藏这一栏。
|
|
610
610
|
const IMAGE_DEFAULT_QUALITY = 'high';
|
|
611
|
-
const QUALITY_VALUES = new Set(['off', 'low', 'medium', 'high', 'max', 'auto', 'standard', 'hd', 'default', 'quality', 'turbo']);
|
|
611
|
+
const QUALITY_VALUES = new Set(['off', 'low', 'medium', 'high', 'xhigh', 'max', 'auto', 'standard', 'hd', 'default', 'quality', 'turbo']);
|
|
612
612
|
const IMAGE_MIN_SIDE = 64;
|
|
613
613
|
const IMAGE_MAX_SIDE = 4096;
|
|
614
614
|
|
|
615
615
|
function normalizeQuality(value) {
|
|
616
616
|
const raw = String(value || '').trim().toLowerCase();
|
|
617
|
-
if (raw === 'xhigh') return 'max'; // 旧的极高 → Max
|
|
618
617
|
return QUALITY_VALUES.has(raw) ? raw : IMAGE_DEFAULT_QUALITY;
|
|
619
618
|
}
|
|
620
619
|
|
|
@@ -1064,6 +1063,7 @@ window.__ModuleLoader__.load({
|
|
|
1064
1063
|
apiKeyEnv: props.provider.apiKeyEnv || '',
|
|
1065
1064
|
keySource: props.provider.keySource || '',
|
|
1066
1065
|
adapter: props.provider.adapter || '',
|
|
1066
|
+
hostModel: props.provider.hostModel || '',
|
|
1067
1067
|
protocol: props.provider.protocol || 'openai-images',
|
|
1068
1068
|
optionalKey: !!props.provider.optionalKey,
|
|
1069
1069
|
models: (props.provider.models || []).slice(),
|
|
@@ -1083,6 +1083,9 @@ window.__ModuleLoader__.load({
|
|
|
1083
1083
|
const [showAllCandidates, setShowAllCandidates] = React.useState(false);
|
|
1084
1084
|
const [dragFrom, setDragFrom] = React.useState(-1);
|
|
1085
1085
|
const [dropAt, setDropAt] = React.useState(null);
|
|
1086
|
+
// 工作流解析结果与用户确认过的映射,按模型 id 分开存。
|
|
1087
|
+
const [workflowAnalysis, setWorkflowAnalysis] = React.useState({});
|
|
1088
|
+
const [mappingDraft, setMappingDraft] = React.useState({});
|
|
1086
1089
|
const candidateSearchRef = React.useRef(null);
|
|
1087
1090
|
const rowDragPreview = useModelRowDragPreview(MC.modelDragPreview);
|
|
1088
1091
|
const providerPresets = providerPresetsForUi();
|
|
@@ -1282,7 +1285,26 @@ window.__ModuleLoader__.load({
|
|
|
1282
1285
|
h('input', { className: MC.input, value: draft.baseUrl, onChange: (e) => setDraft({ ...draft, baseUrl: e.target.value }), placeholder: urlPlaceholder }),
|
|
1283
1286
|
urlHint ? h('p', { className: MC.advancedHint, style: { margin: 0 } }, urlHint) : null
|
|
1284
1287
|
);
|
|
1285
|
-
const protocolField = field(t('form.protocol'), h('select', {
|
|
1288
|
+
const protocolField = field(t('form.protocol'), h('select', {
|
|
1289
|
+
className: MC.input + ' ' + MC.selectInput,
|
|
1290
|
+
value: draft.adapter || '',
|
|
1291
|
+
onChange: (e) => setDraft({ ...draft, adapter: e.target.value })
|
|
1292
|
+
}, [h('option', { key: '', value: '' }, t('form.protocolAuto'))].concat(
|
|
1293
|
+
imageCatalog.adapters.map((item) => h('option', { key: item.id, value: item.id }, item.label || item.id))
|
|
1294
|
+
)));
|
|
1295
|
+
// Responses API 的顶层模型是「调度模型」,只有这个协议需要填。
|
|
1296
|
+
const hostModelField = draft.adapter === 'openai-responses'
|
|
1297
|
+
? h('div', { className: MC.field },
|
|
1298
|
+
h('label', { className: MC.fieldLabel }, t('form.hostModel')),
|
|
1299
|
+
h('input', {
|
|
1300
|
+
className: MC.input,
|
|
1301
|
+
value: draft.hostModel || 'gpt-5.2',
|
|
1302
|
+
placeholder: 'gpt-5.2',
|
|
1303
|
+
onChange: (e) => setDraft({ ...draft, hostModel: e.target.value })
|
|
1304
|
+
}),
|
|
1305
|
+
h('p', { className: MC.advancedHint, style: { margin: 0 } }, t('form.hostModelHint'))
|
|
1306
|
+
)
|
|
1307
|
+
: null;
|
|
1286
1308
|
const keyPlaceholder = isNew
|
|
1287
1309
|
? (draft.optionalKey ? t('form.keyLocalOptional') : t('form.keyEnter'))
|
|
1288
1310
|
: (props.provider.hasKey || props.provider.key
|
|
@@ -1320,12 +1342,240 @@ window.__ModuleLoader__.load({
|
|
|
1320
1342
|
const entry = draft.modelOptions[id];
|
|
1321
1343
|
return entry && typeof entry.workflow === 'string' ? entry.workflow : '';
|
|
1322
1344
|
};
|
|
1345
|
+
/** 统一改某个模型的选项:函数式更新,避免连续 setDraft 用同一份旧 draft 互相覆盖。 */
|
|
1346
|
+
const updateModelEntry = (id, mutate) => {
|
|
1347
|
+
setDraft((prev) => {
|
|
1348
|
+
const modelOptions = { ...prev.modelOptions };
|
|
1349
|
+
const entry = { ...(modelOptions[id] || {}) };
|
|
1350
|
+
mutate(entry);
|
|
1351
|
+
if (entry.workflow) modelOptions[id] = entry;
|
|
1352
|
+
else delete modelOptions[id];
|
|
1353
|
+
return { ...prev, modelOptions: modelOptions };
|
|
1354
|
+
});
|
|
1355
|
+
};
|
|
1323
1356
|
const setModelWorkflow = (id, workflow) => {
|
|
1324
|
-
const modelOptions = { ...draft.modelOptions };
|
|
1325
1357
|
const text = String(workflow || '');
|
|
1326
|
-
if (text.trim())
|
|
1327
|
-
|
|
1328
|
-
|
|
1358
|
+
if (!text.trim()) {
|
|
1359
|
+
setDraft((prev) => {
|
|
1360
|
+
const modelOptions = { ...prev.modelOptions };
|
|
1361
|
+
delete modelOptions[id];
|
|
1362
|
+
return { ...prev, modelOptions: modelOptions };
|
|
1363
|
+
});
|
|
1364
|
+
return;
|
|
1365
|
+
}
|
|
1366
|
+
updateModelEntry(id, (entry) => { entry.workflow = text; });
|
|
1367
|
+
};
|
|
1368
|
+
const setModelMapping = (id, mapping) => updateModelEntry(id, (entry) => {
|
|
1369
|
+
if (mapping) entry.mapping = mapping;
|
|
1370
|
+
else delete entry.mapping;
|
|
1371
|
+
});
|
|
1372
|
+
/** 解析出的可调参数逐项保存;没有 expose 字段表示暴露。 */
|
|
1373
|
+
const setModelParamsList = (id, params) => updateModelEntry(id, (entry) => {
|
|
1374
|
+
if (Array.isArray(params) && params.length) entry.params = params;
|
|
1375
|
+
else delete entry.params;
|
|
1376
|
+
});
|
|
1377
|
+
const paramsOf = (id, analysis) => {
|
|
1378
|
+
const entry = draft.modelOptions[id];
|
|
1379
|
+
if (entry && Array.isArray(entry.params) && entry.params.length) return entry.params;
|
|
1380
|
+
return Array.isArray(analysis && analysis.params) ? analysis.params : [];
|
|
1381
|
+
};
|
|
1382
|
+
/** 解析结果一次写进 draft。 */
|
|
1383
|
+
const applyAnalysis = (id, analysis) => updateModelEntry(id, (entry) => {
|
|
1384
|
+
if (analysis && analysis.mapping) entry.mapping = analysis.mapping;
|
|
1385
|
+
if (analysis && Array.isArray(analysis.params) && analysis.params.length) {
|
|
1386
|
+
entry.params = analysis.params;
|
|
1387
|
+
}
|
|
1388
|
+
});
|
|
1389
|
+
const toggleParam = (id, name, checked) => updateModelEntry(id, (entry) => {
|
|
1390
|
+
entry.expose = { ...(entry.expose || {}), [name]: !!checked };
|
|
1391
|
+
});
|
|
1392
|
+
/** 逐项暴露开关:没显式设过时,角色参数默认开、可调参数默认关。 */
|
|
1393
|
+
const exposedOf = (id, name, fallback) => {
|
|
1394
|
+
const entry = draft.modelOptions[id];
|
|
1395
|
+
const map = entry && entry.expose;
|
|
1396
|
+
if (map && Object.prototype.hasOwnProperty.call(map, name)) return map[name] !== false;
|
|
1397
|
+
return fallback;
|
|
1398
|
+
};
|
|
1399
|
+
/** 换绑:把某个参数指到同名的另一个输入上。 */
|
|
1400
|
+
const rebindParam = (id, analysis, name, node, input) => {
|
|
1401
|
+
const list = paramsOf(id, analysis).map((param) => (
|
|
1402
|
+
param.name === name ? { ...param, node: node, input: input } : { ...param }
|
|
1403
|
+
));
|
|
1404
|
+
setModelParamsList(id, list);
|
|
1405
|
+
};
|
|
1406
|
+
/** 把工作流交给宿主解析,结果原样留着给面板渲染。 */
|
|
1407
|
+
const analyzeModelWorkflow = async (id) => {
|
|
1408
|
+
const workflow = modelWorkflowOf(id);
|
|
1409
|
+
if (!workflow.trim()) return;
|
|
1410
|
+
setWorkflowAnalysis((prev) => ({ ...prev, [id]: { loading: true } }));
|
|
1411
|
+
try {
|
|
1412
|
+
const response = await fetch('/api/mo-image/comfy/analyze', {
|
|
1413
|
+
method: 'POST',
|
|
1414
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1415
|
+
body: JSON.stringify({
|
|
1416
|
+
providerId: isNew ? undefined : draft.id,
|
|
1417
|
+
baseUrl: draft.baseUrl.trim(),
|
|
1418
|
+
model: id,
|
|
1419
|
+
workflow: workflow
|
|
1420
|
+
}),
|
|
1421
|
+
signal: AbortSignal.timeout(60000)
|
|
1422
|
+
});
|
|
1423
|
+
const data = await response.json().catch(() => ({}));
|
|
1424
|
+
if (!data.ok) throw new Error(data.error || t('form.modelMappingFailed'));
|
|
1425
|
+
setWorkflowAnalysis((prev) => ({ ...prev, [id]: { loading: false, analysis: data } }));
|
|
1426
|
+
if (data.mapping) setMappingDraft((prev) => ({ ...prev, [id]: data.mapping }));
|
|
1427
|
+
// mapping 和 params 必须一次写进 draft:连着两次 setDraft 会互相覆盖。
|
|
1428
|
+
if (data.mapping || (Array.isArray(data.params) && data.params.length)) {
|
|
1429
|
+
applyAnalysis(id, data);
|
|
1430
|
+
}
|
|
1431
|
+
} catch (error) {
|
|
1432
|
+
setWorkflowAnalysis((prev) => ({
|
|
1433
|
+
...prev,
|
|
1434
|
+
[id]: { loading: false, error: String(error && error.message ? error.message : error) }
|
|
1435
|
+
}));
|
|
1436
|
+
}
|
|
1437
|
+
};
|
|
1438
|
+
/** 下拉里只显示输入名,节点 id 对用户没有意义。 */
|
|
1439
|
+
const mappingOptionLabel = (item) => (item ? item.input : '');
|
|
1440
|
+
/** 参数名走翻译;没有译文时退回原始名字。 */
|
|
1441
|
+
const paramLabel = (name) => {
|
|
1442
|
+
const key = 'param.' + name;
|
|
1443
|
+
const value = t(key);
|
|
1444
|
+
return value === key ? name : value;
|
|
1445
|
+
};
|
|
1446
|
+
/** 参数的悬停说明;没写说明的参数不显示问号。 */
|
|
1447
|
+
const paramHint = (name) => {
|
|
1448
|
+
const key = 'param.' + name + '.desc';
|
|
1449
|
+
const value = t(key);
|
|
1450
|
+
return value === key ? '' : value;
|
|
1451
|
+
};
|
|
1452
|
+
/** 默认对对话模型可见的参数,和服务端的 DEFAULT_EXPOSED 保持一致。 */
|
|
1453
|
+
const DEFAULT_EXPOSED = new Set(['prompt', 'negative_prompt', 'width', 'height']);
|
|
1454
|
+
const MAPPING_ROWS = [
|
|
1455
|
+
['prompt', 'form.modelMappingPrompt'],
|
|
1456
|
+
['negative_prompt', 'form.modelMappingNegative'],
|
|
1457
|
+
['width', 'form.modelMappingWidth'],
|
|
1458
|
+
['height', 'form.modelMappingHeight'],
|
|
1459
|
+
['seed', 'form.modelMappingSeed'],
|
|
1460
|
+
['model', 'form.modelMappingModel'],
|
|
1461
|
+
['image', 'form.modelMappingImage']
|
|
1462
|
+
];
|
|
1463
|
+
const mappingPanel = (id) => {
|
|
1464
|
+
const state = workflowAnalysis[id];
|
|
1465
|
+
if (!state || state.loading) return null;
|
|
1466
|
+
if (state.error) {
|
|
1467
|
+
return h('p', { className: MC.advancedHint, style: { gridColumn: '1 / -1', margin: 0 } },
|
|
1468
|
+
t('form.modelMappingFailed') + ':' + state.error);
|
|
1469
|
+
}
|
|
1470
|
+
const analysis = state.analysis || {};
|
|
1471
|
+
const candidates = analysis.candidates || {};
|
|
1472
|
+
const mapping = mappingDraft[id] || analysis.mapping || {};
|
|
1473
|
+
const warnings = Array.isArray(analysis.warnings) ? analysis.warnings : [];
|
|
1474
|
+
return h('div', { style: { gridColumn: '1 / -1', display: 'grid', gap: 8 } },
|
|
1475
|
+
h('p', { className: MC.advancedHint, style: { margin: 0 } },
|
|
1476
|
+
(analysis.format === 'ui' ? t('form.modelMappingFormatUi') : t('form.modelMappingFormatApi'))
|
|
1477
|
+
+ ' · ' + t('form.modelMappingSampler') + ' ' + (analysis.samplerId || '—')),
|
|
1478
|
+
...warnings.map((line, at) => h('p', { key: 'warn' + at, className: MC.advancedHint, style: { margin: 0, opacity: 0.8 } }, line)),
|
|
1479
|
+
(() => {
|
|
1480
|
+
const rows = [];
|
|
1481
|
+
for (const [key, labelKey] of MAPPING_ROWS) {
|
|
1482
|
+
const pool = Array.isArray(candidates[key]) ? candidates[key] : [];
|
|
1483
|
+
const current = mapping[key];
|
|
1484
|
+
if (!pool.length && !current) continue;
|
|
1485
|
+
rows.push({
|
|
1486
|
+
key, name: key, label: t(labelKey), role: true, allowSkip: true,
|
|
1487
|
+
value: current ? current.node + '::' + current.input : '',
|
|
1488
|
+
options: pool.slice(),
|
|
1489
|
+
onPick: (picked) => {
|
|
1490
|
+
const next = { ...(mappingDraft[id] || analysis.mapping || {}) };
|
|
1491
|
+
if (!picked) next[key] = null;
|
|
1492
|
+
else {
|
|
1493
|
+
const [node, input] = picked.split('::');
|
|
1494
|
+
next[key] = { node, input };
|
|
1495
|
+
}
|
|
1496
|
+
setMappingDraft((prev) => ({ ...prev, [id]: next }));
|
|
1497
|
+
setModelMapping(id, next);
|
|
1498
|
+
}
|
|
1499
|
+
});
|
|
1500
|
+
}
|
|
1501
|
+
// 角色参数由上面的 MAPPING_ROWS 渲染,这里只放可调参数,避免出现重复行。
|
|
1502
|
+
for (const param of paramsOf(id, analysis).filter((item) => item.role !== true)) {
|
|
1503
|
+
const options = Array.isArray(param.candidates) && param.candidates.length
|
|
1504
|
+
? param.candidates.slice()
|
|
1505
|
+
: [{ node: param.node, input: param.input }];
|
|
1506
|
+
rows.push({
|
|
1507
|
+
key: 'param-' + param.name, name: param.name, label: param.name,
|
|
1508
|
+
role: param.role === true, allowSkip: false,
|
|
1509
|
+
value: param.node + '::' + param.input,
|
|
1510
|
+
options,
|
|
1511
|
+
onPick: (picked) => {
|
|
1512
|
+
const [node, input] = picked.split('::');
|
|
1513
|
+
rebindParam(id, analysis, param.name, node, input);
|
|
1514
|
+
}
|
|
1515
|
+
});
|
|
1516
|
+
}
|
|
1517
|
+
const cell = {
|
|
1518
|
+
display: 'grid', gridTemplateColumns: 'minmax(88px, 1fr) 168px 76px',
|
|
1519
|
+
alignItems: 'center', gap: 8, minHeight: 32
|
|
1520
|
+
};
|
|
1521
|
+
return h('div', { style: { display: 'grid', gap: 4 } },
|
|
1522
|
+
h('div', { className: MC.advancedHint, style: Object.assign({}, cell, { minHeight: 0 }) },
|
|
1523
|
+
h('span', null, t('form.modelMappingColName')),
|
|
1524
|
+
h('span', null, t('form.modelMappingColTarget')),
|
|
1525
|
+
h('span', { style: { textAlign: 'right', whiteSpace: 'nowrap' } }, t('form.modelMappingColExpose'))),
|
|
1526
|
+
h('div', {
|
|
1527
|
+
style: {
|
|
1528
|
+
display: 'grid', gap: 4, maxHeight: 184,
|
|
1529
|
+
overflowY: 'auto', paddingRight: 2
|
|
1530
|
+
}
|
|
1531
|
+
}, ...rows.map((row) => {
|
|
1532
|
+
const list = row.options.map((item) => ({
|
|
1533
|
+
value: item.node + '::' + item.input,
|
|
1534
|
+
label: mappingOptionLabel(item)
|
|
1535
|
+
}));
|
|
1536
|
+
if (row.allowSkip) list.unshift({ value: '', label: t('form.modelMappingSkip') });
|
|
1537
|
+
if (row.value && !list.some((option) => option.value === row.value)) {
|
|
1538
|
+
list.push({ value: row.value, label: row.value.split('::')[1] });
|
|
1539
|
+
}
|
|
1540
|
+
const label = row.role ? row.label : paramLabel(row.name);
|
|
1541
|
+
const hint = row.role ? '' : paramHint(row.name);
|
|
1542
|
+
return h('div', { key: row.key, style: cell },
|
|
1543
|
+
h('span', {
|
|
1544
|
+
className: MC.modelFieldLabel,
|
|
1545
|
+
style: { margin: 0, display: 'flex', alignItems: 'center', gap: 4, minWidth: 0 }
|
|
1546
|
+
},
|
|
1547
|
+
h('span', { style: { overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' } }, label),
|
|
1548
|
+
hint ? h('span', {
|
|
1549
|
+
title: hint,
|
|
1550
|
+
'aria-label': hint,
|
|
1551
|
+
style: {
|
|
1552
|
+
width: 14, height: 14, flex: 'none', borderRadius: '50%',
|
|
1553
|
+
border: '1px solid currentColor', display: 'inline-flex',
|
|
1554
|
+
alignItems: 'center', justifyContent: 'center',
|
|
1555
|
+
fontSize: 10, lineHeight: 1, opacity: 0.55, cursor: 'help'
|
|
1556
|
+
}
|
|
1557
|
+
}, '?') : null),
|
|
1558
|
+
h('select', {
|
|
1559
|
+
className: MC.input + ' ' + MC.selectInput,
|
|
1560
|
+
style: { width: '100%', minWidth: 0 },
|
|
1561
|
+
value: row.value,
|
|
1562
|
+
onChange: (event) => row.onPick(event.target.value)
|
|
1563
|
+
}, list.map((option) => h('option', { key: option.value || 'none', value: option.value }, option.label))),
|
|
1564
|
+
h('input', {
|
|
1565
|
+
type: 'checkbox',
|
|
1566
|
+
checked: exposedOf(id, row.name, DEFAULT_EXPOSED.has(row.name)),
|
|
1567
|
+
'aria-label': label,
|
|
1568
|
+
style: {
|
|
1569
|
+
accentColor: 'var(--dsw-alias-state-business-primary, #3989f6)',
|
|
1570
|
+
width: 16, height: 16, flex: 'none', justifySelf: 'end'
|
|
1571
|
+
},
|
|
1572
|
+
onChange: (event) => toggleParam(id, row.name, event.target.checked)
|
|
1573
|
+
})
|
|
1574
|
+
);
|
|
1575
|
+
}))
|
|
1576
|
+
);
|
|
1577
|
+
})()
|
|
1578
|
+
);
|
|
1329
1579
|
};
|
|
1330
1580
|
// 没有自己的 ComfyUI 工作流时,先插一个能跑 SD/SDXL 的骨架,改起来比重写快。
|
|
1331
1581
|
const modelWorkflowTemplate = () => JSON.stringify({
|
|
@@ -1483,12 +1733,12 @@ window.__ModuleLoader__.load({
|
|
|
1483
1733
|
h('span', { className: MC.modelFieldLabel }, t('form.modelWorkflow')),
|
|
1484
1734
|
h('textarea', {
|
|
1485
1735
|
className: MC.input,
|
|
1486
|
-
rows:
|
|
1736
|
+
rows: 8,
|
|
1487
1737
|
spellCheck: false,
|
|
1488
1738
|
style: {
|
|
1489
1739
|
fontFamily: 'var(--ds-font-family-code, ui-monospace, monospace)',
|
|
1490
1740
|
fontSize: 13,
|
|
1491
|
-
minHeight:
|
|
1741
|
+
minHeight: 160,
|
|
1492
1742
|
resize: 'vertical'
|
|
1493
1743
|
},
|
|
1494
1744
|
value: modelWorkflowOf(model),
|
|
@@ -1504,10 +1754,14 @@ window.__ModuleLoader__.load({
|
|
|
1504
1754
|
onClick: () => setModelWorkflow(model, modelWorkflowTemplate())
|
|
1505
1755
|
}, t('form.modelWorkflowSample')),
|
|
1506
1756
|
modelWorkflowOf(model) ? h('button', {
|
|
1507
|
-
type: 'button', className: MC.
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1757
|
+
type: 'button', className: MC.secondaryButton,
|
|
1758
|
+
disabled: !!(workflowAnalysis[model] && workflowAnalysis[model].loading),
|
|
1759
|
+
onClick: () => analyzeModelWorkflow(model)
|
|
1760
|
+
}, workflowAnalysis[model] && workflowAnalysis[model].loading
|
|
1761
|
+
? t('form.modelMappingParsing')
|
|
1762
|
+
: t('form.modelMappingParse')) : null
|
|
1763
|
+
),
|
|
1764
|
+
mappingPanel(model)
|
|
1511
1765
|
) : null
|
|
1512
1766
|
)
|
|
1513
1767
|
);
|
|
@@ -1611,6 +1865,7 @@ window.__ModuleLoader__.load({
|
|
|
1611
1865
|
nameField,
|
|
1612
1866
|
urlField,
|
|
1613
1867
|
protocolField,
|
|
1868
|
+
hostModelField,
|
|
1614
1869
|
keyField,
|
|
1615
1870
|
modelDirectory
|
|
1616
1871
|
);
|
|
@@ -1652,6 +1907,7 @@ window.__ModuleLoader__.load({
|
|
|
1652
1907
|
nameField,
|
|
1653
1908
|
urlField,
|
|
1654
1909
|
protocolField,
|
|
1910
|
+
hostModelField,
|
|
1655
1911
|
modelDirectory
|
|
1656
1912
|
)
|
|
1657
1913
|
),
|
|
@@ -3086,6 +3342,9 @@ window.__ModuleLoader__.load({
|
|
|
3086
3342
|
"form.displayName": "显示名称",
|
|
3087
3343
|
"form.baseUrl": "API 地址",
|
|
3088
3344
|
"form.protocol": "API 协议",
|
|
3345
|
+
"form.protocolAuto": "自动识别",
|
|
3346
|
+
"form.hostModel": "调度模型",
|
|
3347
|
+
"form.hostModelHint": "Responses API 需要一个能调用生图工具的主模型。",
|
|
3089
3348
|
"form.apiKey": "API 密钥",
|
|
3090
3349
|
"form.keyLocalOptional": "本地无鉴权可留空",
|
|
3091
3350
|
"form.keyEnter": "输入 API 密钥",
|
|
@@ -3108,7 +3367,6 @@ window.__ModuleLoader__.load({
|
|
|
3108
3367
|
"form.modelWorkflowPlaceholder": "在 ComfyUI 里用「导出(API)」保存,把 JSON 粘到这里",
|
|
3109
3368
|
"form.modelWorkflowHelp": "可用占位符:{{prompt}}、{{negative_prompt}}、{{width}}、{{height}}、{{seed}}、{{model}}、{{image}}(图生图时自动换成上传的参考图)",
|
|
3110
3369
|
"form.modelOptionsDone": "收起",
|
|
3111
|
-
"form.modelWorkflowClear": "清除工作流",
|
|
3112
3370
|
"form.modelWorkflowSample": "插入示例模板",
|
|
3113
3371
|
"form.modelEmpty": "模型选择器中将不显示任何模型;请先在模型目录里添加模型 ID。",
|
|
3114
3372
|
"form.addModel": "添加模型",
|
|
@@ -3200,6 +3458,7 @@ window.__ModuleLoader__.load({
|
|
|
3200
3458
|
"serverError.provider.missingKey": "生图提供商「{provider}」缺少 API Key",
|
|
3201
3459
|
"serverError.provider.missingKeyWithRef": "生图提供商「{provider}」缺少 API Key(凭据 {ref})",
|
|
3202
3460
|
"serverError.models.unsupported": "该部署方式不支持获取模型列表",
|
|
3461
|
+
"serverError.models.notFound": "该地址没有模型列表接口(HTTP 404),请手动填写模型 ID",
|
|
3203
3462
|
"serverError.adapter.unknownProtocol": "暂不支持该生图协议:{protocol}(可用:{available})",
|
|
3204
3463
|
"serverError.adapter.notFound": "找不到生图适配器:{adapter}(可用:{available})",
|
|
3205
3464
|
"serverError.config.credentialsUnavailable": "凭据服务未挂载,无法安全保存 API Key",
|
|
@@ -3213,6 +3472,7 @@ window.__ModuleLoader__.load({
|
|
|
3213
3472
|
"quality.low": "低",
|
|
3214
3473
|
"quality.medium": "中",
|
|
3215
3474
|
"quality.high": "高",
|
|
3475
|
+
"quality.xhigh": "极高",
|
|
3216
3476
|
"quality.max": "最高",
|
|
3217
3477
|
"quality.auto": "自动",
|
|
3218
3478
|
"quality.standard": "标准",
|
|
@@ -3242,11 +3502,43 @@ window.__ModuleLoader__.load({
|
|
|
3242
3502
|
"update.doneRestart": "更新已完成,重启 DSH 后生效",
|
|
3243
3503
|
"update.done": "已更新到 {version}",
|
|
3244
3504
|
"update.failed": "更新未完成,请重试",
|
|
3505
|
+
"update.failedRestored": "更新安装失败,已装回原来的版本",
|
|
3506
|
+
"update.failedBroken": "更新安装失败,原版本也没能装回,请在插件管理里重新安装",
|
|
3245
3507
|
"update.unsupported": "当前环境不支持自助更新,请运行 {command}",
|
|
3246
3508
|
"update.localDev": "本地开发安装,请自行 git pull",
|
|
3247
|
-
"update.command": "dsh plugin add
|
|
3509
|
+
"update.command": "dsh plugin add dsh-mo-image@{tag}",
|
|
3248
3510
|
"update.viewRelease": "在 npm 查看",
|
|
3249
3511
|
"update.noNotes": "暂无更新说明",
|
|
3512
|
+
"form.modelMappingParse": "解析工作流",
|
|
3513
|
+
"form.modelMappingParsing": "解析中…",
|
|
3514
|
+
"form.modelMappingFailed": "解析失败",
|
|
3515
|
+
"form.modelMappingSkip": "不注入",
|
|
3516
|
+
"form.modelMappingFormatApi": "API 格式",
|
|
3517
|
+
"form.modelMappingFormatUi": "UI 格式",
|
|
3518
|
+
"form.modelMappingSampler": "采样器",
|
|
3519
|
+
"form.modelMappingPrompt": "提示词",
|
|
3520
|
+
"form.modelMappingNegative": "负面词",
|
|
3521
|
+
"form.modelMappingWidth": "宽度",
|
|
3522
|
+
"form.modelMappingHeight": "高度",
|
|
3523
|
+
"form.modelMappingSeed": "种子",
|
|
3524
|
+
"form.modelMappingModel": "模型",
|
|
3525
|
+
"form.modelMappingImage": "参考图",
|
|
3526
|
+
"form.modelMappingColName": "参数名",
|
|
3527
|
+
"form.modelMappingColTarget": "参数映射",
|
|
3528
|
+
"form.modelMappingColExpose": "是否暴露",
|
|
3529
|
+
"param.steps": "步数",
|
|
3530
|
+
"param.cfg": "提示词强度",
|
|
3531
|
+
"param.sampler_name": "采样器",
|
|
3532
|
+
"param.scheduler": "调度器",
|
|
3533
|
+
"param.denoise": "重绘幅度",
|
|
3534
|
+
"param.batch_size": "批量张数",
|
|
3535
|
+
"param.guidance": "引导强度",
|
|
3536
|
+
"param.cfg.desc": "提示词对画面的约束强度;过高画面僵硬,过低容易跑题",
|
|
3537
|
+
"param.sampler_name.desc": "采样算法,决定收敛方式和画面质感",
|
|
3538
|
+
"param.scheduler.desc": "噪声调度曲线,和采样器配合决定去噪节奏",
|
|
3539
|
+
"param.denoise.desc": "图生图时保留原图的程度;1 表示完全重绘",
|
|
3540
|
+
"param.batch_size.desc": "一次生成的图片数量,越大越占显存",
|
|
3541
|
+
"param.guidance.desc": "蒸馏模型的引导系数,通常固定在 1 附近",
|
|
3250
3542
|
},
|
|
3251
3543
|
"en": {
|
|
3252
3544
|
"nav": "Image models",
|
|
@@ -3265,6 +3557,9 @@ window.__ModuleLoader__.load({
|
|
|
3265
3557
|
"form.displayName": "Display name",
|
|
3266
3558
|
"form.baseUrl": "API URL",
|
|
3267
3559
|
"form.protocol": "API protocol",
|
|
3560
|
+
"form.protocolAuto": "Auto-detect",
|
|
3561
|
+
"form.hostModel": "Host model",
|
|
3562
|
+
"form.hostModelHint": "The Responses API needs a main model that can call the image tool.",
|
|
3268
3563
|
"form.apiKey": "API key",
|
|
3269
3564
|
"form.keyLocalOptional": "Optional for local services without auth",
|
|
3270
3565
|
"form.keyEnter": "Enter API key",
|
|
@@ -3287,7 +3582,6 @@ window.__ModuleLoader__.load({
|
|
|
3287
3582
|
"form.modelWorkflowPlaceholder": "In ComfyUI use Export (API), then paste the JSON here",
|
|
3288
3583
|
"form.modelWorkflowHelp": "Placeholders: {{prompt}}, {{negative_prompt}}, {{width}}, {{height}}, {{seed}}, {{model}}, {{image}} (replaced by the uploaded reference on image edit)",
|
|
3289
3584
|
"form.modelOptionsDone": "Done",
|
|
3290
|
-
"form.modelWorkflowClear": "Clear workflow",
|
|
3291
3585
|
"form.modelWorkflowSample": "Insert sample template",
|
|
3292
3586
|
"form.modelEmpty": "The model picker will be empty. Add at least one model ID to the catalog first.",
|
|
3293
3587
|
"form.addModel": "Add model",
|
|
@@ -3379,6 +3673,7 @@ window.__ModuleLoader__.load({
|
|
|
3379
3673
|
"serverError.provider.missingKey": "The image provider “{provider}” has no API key.",
|
|
3380
3674
|
"serverError.provider.missingKeyWithRef": "The image provider “{provider}” has no API key (credential {ref}).",
|
|
3381
3675
|
"serverError.models.unsupported": "This provider does not expose a model list.",
|
|
3676
|
+
"serverError.models.notFound": "This address has no model list endpoint (HTTP 404). Type the model ID manually.",
|
|
3382
3677
|
"serverError.adapter.unknownProtocol": "Unsupported image protocol: {protocol}. Available: {available}.",
|
|
3383
3678
|
"serverError.adapter.notFound": "Image adapter not found: {adapter}. Available: {available}.",
|
|
3384
3679
|
"serverError.config.credentialsUnavailable": "The credentials service is unavailable, so the API key cannot be stored securely.",
|
|
@@ -3392,6 +3687,7 @@ window.__ModuleLoader__.load({
|
|
|
3392
3687
|
"quality.low": "Low",
|
|
3393
3688
|
"quality.medium": "Medium",
|
|
3394
3689
|
"quality.high": "High",
|
|
3690
|
+
"quality.xhigh": "XHigh",
|
|
3395
3691
|
"quality.max": "Max",
|
|
3396
3692
|
"quality.auto": "Auto",
|
|
3397
3693
|
"quality.standard": "Standard",
|
|
@@ -3421,11 +3717,43 @@ window.__ModuleLoader__.load({
|
|
|
3421
3717
|
"update.doneRestart": "Update installed — restart DSH to apply",
|
|
3422
3718
|
"update.done": "Updated to {version}",
|
|
3423
3719
|
"update.failed": "Update did not finish — try again",
|
|
3720
|
+
"update.failedRestored": "The update failed — the previous version was restored",
|
|
3721
|
+
"update.failedBroken": "The update failed and the previous version was not restored — reinstall it from plugin management",
|
|
3424
3722
|
"update.unsupported": "This environment cannot self-update; run {command}",
|
|
3425
3723
|
"update.localDev": "Local development install — run git pull yourself",
|
|
3426
|
-
"update.command": "dsh plugin add
|
|
3724
|
+
"update.command": "dsh plugin add dsh-mo-image@{tag}",
|
|
3427
3725
|
"update.viewRelease": "View on npm",
|
|
3428
3726
|
"update.noNotes": "This release has no notes.",
|
|
3727
|
+
"form.modelMappingParse": "Parse workflow",
|
|
3728
|
+
"form.modelMappingParsing": "Parsing…",
|
|
3729
|
+
"form.modelMappingFailed": "Parsing failed",
|
|
3730
|
+
"form.modelMappingSkip": "Do not inject",
|
|
3731
|
+
"form.modelMappingFormatApi": "API format",
|
|
3732
|
+
"form.modelMappingFormatUi": "UI format",
|
|
3733
|
+
"form.modelMappingSampler": "Sampler",
|
|
3734
|
+
"form.modelMappingPrompt": "Prompt",
|
|
3735
|
+
"form.modelMappingNegative": "Negative prompt",
|
|
3736
|
+
"form.modelMappingWidth": "Width",
|
|
3737
|
+
"form.modelMappingHeight": "Height",
|
|
3738
|
+
"form.modelMappingSeed": "Seed",
|
|
3739
|
+
"form.modelMappingModel": "Model",
|
|
3740
|
+
"form.modelMappingImage": "Reference image",
|
|
3741
|
+
"form.modelMappingColName": "Parameter",
|
|
3742
|
+
"form.modelMappingColTarget": "Mapping",
|
|
3743
|
+
"form.modelMappingColExpose": "Exposed",
|
|
3744
|
+
"param.steps": "Steps",
|
|
3745
|
+
"param.cfg": "CFG scale",
|
|
3746
|
+
"param.sampler_name": "Sampler",
|
|
3747
|
+
"param.scheduler": "Scheduler",
|
|
3748
|
+
"param.denoise": "Denoise",
|
|
3749
|
+
"param.batch_size": "Batch size",
|
|
3750
|
+
"param.guidance": "Guidance",
|
|
3751
|
+
"param.cfg.desc": "How strongly the prompt constrains the image; too high looks stiff, too low drifts off topic",
|
|
3752
|
+
"param.sampler_name.desc": "Sampling algorithm that decides convergence and texture",
|
|
3753
|
+
"param.scheduler.desc": "Noise schedule; with the sampler it sets the denoising rhythm",
|
|
3754
|
+
"param.denoise.desc": "How much of the source image is kept in image-to-image; 1 redraws it completely",
|
|
3755
|
+
"param.batch_size.desc": "Images generated per run; larger values use more VRAM",
|
|
3756
|
+
"param.guidance.desc": "Guidance scale for distilled models, usually close to 1",
|
|
3429
3757
|
},
|
|
3430
3758
|
"ja": {
|
|
3431
3759
|
"nav": "画像生成モデル",
|
|
@@ -3444,6 +3772,9 @@ window.__ModuleLoader__.load({
|
|
|
3444
3772
|
"form.displayName": "表示名",
|
|
3445
3773
|
"form.baseUrl": "API URL",
|
|
3446
3774
|
"form.protocol": "API プロトコル",
|
|
3775
|
+
"form.protocolAuto": "自動判別",
|
|
3776
|
+
"form.hostModel": "ホストモデル",
|
|
3777
|
+
"form.hostModelHint": "Responses API では画像ツールを呼び出せるメインモデルが必要です。",
|
|
3447
3778
|
"form.apiKey": "API キー",
|
|
3448
3779
|
"form.keyLocalOptional": "認証なしのローカルサービスでは空欄可",
|
|
3449
3780
|
"form.keyEnter": "API キーを入力",
|
|
@@ -3466,7 +3797,6 @@ window.__ModuleLoader__.load({
|
|
|
3466
3797
|
"form.modelWorkflowPlaceholder": "ComfyUI で「エクスポート(API)」して JSON をここに貼り付け",
|
|
3467
3798
|
"form.modelWorkflowHelp": "利用できるプレースホルダー:{{prompt}}、{{negative_prompt}}、{{width}}、{{height}}、{{seed}}、{{model}}、{{image}}(画像編集時はアップロードした参照画像に置き換わります)",
|
|
3468
3799
|
"form.modelOptionsDone": "閉じる",
|
|
3469
|
-
"form.modelWorkflowClear": "ワークフローを消去",
|
|
3470
3800
|
"form.modelWorkflowSample": "サンプルを挿入",
|
|
3471
3801
|
"form.modelEmpty": "モデル選択には何も表示されません。先にモデルカタログへモデル ID を追加してください。",
|
|
3472
3802
|
"form.addModel": "モデルを追加",
|
|
@@ -3558,6 +3888,7 @@ window.__ModuleLoader__.load({
|
|
|
3558
3888
|
"serverError.provider.missingKey": "画像プロバイダー「{provider}」に API キーがありません。",
|
|
3559
3889
|
"serverError.provider.missingKeyWithRef": "画像プロバイダー「{provider}」に API キーがありません(認証情報 {ref})。",
|
|
3560
3890
|
"serverError.models.unsupported": "このデプロイ方法ではモデル一覧を取得できません。",
|
|
3891
|
+
"serverError.models.notFound": "このアドレスにはモデル一覧の API がありません(HTTP 404)。モデル ID を手動で入力してください。",
|
|
3561
3892
|
"serverError.adapter.unknownProtocol": "未対応の画像プロトコルです:{protocol}(利用可能:{available})",
|
|
3562
3893
|
"serverError.adapter.notFound": "画像アダプターが見つかりません:{adapter}(利用可能:{available})",
|
|
3563
3894
|
"serverError.config.credentialsUnavailable": "認証情報サービスが利用できないため、API キーを安全に保存できません。",
|
|
@@ -3571,6 +3902,7 @@ window.__ModuleLoader__.load({
|
|
|
3571
3902
|
"quality.low": "低",
|
|
3572
3903
|
"quality.medium": "中",
|
|
3573
3904
|
"quality.high": "高",
|
|
3905
|
+
"quality.xhigh": "極高",
|
|
3574
3906
|
"quality.max": "最大",
|
|
3575
3907
|
"quality.auto": "自動",
|
|
3576
3908
|
"quality.standard": "標準",
|
|
@@ -3600,11 +3932,43 @@ window.__ModuleLoader__.load({
|
|
|
3600
3932
|
"update.doneRestart": "更新が完了しました。DSH を再起動すると有効になります",
|
|
3601
3933
|
"update.done": "{version} に更新しました",
|
|
3602
3934
|
"update.failed": "更新が完了しませんでした。もう一度お試しください",
|
|
3935
|
+
"update.failedRestored": "更新のインストールに失敗しました。元のバージョンに戻しました",
|
|
3936
|
+
"update.failedBroken": "更新のインストールに失敗し、元のバージョンにも戻せませんでした。プラグイン管理から再インストールしてください",
|
|
3603
3937
|
"update.unsupported": "この環境では自動更新できません。{command} を実行してください",
|
|
3604
3938
|
"update.localDev": "ローカル開発用のインストールです。git pull を実行してください",
|
|
3605
|
-
"update.command": "dsh plugin add
|
|
3939
|
+
"update.command": "dsh plugin add dsh-mo-image@{tag}",
|
|
3606
3940
|
"update.viewRelease": "npm で見る",
|
|
3607
3941
|
"update.noNotes": "このリリースには説明がありません。",
|
|
3942
|
+
"form.modelMappingParse": "ワークフローを解析",
|
|
3943
|
+
"form.modelMappingParsing": "解析中…",
|
|
3944
|
+
"form.modelMappingFailed": "解析に失敗しました",
|
|
3945
|
+
"form.modelMappingSkip": "注入しない",
|
|
3946
|
+
"form.modelMappingFormatApi": "API 形式",
|
|
3947
|
+
"form.modelMappingFormatUi": "UI 形式",
|
|
3948
|
+
"form.modelMappingSampler": "サンプラー",
|
|
3949
|
+
"form.modelMappingPrompt": "プロンプト",
|
|
3950
|
+
"form.modelMappingNegative": "ネガティブプロンプト",
|
|
3951
|
+
"form.modelMappingWidth": "幅",
|
|
3952
|
+
"form.modelMappingHeight": "高さ",
|
|
3953
|
+
"form.modelMappingSeed": "シード",
|
|
3954
|
+
"form.modelMappingModel": "モデル",
|
|
3955
|
+
"form.modelMappingImage": "参照画像",
|
|
3956
|
+
"form.modelMappingColName": "パラメータ",
|
|
3957
|
+
"form.modelMappingColTarget": "マッピング",
|
|
3958
|
+
"form.modelMappingColExpose": "公開",
|
|
3959
|
+
"param.steps": "ステップ数",
|
|
3960
|
+
"param.cfg": "プロンプト強度",
|
|
3961
|
+
"param.sampler_name": "サンプラー",
|
|
3962
|
+
"param.scheduler": "スケジューラー",
|
|
3963
|
+
"param.denoise": "再描画量",
|
|
3964
|
+
"param.batch_size": "バッチ数",
|
|
3965
|
+
"param.guidance": "ガイダンス強度",
|
|
3966
|
+
"param.cfg.desc": "プロンプトが画像を拘束する強さ。高すぎると硬く、低すぎると意図から外れる",
|
|
3967
|
+
"param.sampler_name.desc": "収束の仕方と質感を決めるサンプリングアルゴリズム",
|
|
3968
|
+
"param.scheduler.desc": "ノイズのスケジュール。サンプラーと組で除去のリズムを決める",
|
|
3969
|
+
"param.denoise.desc": "画像から画像で元画像を残す度合い。1 は完全な再描画",
|
|
3970
|
+
"param.batch_size.desc": "一度に生成する枚数。大きいほど VRAM を使う",
|
|
3971
|
+
"param.guidance.desc": "蒸留モデルのガイダンス係数。通常は 1 付近",
|
|
3608
3972
|
},
|
|
3609
3973
|
"es": {
|
|
3610
3974
|
"nav": "Modelos de imagen",
|
|
@@ -3623,6 +3987,9 @@ window.__ModuleLoader__.load({
|
|
|
3623
3987
|
"form.displayName": "Nombre visible",
|
|
3624
3988
|
"form.baseUrl": "URL de la API",
|
|
3625
3989
|
"form.protocol": "Protocolo de API",
|
|
3990
|
+
"form.protocolAuto": "Detección automática",
|
|
3991
|
+
"form.hostModel": "Modelo anfitrión",
|
|
3992
|
+
"form.hostModelHint": "La API Responses necesita un modelo principal que pueda llamar a la herramienta de imagen.",
|
|
3626
3993
|
"form.apiKey": "Clave de API",
|
|
3627
3994
|
"form.keyLocalOptional": "Opcional para servicios locales sin autenticación",
|
|
3628
3995
|
"form.keyEnter": "Introduce la clave de API",
|
|
@@ -3645,7 +4012,6 @@ window.__ModuleLoader__.load({
|
|
|
3645
4012
|
"form.modelWorkflowPlaceholder": "En ComfyUI usa Exportar (API) y pega el JSON aquí",
|
|
3646
4013
|
"form.modelWorkflowHelp": "Marcadores: {{prompt}}, {{negative_prompt}}, {{width}}, {{height}}, {{seed}}, {{model}}, {{image}} (se sustituye por la referencia subida al editar)",
|
|
3647
4014
|
"form.modelOptionsDone": "Listo",
|
|
3648
|
-
"form.modelWorkflowClear": "Borrar flujo de trabajo",
|
|
3649
4015
|
"form.modelWorkflowSample": "Insertar plantilla de ejemplo",
|
|
3650
4016
|
"form.modelEmpty": "El selector de modelos estará vacío. Añade primero al menos un ID de modelo al catálogo.",
|
|
3651
4017
|
"form.addModel": "Añadir modelo",
|
|
@@ -3737,6 +4103,7 @@ window.__ModuleLoader__.load({
|
|
|
3737
4103
|
"serverError.provider.missingKey": "El proveedor de imágenes «{provider}» no tiene clave de API.",
|
|
3738
4104
|
"serverError.provider.missingKeyWithRef": "El proveedor de imágenes «{provider}» no tiene clave de API (credencial {ref}).",
|
|
3739
4105
|
"serverError.models.unsupported": "Este proveedor no ofrece una lista de modelos.",
|
|
4106
|
+
"serverError.models.notFound": "Esta dirección no tiene un endpoint de lista de modelos (HTTP 404). Escribe el ID del modelo manualmente.",
|
|
3740
4107
|
"serverError.adapter.unknownProtocol": "Protocolo de imagen no compatible: {protocol}. Disponibles: {available}.",
|
|
3741
4108
|
"serverError.adapter.notFound": "No se encontró el adaptador de imágenes: {adapter}. Disponibles: {available}.",
|
|
3742
4109
|
"serverError.config.credentialsUnavailable": "El servicio de credenciales no está disponible, así que la clave de API no se puede guardar de forma segura.",
|
|
@@ -3750,6 +4117,7 @@ window.__ModuleLoader__.load({
|
|
|
3750
4117
|
"quality.low": "Baja",
|
|
3751
4118
|
"quality.medium": "Media",
|
|
3752
4119
|
"quality.high": "Alta",
|
|
4120
|
+
"quality.xhigh": "Muy alta",
|
|
3753
4121
|
"quality.max": "Máxima",
|
|
3754
4122
|
"quality.auto": "Automática",
|
|
3755
4123
|
"quality.standard": "Estándar",
|
|
@@ -3779,11 +4147,43 @@ window.__ModuleLoader__.load({
|
|
|
3779
4147
|
"update.doneRestart": "Actualización instalada. Reinicia DSH para aplicarla",
|
|
3780
4148
|
"update.done": "Actualizado a {version}",
|
|
3781
4149
|
"update.failed": "La actualización no terminó. Inténtalo de nuevo",
|
|
4150
|
+
"update.failedRestored": "La actualización falló; se restauró la versión anterior",
|
|
4151
|
+
"update.failedBroken": "La actualización falló y no se restauró la versión anterior; reinstálala desde la gestión de complementos",
|
|
3782
4152
|
"update.unsupported": "Este entorno no admite la actualización automática; ejecuta {command}",
|
|
3783
4153
|
"update.localDev": "Instalación de desarrollo local: ejecuta git pull",
|
|
3784
|
-
"update.command": "dsh plugin add
|
|
4154
|
+
"update.command": "dsh plugin add dsh-mo-image@{tag}",
|
|
3785
4155
|
"update.viewRelease": "Ver en npm",
|
|
3786
4156
|
"update.noNotes": "Esta versión no tiene notas.",
|
|
4157
|
+
"form.modelMappingParse": "Analizar flujo de trabajo",
|
|
4158
|
+
"form.modelMappingParsing": "Analizando…",
|
|
4159
|
+
"form.modelMappingFailed": "No se pudo analizar",
|
|
4160
|
+
"form.modelMappingSkip": "No inyectar",
|
|
4161
|
+
"form.modelMappingFormatApi": "Formato API",
|
|
4162
|
+
"form.modelMappingFormatUi": "Formato UI",
|
|
4163
|
+
"form.modelMappingSampler": "Muestreador",
|
|
4164
|
+
"form.modelMappingPrompt": "Prompt",
|
|
4165
|
+
"form.modelMappingNegative": "Prompt negativo",
|
|
4166
|
+
"form.modelMappingWidth": "Ancho",
|
|
4167
|
+
"form.modelMappingHeight": "Alto",
|
|
4168
|
+
"form.modelMappingSeed": "Semilla",
|
|
4169
|
+
"form.modelMappingModel": "Modelo",
|
|
4170
|
+
"form.modelMappingImage": "Imagen de referencia",
|
|
4171
|
+
"form.modelMappingColName": "Parámetro",
|
|
4172
|
+
"form.modelMappingColTarget": "Mapeo",
|
|
4173
|
+
"form.modelMappingColExpose": "Expuesto",
|
|
4174
|
+
"param.steps": "Pasos",
|
|
4175
|
+
"param.cfg": "Intensidad del prompt",
|
|
4176
|
+
"param.sampler_name": "Muestreador",
|
|
4177
|
+
"param.scheduler": "Planificador",
|
|
4178
|
+
"param.denoise": "Redibujado",
|
|
4179
|
+
"param.batch_size": "Tamaño de lote",
|
|
4180
|
+
"param.guidance": "Intensidad de guía",
|
|
4181
|
+
"param.cfg.desc": "Cuánto constriñe el prompt la imagen; demasiado alto la vuelve rígida, demasiado bajo se desvía",
|
|
4182
|
+
"param.sampler_name.desc": "Algoritmo de muestreo que decide la convergencia y la textura",
|
|
4183
|
+
"param.scheduler.desc": "Curva de ruido; junto al muestreador marca el ritmo de eliminación de ruido",
|
|
4184
|
+
"param.denoise.desc": "Cuánto de la imagen original se conserva; 1 la redibuja por completo",
|
|
4185
|
+
"param.batch_size.desc": "Imágenes por ejecución; valores mayores usan más VRAM",
|
|
4186
|
+
"param.guidance.desc": "Escala de guía para modelos destilados, normalmente cerca de 1",
|
|
3787
4187
|
},
|
|
3788
4188
|
"fr": {
|
|
3789
4189
|
"nav": "Modèles d'image",
|
|
@@ -3802,6 +4202,9 @@ window.__ModuleLoader__.load({
|
|
|
3802
4202
|
"form.displayName": "Nom affiché",
|
|
3803
4203
|
"form.baseUrl": "URL de l'API",
|
|
3804
4204
|
"form.protocol": "Protocole d'API",
|
|
4205
|
+
"form.protocolAuto": "Détection automatique",
|
|
4206
|
+
"form.hostModel": "Modèle hôte",
|
|
4207
|
+
"form.hostModelHint": "L'API Responses nécessite un modèle principal capable d'appeler l'outil d'image.",
|
|
3805
4208
|
"form.apiKey": "Clé d'API",
|
|
3806
4209
|
"form.keyLocalOptional": "Facultatif pour un service local sans authentification",
|
|
3807
4210
|
"form.keyEnter": "Saisissez la clé d'API",
|
|
@@ -3824,7 +4227,6 @@ window.__ModuleLoader__.load({
|
|
|
3824
4227
|
"form.modelWorkflowPlaceholder": "Dans ComfyUI, utilisez Exporter (API) puis collez le JSON ici",
|
|
3825
4228
|
"form.modelWorkflowHelp": "Variables : {{prompt}}, {{negative_prompt}}, {{width}}, {{height}}, {{seed}}, {{model}}, {{image}} (remplacé par l'image de référence envoyée lors de l'édition)",
|
|
3826
4229
|
"form.modelOptionsDone": "Terminé",
|
|
3827
|
-
"form.modelWorkflowClear": "Effacer le workflow",
|
|
3828
4230
|
"form.modelWorkflowSample": "Insérer un modèle d’exemple",
|
|
3829
4231
|
"form.modelEmpty": "Le sélecteur de modèles sera vide. Ajoutez d'abord au moins un ID de modèle au catalogue.",
|
|
3830
4232
|
"form.addModel": "Ajouter un modèle",
|
|
@@ -3916,6 +4318,7 @@ window.__ModuleLoader__.load({
|
|
|
3916
4318
|
"serverError.provider.missingKey": "Le fournisseur d'images « {provider} » n'a pas de clé d'API.",
|
|
3917
4319
|
"serverError.provider.missingKeyWithRef": "Le fournisseur d'images « {provider} » n'a pas de clé d'API (identifiant {ref}).",
|
|
3918
4320
|
"serverError.models.unsupported": "Ce fournisseur n'expose pas de liste de modèles.",
|
|
4321
|
+
"serverError.models.notFound": "Cette adresse n'a pas d'endpoint de liste de modèles (HTTP 404). Saisissez l'ID du modèle manuellement.",
|
|
3919
4322
|
"serverError.adapter.unknownProtocol": "Protocole d'image non pris en charge : {protocol}. Disponibles : {available}.",
|
|
3920
4323
|
"serverError.adapter.notFound": "Adaptateur d'images introuvable : {adapter}. Disponibles : {available}.",
|
|
3921
4324
|
"serverError.config.credentialsUnavailable": "Le service d'identifiants n'est pas disponible ; la clé d'API ne peut pas être stockée en toute sécurité.",
|
|
@@ -3929,6 +4332,7 @@ window.__ModuleLoader__.load({
|
|
|
3929
4332
|
"quality.low": "Basse",
|
|
3930
4333
|
"quality.medium": "Moyenne",
|
|
3931
4334
|
"quality.high": "Haute",
|
|
4335
|
+
"quality.xhigh": "Très haute",
|
|
3932
4336
|
"quality.max": "Maximale",
|
|
3933
4337
|
"quality.auto": "Automatique",
|
|
3934
4338
|
"quality.standard": "Standard",
|
|
@@ -3958,11 +4362,43 @@ window.__ModuleLoader__.load({
|
|
|
3958
4362
|
"update.doneRestart": "Mise à jour installée — redémarrez DSH pour l'appliquer",
|
|
3959
4363
|
"update.done": "Mis à jour vers {version}",
|
|
3960
4364
|
"update.failed": "La mise à jour ne s'est pas terminée — réessayez",
|
|
4365
|
+
"update.failedRestored": "La mise à jour a échoué ; la version précédente a été restaurée",
|
|
4366
|
+
"update.failedBroken": "La mise à jour a échoué et la version précédente n'a pas été restaurée ; réinstallez le greffon depuis la gestion des plugins",
|
|
3961
4367
|
"update.unsupported": "Cet environnement ne permet pas la mise à jour automatique ; exécutez {command}",
|
|
3962
4368
|
"update.localDev": "Installation de développement local — lancez git pull",
|
|
3963
|
-
"update.command": "dsh plugin add
|
|
4369
|
+
"update.command": "dsh plugin add dsh-mo-image@{tag}",
|
|
3964
4370
|
"update.viewRelease": "Voir sur npm",
|
|
3965
4371
|
"update.noNotes": "Cette version n'a pas de notes.",
|
|
4372
|
+
"form.modelMappingParse": "Analyser le workflow",
|
|
4373
|
+
"form.modelMappingParsing": "Analyse…",
|
|
4374
|
+
"form.modelMappingFailed": "Analyse impossible",
|
|
4375
|
+
"form.modelMappingSkip": "Ne pas injecter",
|
|
4376
|
+
"form.modelMappingFormatApi": "Format API",
|
|
4377
|
+
"form.modelMappingFormatUi": "Format UI",
|
|
4378
|
+
"form.modelMappingSampler": "Sampler",
|
|
4379
|
+
"form.modelMappingPrompt": "Prompt",
|
|
4380
|
+
"form.modelMappingNegative": "Prompt négatif",
|
|
4381
|
+
"form.modelMappingWidth": "Largeur",
|
|
4382
|
+
"form.modelMappingHeight": "Hauteur",
|
|
4383
|
+
"form.modelMappingSeed": "Graine",
|
|
4384
|
+
"form.modelMappingModel": "Modèle",
|
|
4385
|
+
"form.modelMappingImage": "Image de référence",
|
|
4386
|
+
"form.modelMappingColName": "Paramètre",
|
|
4387
|
+
"form.modelMappingColTarget": "Correspondance",
|
|
4388
|
+
"form.modelMappingColExpose": "Exposé",
|
|
4389
|
+
"param.steps": "Étapes",
|
|
4390
|
+
"param.cfg": "Intensité du prompt",
|
|
4391
|
+
"param.sampler_name": "Échantillonneur",
|
|
4392
|
+
"param.scheduler": "Planificateur",
|
|
4393
|
+
"param.denoise": "Redessin",
|
|
4394
|
+
"param.batch_size": "Taille du lot",
|
|
4395
|
+
"param.guidance": "Intensité du guidage",
|
|
4396
|
+
"param.cfg.desc": "Force avec laquelle le prompt contraint l’image ; trop élevé fige, trop bas dérive",
|
|
4397
|
+
"param.sampler_name.desc": "Algorithme d’échantillonnage qui décide de la convergence et de la texture",
|
|
4398
|
+
"param.scheduler.desc": "Courbe de bruit ; avec l’échantillonneur, règle le rythme de débruitage",
|
|
4399
|
+
"param.denoise.desc": "Part de l’image d’origine conservée ; 1 la redessine entièrement",
|
|
4400
|
+
"param.batch_size.desc": "Nombre d’images par exécution ; plus grand consomme plus de VRAM",
|
|
4401
|
+
"param.guidance.desc": "Échelle de guidage des modèles distillés, généralement proche de 1",
|
|
3966
4402
|
},
|
|
3967
4403
|
"de": {
|
|
3968
4404
|
"nav": "Bildmodelle",
|
|
@@ -3981,6 +4417,9 @@ window.__ModuleLoader__.load({
|
|
|
3981
4417
|
"form.displayName": "Anzeigename",
|
|
3982
4418
|
"form.baseUrl": "API-URL",
|
|
3983
4419
|
"form.protocol": "API-Protokoll",
|
|
4420
|
+
"form.protocolAuto": "Automatisch erkennen",
|
|
4421
|
+
"form.hostModel": "Host-Modell",
|
|
4422
|
+
"form.hostModelHint": "Die Responses-API benötigt ein Hauptmodell, das das Bildwerkzeug aufrufen kann.",
|
|
3984
4423
|
"form.apiKey": "API-Schlüssel",
|
|
3985
4424
|
"form.keyLocalOptional": "Optional für lokale Dienste ohne Authentifizierung",
|
|
3986
4425
|
"form.keyEnter": "API-Schlüssel eingeben",
|
|
@@ -4003,7 +4442,6 @@ window.__ModuleLoader__.load({
|
|
|
4003
4442
|
"form.modelWorkflowPlaceholder": "In ComfyUI „Exportieren (API)\" nutzen und das JSON hier einfügen",
|
|
4004
4443
|
"form.modelWorkflowHelp": "Platzhalter: {{prompt}}, {{negative_prompt}}, {{width}}, {{height}}, {{seed}}, {{model}}, {{image}} (wird beim Bearbeiten durch das hochgeladene Referenzbild ersetzt)",
|
|
4005
4444
|
"form.modelOptionsDone": "Fertig",
|
|
4006
|
-
"form.modelWorkflowClear": "Workflow löschen",
|
|
4007
4445
|
"form.modelWorkflowSample": "Beispiel einfügen",
|
|
4008
4446
|
"form.modelEmpty": "Die Modellauswahl bleibt leer. Fügen Sie zuerst mindestens eine Modell-ID zum Katalog hinzu.",
|
|
4009
4447
|
"form.addModel": "Modell hinzufügen",
|
|
@@ -4095,6 +4533,7 @@ window.__ModuleLoader__.load({
|
|
|
4095
4533
|
"serverError.provider.missingKey": "Der Bildanbieter „{provider}“ hat keinen API-Schlüssel.",
|
|
4096
4534
|
"serverError.provider.missingKeyWithRef": "Der Bildanbieter „{provider}“ hat keinen API-Schlüssel (Anmeldedaten {ref}).",
|
|
4097
4535
|
"serverError.models.unsupported": "Dieser Anbieter stellt keine Modellliste bereit.",
|
|
4536
|
+
"serverError.models.notFound": "Diese Adresse hat keinen Modelllisten-Endpunkt (HTTP 404). Geben Sie die Modell-ID manuell ein.",
|
|
4098
4537
|
"serverError.adapter.unknownProtocol": "Nicht unterstütztes Bildprotokoll: {protocol}. Verfügbar: {available}.",
|
|
4099
4538
|
"serverError.adapter.notFound": "Bildadapter nicht gefunden: {adapter}. Verfügbar: {available}.",
|
|
4100
4539
|
"serverError.config.credentialsUnavailable": "Der Anmeldedatendienst ist nicht verfügbar; der API-Schlüssel kann nicht sicher gespeichert werden.",
|
|
@@ -4108,6 +4547,7 @@ window.__ModuleLoader__.load({
|
|
|
4108
4547
|
"quality.low": "Niedrig",
|
|
4109
4548
|
"quality.medium": "Mittel",
|
|
4110
4549
|
"quality.high": "Hoch",
|
|
4550
|
+
"quality.xhigh": "Sehr hoch",
|
|
4111
4551
|
"quality.max": "Maximal",
|
|
4112
4552
|
"quality.auto": "Automatisch",
|
|
4113
4553
|
"quality.standard": "Standard",
|
|
@@ -4137,11 +4577,43 @@ window.__ModuleLoader__.load({
|
|
|
4137
4577
|
"update.doneRestart": "Update installiert – DSH neu starten, um es anzuwenden",
|
|
4138
4578
|
"update.done": "Auf {version} aktualisiert",
|
|
4139
4579
|
"update.failed": "Das Update wurde nicht abgeschlossen – bitte erneut versuchen",
|
|
4580
|
+
"update.failedRestored": "Das Update ist fehlgeschlagen – die vorherige Version wurde wiederhergestellt",
|
|
4581
|
+
"update.failedBroken": "Das Update ist fehlgeschlagen und die vorherige Version wurde nicht wiederhergestellt – installieren Sie das Plugin über die Plugin-Verwaltung neu",
|
|
4140
4582
|
"update.unsupported": "Diese Umgebung kann sich nicht selbst aktualisieren; führen Sie {command} aus",
|
|
4141
4583
|
"update.localDev": "Lokale Entwicklungsinstallation – bitte selbst git pull ausführen",
|
|
4142
|
-
"update.command": "dsh plugin add
|
|
4584
|
+
"update.command": "dsh plugin add dsh-mo-image@{tag}",
|
|
4143
4585
|
"update.viewRelease": "Auf npm ansehen",
|
|
4144
4586
|
"update.noNotes": "Diese Version hat keine Hinweise.",
|
|
4587
|
+
"form.modelMappingParse": "Workflow analysieren",
|
|
4588
|
+
"form.modelMappingParsing": "Analysiere…",
|
|
4589
|
+
"form.modelMappingFailed": "Analyse fehlgeschlagen",
|
|
4590
|
+
"form.modelMappingSkip": "Nicht einsetzen",
|
|
4591
|
+
"form.modelMappingFormatApi": "API-Format",
|
|
4592
|
+
"form.modelMappingFormatUi": "UI-Format",
|
|
4593
|
+
"form.modelMappingSampler": "Sampler",
|
|
4594
|
+
"form.modelMappingPrompt": "Prompt",
|
|
4595
|
+
"form.modelMappingNegative": "Negativ-Prompt",
|
|
4596
|
+
"form.modelMappingWidth": "Breite",
|
|
4597
|
+
"form.modelMappingHeight": "Höhe",
|
|
4598
|
+
"form.modelMappingSeed": "Seed",
|
|
4599
|
+
"form.modelMappingModel": "Modell",
|
|
4600
|
+
"form.modelMappingImage": "Referenzbild",
|
|
4601
|
+
"form.modelMappingColName": "Parameter",
|
|
4602
|
+
"form.modelMappingColTarget": "Zuordnung",
|
|
4603
|
+
"form.modelMappingColExpose": "Freigeben",
|
|
4604
|
+
"param.steps": "Schritte",
|
|
4605
|
+
"param.cfg": "Prompt-Stärke",
|
|
4606
|
+
"param.sampler_name": "Sampler",
|
|
4607
|
+
"param.scheduler": "Scheduler",
|
|
4608
|
+
"param.denoise": "Neuzeichnen",
|
|
4609
|
+
"param.batch_size": "Stapelgröße",
|
|
4610
|
+
"param.guidance": "Führungsstärke",
|
|
4611
|
+
"param.cfg.desc": "Wie stark der Prompt das Bild bestimmt; zu hoch wirkt starr, zu niedrig schweift ab",
|
|
4612
|
+
"param.sampler_name.desc": "Sampling-Algorithmus, der Konvergenz und Textur bestimmt",
|
|
4613
|
+
"param.scheduler.desc": "Rauschplan; legt mit dem Sampler den Entrauschungsrhythmus fest",
|
|
4614
|
+
"param.denoise.desc": "Wie viel vom Ausgangsbild erhalten bleibt; 1 zeichnet komplett neu",
|
|
4615
|
+
"param.batch_size.desc": "Bilder pro Lauf; größere Werte brauchen mehr VRAM",
|
|
4616
|
+
"param.guidance.desc": "Führungsskala für distillierte Modelle, meist nahe 1",
|
|
4145
4617
|
},
|
|
4146
4618
|
"ru": {
|
|
4147
4619
|
"nav": "Модели изображений",
|
|
@@ -4160,6 +4632,9 @@ window.__ModuleLoader__.load({
|
|
|
4160
4632
|
"form.displayName": "Отображаемое имя",
|
|
4161
4633
|
"form.baseUrl": "URL API",
|
|
4162
4634
|
"form.protocol": "Протокол API",
|
|
4635
|
+
"form.protocolAuto": "Автоопределение",
|
|
4636
|
+
"form.hostModel": "Ведущая модель",
|
|
4637
|
+
"form.hostModelHint": "Responses API требует основную модель, которая может вызывать инструмент изображений.",
|
|
4163
4638
|
"form.apiKey": "Ключ API",
|
|
4164
4639
|
"form.keyLocalOptional": "Необязательно для локальных служб без авторизации",
|
|
4165
4640
|
"form.keyEnter": "Введите ключ API",
|
|
@@ -4182,7 +4657,6 @@ window.__ModuleLoader__.load({
|
|
|
4182
4657
|
"form.modelWorkflowPlaceholder": "В ComfyUI выберите «Экспорт (API)» и вставьте JSON сюда",
|
|
4183
4658
|
"form.modelWorkflowHelp": "Доступные подстановки: {{prompt}}, {{negative_prompt}}, {{width}}, {{height}}, {{seed}}, {{model}}, {{image}} (при редактировании подставляется загруженный референс)",
|
|
4184
4659
|
"form.modelOptionsDone": "Готово",
|
|
4185
|
-
"form.modelWorkflowClear": "Очистить workflow",
|
|
4186
4660
|
"form.modelWorkflowSample": "Вставить пример",
|
|
4187
4661
|
"form.modelEmpty": "Выбор моделей будет пустым. Сначала добавьте хотя бы один ID модели в каталог.",
|
|
4188
4662
|
"form.addModel": "Добавить модель",
|
|
@@ -4274,6 +4748,7 @@ window.__ModuleLoader__.load({
|
|
|
4274
4748
|
"serverError.provider.missingKey": "У поставщика изображений «{provider}» нет ключа API.",
|
|
4275
4749
|
"serverError.provider.missingKeyWithRef": "У поставщика изображений «{provider}» нет ключа API (учётные данные {ref}).",
|
|
4276
4750
|
"serverError.models.unsupported": "Этот поставщик не предоставляет список моделей.",
|
|
4751
|
+
"serverError.models.notFound": "У этого адреса нет эндпоинта списка моделей (HTTP 404). Введите ID модели вручную.",
|
|
4277
4752
|
"serverError.adapter.unknownProtocol": "Неподдерживаемый протокол изображений: {protocol}. Доступны: {available}.",
|
|
4278
4753
|
"serverError.adapter.notFound": "Адаптер изображений не найден: {adapter}. Доступны: {available}.",
|
|
4279
4754
|
"serverError.config.credentialsUnavailable": "Служба учётных данных недоступна, поэтому ключ API нельзя сохранить безопасно.",
|
|
@@ -4287,6 +4762,7 @@ window.__ModuleLoader__.load({
|
|
|
4287
4762
|
"quality.low": "Низкое",
|
|
4288
4763
|
"quality.medium": "Среднее",
|
|
4289
4764
|
"quality.high": "Высокое",
|
|
4765
|
+
"quality.xhigh": "Очень высокое",
|
|
4290
4766
|
"quality.max": "Максимум",
|
|
4291
4767
|
"quality.auto": "Авто",
|
|
4292
4768
|
"quality.standard": "Стандартное",
|
|
@@ -4316,11 +4792,43 @@ window.__ModuleLoader__.load({
|
|
|
4316
4792
|
"update.doneRestart": "Обновление установлено — перезапустите DSH",
|
|
4317
4793
|
"update.done": "Обновлено до {version}",
|
|
4318
4794
|
"update.failed": "Обновление не завершено — повторите попытку",
|
|
4795
|
+
"update.failedRestored": "Обновление не удалось — прежняя версия восстановлена",
|
|
4796
|
+
"update.failedBroken": "Обновление не удалось, и прежняя версия не восстановлена — переустановите плагин в управлении плагинами",
|
|
4319
4797
|
"update.unsupported": "Эта среда не поддерживает самообновление — выполните {command}",
|
|
4320
4798
|
"update.localDev": "Локальная установка для разработки — выполните git pull",
|
|
4321
|
-
"update.command": "dsh plugin add
|
|
4799
|
+
"update.command": "dsh plugin add dsh-mo-image@{tag}",
|
|
4322
4800
|
"update.viewRelease": "Открыть на npm",
|
|
4323
4801
|
"update.noNotes": "В этом выпуске нет примечаний.",
|
|
4802
|
+
"form.modelMappingParse": "Разобрать workflow",
|
|
4803
|
+
"form.modelMappingParsing": "Разбор…",
|
|
4804
|
+
"form.modelMappingFailed": "Не удалось разобрать",
|
|
4805
|
+
"form.modelMappingSkip": "Не внедрять",
|
|
4806
|
+
"form.modelMappingFormatApi": "Формат API",
|
|
4807
|
+
"form.modelMappingFormatUi": "Формат UI",
|
|
4808
|
+
"form.modelMappingSampler": "Сэмплер",
|
|
4809
|
+
"form.modelMappingPrompt": "Промпт",
|
|
4810
|
+
"form.modelMappingNegative": "Негативный промпт",
|
|
4811
|
+
"form.modelMappingWidth": "Ширина",
|
|
4812
|
+
"form.modelMappingHeight": "Высота",
|
|
4813
|
+
"form.modelMappingSeed": "Сид",
|
|
4814
|
+
"form.modelMappingModel": "Модель",
|
|
4815
|
+
"form.modelMappingImage": "Референс",
|
|
4816
|
+
"form.modelMappingColName": "Параметр",
|
|
4817
|
+
"form.modelMappingColTarget": "Привязка",
|
|
4818
|
+
"form.modelMappingColExpose": "Доступен",
|
|
4819
|
+
"param.steps": "Шаги",
|
|
4820
|
+
"param.cfg": "Сила промпта",
|
|
4821
|
+
"param.sampler_name": "Сэмплер",
|
|
4822
|
+
"param.scheduler": "Планировщик",
|
|
4823
|
+
"param.denoise": "Перерисовка",
|
|
4824
|
+
"param.batch_size": "Размер пакета",
|
|
4825
|
+
"param.guidance": "Сила наведения",
|
|
4826
|
+
"param.cfg.desc": "Насколько промпт управляет изображением; слишком высоко — жёстко, слишком низко — уходит в сторону",
|
|
4827
|
+
"param.sampler_name.desc": "Алгоритм сэмплирования, определяющий сходимость и текстуру",
|
|
4828
|
+
"param.scheduler.desc": "Расписание шума; вместе с сэмплером задаёт ритм удаления шума",
|
|
4829
|
+
"param.denoise.desc": "Доля исходного изображения, которая сохраняется; 1 — полная перерисовка",
|
|
4830
|
+
"param.batch_size.desc": "Сколько изображений за запуск; больше — больше видеопамяти",
|
|
4831
|
+
"param.guidance.desc": "Коэффициент наведения для дистиллированных моделей, обычно около 1",
|
|
4324
4832
|
},
|
|
4325
4833
|
"pt": {
|
|
4326
4834
|
"nav": "Modelos de imagem",
|
|
@@ -4339,6 +4847,9 @@ window.__ModuleLoader__.load({
|
|
|
4339
4847
|
"form.displayName": "Nome de exibição",
|
|
4340
4848
|
"form.baseUrl": "URL da API",
|
|
4341
4849
|
"form.protocol": "Protocolo da API",
|
|
4850
|
+
"form.protocolAuto": "Detecção automática",
|
|
4851
|
+
"form.hostModel": "Modelo host",
|
|
4852
|
+
"form.hostModelHint": "A API Responses precisa de um modelo principal que possa chamar a ferramenta de imagem.",
|
|
4342
4853
|
"form.apiKey": "Chave de API",
|
|
4343
4854
|
"form.keyLocalOptional": "Opcional para serviços locais sem autenticação",
|
|
4344
4855
|
"form.keyEnter": "Insira a chave de API",
|
|
@@ -4361,7 +4872,6 @@ window.__ModuleLoader__.load({
|
|
|
4361
4872
|
"form.modelWorkflowPlaceholder": "No ComfyUI use Exportar (API) e cole o JSON aqui",
|
|
4362
4873
|
"form.modelWorkflowHelp": "Marcadores: {{prompt}}, {{negative_prompt}}, {{width}}, {{height}}, {{seed}}, {{model}}, {{image}} (substituído pela referência enviada ao editar)",
|
|
4363
4874
|
"form.modelOptionsDone": "Concluído",
|
|
4364
|
-
"form.modelWorkflowClear": "Limpar fluxo de trabalho",
|
|
4365
4875
|
"form.modelWorkflowSample": "Inserir modelo de exemplo",
|
|
4366
4876
|
"form.modelEmpty": "O seletor de modelos ficará vazio. Adicione pelo menos um ID de modelo ao catálogo primeiro.",
|
|
4367
4877
|
"form.addModel": "Adicionar modelo",
|
|
@@ -4453,6 +4963,7 @@ window.__ModuleLoader__.load({
|
|
|
4453
4963
|
"serverError.provider.missingKey": "O provedor de imagens “{provider}” não tem chave de API.",
|
|
4454
4964
|
"serverError.provider.missingKeyWithRef": "O provedor de imagens “{provider}” não tem chave de API (credencial {ref}).",
|
|
4455
4965
|
"serverError.models.unsupported": "Este provedor não expõe uma lista de modelos.",
|
|
4966
|
+
"serverError.models.notFound": "Este endereço não tem endpoint de lista de modelos (HTTP 404). Digite o ID do modelo manualmente.",
|
|
4456
4967
|
"serverError.adapter.unknownProtocol": "Protocolo de imagem não suportado: {protocol}. Disponíveis: {available}.",
|
|
4457
4968
|
"serverError.adapter.notFound": "Adaptador de imagem não encontrado: {adapter}. Disponíveis: {available}.",
|
|
4458
4969
|
"serverError.config.credentialsUnavailable": "O serviço de credenciais não está disponível, então a chave de API não pode ser armazenada com segurança.",
|
|
@@ -4466,6 +4977,7 @@ window.__ModuleLoader__.load({
|
|
|
4466
4977
|
"quality.low": "Baixa",
|
|
4467
4978
|
"quality.medium": "Média",
|
|
4468
4979
|
"quality.high": "Alta",
|
|
4980
|
+
"quality.xhigh": "Muito alta",
|
|
4469
4981
|
"quality.max": "Máxima",
|
|
4470
4982
|
"quality.auto": "Automática",
|
|
4471
4983
|
"quality.standard": "Padrão",
|
|
@@ -4495,11 +5007,43 @@ window.__ModuleLoader__.load({
|
|
|
4495
5007
|
"update.doneRestart": "Atualização instalada — reinicie o DSH para aplicar",
|
|
4496
5008
|
"update.done": "Atualizado para {version}",
|
|
4497
5009
|
"update.failed": "A atualização não terminou — tente novamente",
|
|
5010
|
+
"update.failedRestored": "A atualização falhou — a versão anterior foi restaurada",
|
|
5011
|
+
"update.failedBroken": "A atualização falhou e a versão anterior não foi restaurada — reinstale pelo gerenciamento de plugins",
|
|
4498
5012
|
"update.unsupported": "Este ambiente não permite atualização automática; execute {command}",
|
|
4499
5013
|
"update.localDev": "Instalação de desenvolvimento local — execute git pull",
|
|
4500
|
-
"update.command": "dsh plugin add
|
|
5014
|
+
"update.command": "dsh plugin add dsh-mo-image@{tag}",
|
|
4501
5015
|
"update.viewRelease": "Ver no npm",
|
|
4502
5016
|
"update.noNotes": "Esta versão não tem notas.",
|
|
5017
|
+
"form.modelMappingParse": "Analisar fluxo",
|
|
5018
|
+
"form.modelMappingParsing": "Analisando…",
|
|
5019
|
+
"form.modelMappingFailed": "Falha ao analisar",
|
|
5020
|
+
"form.modelMappingSkip": "Não injetar",
|
|
5021
|
+
"form.modelMappingFormatApi": "Formato API",
|
|
5022
|
+
"form.modelMappingFormatUi": "Formato UI",
|
|
5023
|
+
"form.modelMappingSampler": "Amostrador",
|
|
5024
|
+
"form.modelMappingPrompt": "Prompt",
|
|
5025
|
+
"form.modelMappingNegative": "Prompt negativo",
|
|
5026
|
+
"form.modelMappingWidth": "Largura",
|
|
5027
|
+
"form.modelMappingHeight": "Altura",
|
|
5028
|
+
"form.modelMappingSeed": "Semente",
|
|
5029
|
+
"form.modelMappingModel": "Modelo",
|
|
5030
|
+
"form.modelMappingImage": "Imagem de referência",
|
|
5031
|
+
"form.modelMappingColName": "Parâmetro",
|
|
5032
|
+
"form.modelMappingColTarget": "Mapeamento",
|
|
5033
|
+
"form.modelMappingColExpose": "Exposto",
|
|
5034
|
+
"param.steps": "Passos",
|
|
5035
|
+
"param.cfg": "Intensidade do prompt",
|
|
5036
|
+
"param.sampler_name": "Amostrador",
|
|
5037
|
+
"param.scheduler": "Agendador",
|
|
5038
|
+
"param.denoise": "Redesenho",
|
|
5039
|
+
"param.batch_size": "Tamanho do lote",
|
|
5040
|
+
"param.guidance": "Intensidade de orientação",
|
|
5041
|
+
"param.cfg.desc": "Quanto o prompt restringe a imagem; alto demais fica rígido, baixo demais desvia",
|
|
5042
|
+
"param.sampler_name.desc": "Algoritmo de amostragem que define convergência e textura",
|
|
5043
|
+
"param.scheduler.desc": "Curva de ruído; com o amostrador define o ritmo de remoção de ruído",
|
|
5044
|
+
"param.denoise.desc": "Quanto da imagem original é mantido; 1 redesenha por completo",
|
|
5045
|
+
"param.batch_size.desc": "Imagens por execução; valores maiores usam mais VRAM",
|
|
5046
|
+
"param.guidance.desc": "Escala de orientação para modelos destilados, normalmente perto de 1",
|
|
4503
5047
|
},
|
|
4504
5048
|
};
|
|
4505
5049
|
// END GENERATED LOCALES
|
|
@@ -4604,7 +5148,11 @@ window.__ModuleLoader__.load({
|
|
|
4604
5148
|
? translate('update.done', { version: status.latest })
|
|
4605
5149
|
: translate('update.doneRestart');
|
|
4606
5150
|
}
|
|
4607
|
-
if (state === 'failed')
|
|
5151
|
+
if (state === 'failed') {
|
|
5152
|
+
if (status.error === 'update.failedRestored') return translate('update.failedRestored');
|
|
5153
|
+
if (status.error === 'update.failedBroken') return translate('update.failedBroken');
|
|
5154
|
+
return translate('update.failed');
|
|
5155
|
+
}
|
|
4608
5156
|
if (state === 'updating') return translate('update.starting');
|
|
4609
5157
|
return null;
|
|
4610
5158
|
}
|