mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 01:38:44 +00:00
Feature/add to scene video 2 (#621)
Co-authored-by: Michael Chung <michaelchung@michaels-mbp-2.home>
This commit is contained in:
1 parent
c4e30e6dc7
commit
c8a4490b52
1 file changed
+8
@@ -196,9 +196,15 @@ export const PromptBoxVideo = ({
|
||||
};
|
||||
|
||||
const handleEnqueue = async () => {
|
||||
|
||||
setIsEnqueueing(true);
|
||||
|
||||
console.log("generateResponse", generateResponse);
|
||||
|
||||
const generateResponse = await FalKlingImageToVideo({
|
||||
image_media_token: referenceImages[0].mediaToken,
|
||||
});
|
||||
|
||||
onEnqueuePressed?.();
|
||||
if (generateResponse.status === CommandSuccessStatus.Success) {
|
||||
const prefs = await GetAppPreferences();
|
||||
@@ -242,6 +248,8 @@ export const PromptBoxVideo = ({
|
||||
// }
|
||||
// toast.error(errorMessage);
|
||||
// }
|
||||
|
||||
setIsEnqueueing(false);
|
||||
};
|
||||
|
||||
const getCurrentResolutionIcon = () => {
|
||||
|
||||
Reference in new issue
Block a user