增加即梦图片5.0和视频2.5的能力
This commit is contained in:
1 parent
542246e4ce
commit
88a4268d40
55 files changed
+1412
-200
No files matched your search
@@ -195,6 +195,29 @@ describe("organization billing", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it("seeds and quotes Seedance 2.5 independently at the default 1.2 markup", async () => {
|
||||
const quote = await quoteGenerationCharge({
|
||||
provider: "seedance",
|
||||
capability: "video.generate",
|
||||
reqKey: "doubao-seedance-2-5-260628",
|
||||
requestPayload: { settings: { duration: 5, resolution: "720p", ratio: "16:9" } },
|
||||
usageContext: {
|
||||
source: "platform",
|
||||
accountId: "user-1",
|
||||
displayName: "测试用户",
|
||||
organizationId: "org-1"
|
||||
}
|
||||
});
|
||||
expect(quote).toMatchObject({
|
||||
variantKey: "resolution=720p",
|
||||
standardUnitPriceFen: 151,
|
||||
quantity: 5,
|
||||
amountFen: 908,
|
||||
markupMultiplier: 1.2,
|
||||
settlementStatus: "pending"
|
||||
});
|
||||
});
|
||||
|
||||
it("matches EvoLink quality tiers from the platform catalog", async () => {
|
||||
const quote = await quoteGenerationCharge({
|
||||
provider: "evolink",
|
||||
|
||||
Reference in new issue
Block a user