Преглед изворни кода

编程课类型封面加入默认封面
AI生成课加入生成视频(音频同步);背景视频无声,对话视频有音频同步

liyanbo пре 2 недеља
родитељ
комит
207d67a7b3

+ 1 - 1
src/views/bjdx/course/aiGenerate/aiGengrate.vue

@@ -1590,7 +1590,7 @@ const generateDialogueVideo = async (sectionIndex, dialogueIndex) => {
   try {
     const form = {
       platform: AiPlatformEnum.DOU_BAO,
-      modelId: 60,
+      modelId: 64,
       prompt: dialogue.videoPrompt,
       width: 1024,
       height: 768,

+ 4 - 3
src/views/blockly/blocklyType/BlocklyTypeForm.vue

@@ -71,7 +71,7 @@ const formType = ref('') // 表单的类型:create - 新增;update - 修改
 const formData = ref({
   id: undefined,
   ctType: undefined,
-  ctTypeImage: "https://learn-ai.com.cn/admin-api/infra/file/29/get/20251212/common_1765522078241.png",
+  ctTypeImage: 'https://learn-ai.com.cn/admin-api/infra/file/29/get/20251212/common_1765522078241.png',
   ctTypeNode: 0,
   ctTypeSort: undefined,
   ctParentId: 0,
@@ -176,10 +176,11 @@ const resetForm = () => {
   formData.value = {
     id: undefined,
     ctType: undefined,
-    fctTypeImage: "https://learn-ai.com.cn/admin-api/infra/file/29/get/20251212/common_1765522078241.png",
+    ctTypeImage: 'https://learn-ai.com.cn/admin-api/infra/file/29/get/20251212/common_1765522078241.png',
+    ctTypeNode: 0,
     ctTypeSort: undefined,
     ctParentId: 0,
-    ctTypeDescribe: undefined,
+    ctTypeDescribe: undefined,doubao-seed-
     tenantId: undefined,
   }
   formRef.value?.resetFields()