feat: add Bailian image generation support
This commit is contained in:
1 parent
9a3070c749
commit
f642b5e71f
18 files changed
+464
-74
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user