增加即梦的生图和生视频功能

This commit is contained in:
andy committed 2026-08-19 17:58:22 +08:00
1 parent a9a4cdf125
commit 542246e4ce
20 files changed
+1008 -53

No files matched your search

+1
View File
@@ -32,6 +32,7 @@ describe("video settings", () => {
expect(normalizeVideoRatio("21:9")).toBe("21:9");
expect(normalizeVideoRatio("bad-ratio")).toBe("9:16");
expect(normalizeVideoResolution("1080p", "doubao-seedance-2-0-260128")).toBe("1080p");
expect(normalizeVideoResolution("4k", "doubao-seedance-2-0-260128")).toBe("720p");
expect(normalizeVideoResolution("1080p", "doubao-seedance-2-0-fast-260128")).toBe("720p");
});
});