diff --git a/ui/src/assets/icon_text-image.svg b/ui/src/assets/icon_text-image.svg
new file mode 100644
index 000000000..12b6b6145
--- /dev/null
+++ b/ui/src/assets/icon_text-image.svg
@@ -0,0 +1,6 @@
+
diff --git a/ui/src/workflow/common/data.ts b/ui/src/workflow/common/data.ts
index 9e10784bd..21af2e04c 100644
--- a/ui/src/workflow/common/data.ts
+++ b/ui/src/workflow/common/data.ts
@@ -270,7 +270,7 @@ export const speechToTextNode = {
}
export const textToSpeechNode = {
type: WorkflowType.TextToSpeechNode,
- text: '将文本通过语音合成模型转换为音频文件',
+ text: '将文本通过语音合成模型转换为音频',
label: '文本转语音',
height: 252,
properties: {
@@ -287,17 +287,17 @@ export const textToSpeechNode = {
}
export const menuNodes = [
aiChatNode,
+ imageUnderstandNode,
+ imageGenerateNode,
searchDatasetNode,
- questionNode,
+ rerankerNode,
conditionNode,
replyNode,
- rerankerNode,
- documentExtractNode,
- imageUnderstandNode,
formNode,
+ questionNode,
+ documentExtractNode,
speechToTextNode,
- textToSpeechNode,
- imageGenerateNode
+ textToSpeechNode
]
/**
@@ -390,7 +390,7 @@ export const nodeDict: any = {
[WorkflowType.ImageUnderstandNode]: imageUnderstandNode,
[WorkflowType.TextToSpeechNode]: textToSpeechNode,
[WorkflowType.SpeechToTextNode]: speechToTextNode,
- [WorkflowType.ImageGenerateNode]: imageGenerateNode
+ [WorkflowType.ImageGenerateNode]: imageGenerateNode
}
export function isWorkFlow(type: string | undefined) {
return type === 'WORK_FLOW'
diff --git a/ui/src/workflow/icons/image-generate-node-icon.vue b/ui/src/workflow/icons/image-generate-node-icon.vue
index 6f58417d2..64ca192b1 100644
--- a/ui/src/workflow/icons/image-generate-node-icon.vue
+++ b/ui/src/workflow/icons/image-generate-node-icon.vue
@@ -1,6 +1,6 @@
-
-
+
+