feat: add Bailian image generation support

This commit is contained in:
inman committed 2026-07-14 12:59:07 +08:00
1 parent 9a3070c749
commit f642b5e71f
18 files changed
+464 -74

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ function optionalScale(value: unknown): number | undefined {
function normalizeImageEngine(value: unknown): ImageTemplate["settings"]["engine"] | undefined {
const text = optionalText(value, 20);
if (text === "jimeng" || text === "evolink") return text;
if (text === "jimeng" || text === "evolink" || text === "bailian") return text;
return undefined;
}