mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-06 02:00:46 +00:00
added inpout_media_file_token to StudioVSTPage enqueue
This commit is contained in:
1 parent
0a41180f51
commit
a8737ecaee
2 files changed
+4
-3
No files matched your search
@@ -3,6 +3,7 @@ import MakeRequest from "../MakeRequest";
|
||||
export interface EnqueueVSTRequest {
|
||||
creator_set_visibility: string,
|
||||
enable_lipsync: boolean,
|
||||
input_media_file_token: string,
|
||||
negative_prompt: string,
|
||||
prompt: string,
|
||||
style: string,
|
||||
|
||||
+3
-3
@@ -39,13 +39,13 @@ export default function PageVSTApp() {
|
||||
EnqueueVST("",{
|
||||
creator_set_visibility: vstValues.visibility,
|
||||
enable_lipsync: true,
|
||||
input_media_file_token: job?.maybe_result?.entity_token || "",
|
||||
negative_prompt: vstValues.negPrompt,
|
||||
prompt: vstValues.posPrompt,
|
||||
style: "",
|
||||
style: vstValues.sdModelToken,
|
||||
trim_end_millis: vstValues.trimEnd,
|
||||
trim_start_millis: vstValues.trimStart,
|
||||
uuid_idempotency_token: uuidv4(),
|
||||
// do_i_need_a_media_token: job?.maybe_result?.entity_token || ""
|
||||
uuid_idempotency_token: uuidv4()
|
||||
})
|
||||
.then((res: EnqueueVSTResponse) => {
|
||||
if (res.success && res.inference_job_token) {
|
||||
|
||||
Reference in new issue
Block a user