1
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -28,7 +28,7 @@
|
|||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
<script type="module" crossorigin src="/assets/index-CT6M5c-S.js"></script>
|
<script type="module" crossorigin src="/assets/index-DGh1eEOO.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-JhRVnnL-.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-JhRVnnL-.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -382,36 +382,38 @@ const AIChatPage: React.FC = () => {
|
|||||||
config = {
|
config = {
|
||||||
perSecondCredits: 2,
|
perSecondCredits: 2,
|
||||||
baseCredits: 60,
|
baseCredits: 60,
|
||||||
ratio: 1,
|
ratio: 1.3,
|
||||||
inputVideoRatio: 1,
|
inputVideoRatio: 1.3,
|
||||||
inputVideoBaseCredits: 0,
|
inputVideoBaseCredits: 0,
|
||||||
inputVideoPerSecondCredits: 0.5,
|
inputVideoPerSecondCredits: 15,
|
||||||
inputImageRatio: 1,
|
inputImageRatio: 1,
|
||||||
inputImageBaseCredits: 0,
|
inputImageBaseCredits: 0,
|
||||||
inputImagePerImageCredits: 0.5,
|
inputImagePerImageCredits: 0.0,
|
||||||
};
|
};
|
||||||
if (videoResolution === '1080p') {
|
if (videoResolution === '1080p') {
|
||||||
config.ratio = 2;
|
config.ratio = 1.3;
|
||||||
} else if (videoResolution === '720p') {
|
} else if (videoResolution === '720p') {
|
||||||
config.ratio = 1.5;
|
config.ratio = 1.3;
|
||||||
} else if (videoResolution === '480p') {
|
} else if (videoResolution === '480p') {
|
||||||
config.ratio = 1;
|
config.ratio = 1.3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// 如果没有找到对应的配置,则使用默认配置
|
// 如果没有找到对应的配置,则使用默认配置
|
||||||
config = {
|
config = {
|
||||||
perSecondCredits: 0.1,
|
perSecondCredits: 0.1,
|
||||||
baseCredits: 4,
|
baseCredits: 2,
|
||||||
ratio: 1,
|
ratio: 3,
|
||||||
inputImageRatio: 1,
|
inputImageRatio: 1,
|
||||||
inputImageBaseCredits: 0,
|
inputImageBaseCredits: 0,
|
||||||
inputImagePerImageCredits: 0.5,
|
inputImagePerImageCredits: 0.0,
|
||||||
};
|
};
|
||||||
if (selectedResolution === '2K') {
|
if (selectedResolution === '2K') {
|
||||||
config.ratio = 1;
|
config.ratio = 3;
|
||||||
} else if (selectedResolution === '4K') {
|
} else if (selectedResolution === '4K') {
|
||||||
config.ratio = 2;
|
config.ratio = 3;
|
||||||
|
} else if (selectedResolution === '1K') {
|
||||||
|
config.ratio = 3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user