AI生产线自动化搭建资料库
资料页面

古诗词Mv生产-总

来源:/Users/ljn/Desktop/自动化搭建/AI生产线知识库/raw/old_dsl/古诗词Mv生产-总.yml

古诗词Mv生产-总

这是知识库中的旧 DSL 案例。DSL 本身是机器文件,下面保留原始 YAML,供后续迭代、对照和排错使用。

文件大小
27707 bytes
来源路径
/Users/ljn/Desktop/自动化搭建/AI生产线知识库/raw/old_dsl/古诗词Mv生产-总.yml
app:
  description: 古诗词Mv生产-总
  icon: 🤖
  icon_background: '#E3E5E8'
  icon_type: emoji
  mode: workflow
  name: 古诗词Mv生产-总
  use_icon_as_answer_icon: false
dependencies: []
kind: app
version: 0.3.1
workflow:
  conversation_variables: []
  environment_variables: []
  features:
    file_upload:
      allowed_file_extensions: []
      allowed_file_types: []
      allowed_file_upload_methods:
      - local_file
      - cs_file
      audio:
        enabled: false
        number_limits: 1
        transfer_methods:
        - local_file
      enabled: false
      fileUploadConfig:
        audio_file_size_limit: 100
        batch_count_limit: 5
        file_size_limit: 50
        image_file_size_limit: 20
        video_file_size_limit: 100
        workflow_file_upload_limit: 10
      image:
        enabled: false
        number_limits: 3
        transfer_methods:
        - local_file
        - cs_file
      number_limits: 3
      video:
        enabled: false
        number_limits: 1
        transfer_methods:
        - local_file
    opening_statement: ''
    retriever_resource:
      enabled: true
    sensitive_word_avoidance:
      enabled: false
    speech_to_text:
      enabled: false
    suggested_questions: []
    suggested_questions_after_answer:
      enabled: false
    text_to_speech:
      enabled: false
      language: ''
      voice: ''
  graph:
    edges:
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: tool
        targetType: code
      id: 1778219167058-source-1778219526590-target
      source: '1778219167058'
      sourceHandle: source
      target: '1778219526590'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: code
        targetType: tool
      id: 1778219526590-source-1778219158793-target
      source: '1778219526590'
      sourceHandle: source
      target: '1778219158793'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: tool
        targetType: end
      id: 1778219158793-source-1778233978625-target
      source: '1778219158793'
      sourceHandle: source
      target: '1778233978625'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInLoop: false
        sourceType: start
        targetType: tool
      id: 1778219066601-source-1778242334822-target
      source: '1778219066601'
      sourceHandle: source
      target: '1778242334822'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInLoop: false
        sourceType: tool
        targetType: tool
      id: 1778242334822-source-1778219167058-target
      source: '1778242334822'
      sourceHandle: source
      target: '1778219167058'
      targetHandle: target
      type: custom
      zIndex: 0
    nodes:
    - data:
        desc: ''
        selected: false
        title: 开始
        type: start
        variables:
        - label: 古诗词名称
          max_length: 256
          options: []
          required: true
          type: text-input
          variable: name
        - label: 古诗词内容
          max_length: 45000
          options: []
          required: false
          type: paragraph
          variable: content
        - label: 目标用户
          max_length: 256
          options: []
          required: true
          type: text-input
          variable: target_user
        - label: 音乐风格
          max_length: 256
          options: []
          required: false
          type: text-input
          variable: music_style
        - label: 美术风格
          max_length: 256
          options: []
          required: false
          type: text-input
          variable: art_style
        - default: 否
          label: 是否需要字幕
          max_length: 48
          options:
          - 是
          - 否
          required: true
          type: select
          variable: subtitle
        - default: 否
          label: 是否喵星人
          max_length: 48
          options:
          - 是
          - 否
          required: true
          type: select
          variable: is_mxr
        - default: 横屏
          label: 横竖屏
          max_length: 48
          options:
          - 横屏
          - 竖屏
          required: true
          type: select
          variable: ratio
      height: 270
      id: '1778219066601'
      position:
        x: 16
        y: 282
      positionAbsolute:
        x: 16
        y: 282
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        desc: ''
        is_team_authorization: true
        output_schema: null
        outputs:
        - type: string
          value_selector:
          - '1775804956739'
          - video_url
          value_type: string
          variable: web_result
        paramSchemas:
        - auto_generate: null
          default: null
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 歌词信息
            ja_JP: 歌词信息
            pt_BR: 歌词信息
            zh_Hans: 歌词信息
          llm_description: ''
          max: null
          min: null
          name: lyrics_array
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: string
        - auto_generate: null
          default: null
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 美术风格
            ja_JP: 美术风格
            pt_BR: 美术风格
            zh_Hans: 美术风格
          llm_description: ''
          max: null
          min: null
          name: style
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: string
        - auto_generate: null
          default: null
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 音乐风格
            ja_JP: 音乐风格
            pt_BR: 音乐风格
            zh_Hans: 音乐风格
          llm_description: ''
          max: null
          min: null
          name: music_style
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: string
        - auto_generate: null
          default: null
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 音乐url
            ja_JP: 音乐url
            pt_BR: 音乐url
            zh_Hans: 音乐url
          llm_description: ''
          max: null
          min: null
          name: music_url
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: string
        - auto_generate: null
          default: null
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: music_duration
            ja_JP: music_duration
            pt_BR: music_duration
            zh_Hans: music_duration
          llm_description: ''
          max: null
          min: null
          name: music_duration
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: number
        - auto_generate: null
          default: 否
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 内嵌字幕
            ja_JP: 内嵌字幕
            pt_BR: 内嵌字幕
            zh_Hans: 内嵌字幕
          llm_description: ''
          max: null
          min: null
          name: inline_subtitle
          options:
          - icon: null
            label:
              en_US: 是
              ja_JP: 是
              pt_BR: 是
              zh_Hans: 是
            value: 是
          - icon: null
            label:
              en_US: 否
              ja_JP: 否
              pt_BR: 否
              zh_Hans: 否
            value: 否
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: select
        - auto_generate: null
          default: null
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 古诗词原文
            ja_JP: 古诗词原文
            pt_BR: 古诗词原文
            zh_Hans: 古诗词原文
          llm_description: ''
          max: null
          min: null
          name: poem_content
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: string
        - auto_generate: null
          default: 否
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 是否喵星人形象
            ja_JP: 是否喵星人形象
            pt_BR: 是否喵星人形象
            zh_Hans: 是否喵星人形象
          llm_description: ''
          max: null
          min: null
          name: is_mxr
          options:
          - icon: null
            label:
              en_US: 是
              ja_JP: 是
              pt_BR: 是
              zh_Hans: 是
            value: 是
          - icon: null
            label:
              en_US: 否
              ja_JP: 否
              pt_BR: 否
              zh_Hans: 否
            value: 否
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: select
        - auto_generate: null
          default: 横屏
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 横竖屏
            ja_JP: 横竖屏
            pt_BR: 横竖屏
            zh_Hans: 横竖屏
          llm_description: ''
          max: null
          min: null
          name: aspect
          options:
          - icon: null
            label:
              en_US: 横屏
              ja_JP: 横屏
              pt_BR: 横屏
              zh_Hans: 横屏
            value: 横屏
          - icon: null
            label:
              en_US: 竖屏
              ja_JP: 竖屏
              pt_BR: 竖屏
              zh_Hans: 竖屏
            value: 竖屏
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: select
        params:
          aspect: ''
          inline_subtitle: ''
          is_mxr: ''
          lyrics_array: ''
          music_duration: ''
          music_style: ''
          music_url: ''
          poem_content: ''
          style: ''
        provider_id: 82037b86-481e-475c-80a1-37a996d020d0
        provider_name: 古诗词Mv生产
        provider_type: workflow
        selected: false
        title: 古诗词Mv生产-视频
        tool_configurations: {}
        tool_description: 古诗词Mv生产
        tool_label: 古诗词Mv生产
        tool_name: mv123
        tool_node_version: '2'
        tool_parameters:
          aspect:
            type: variable
            value:
            - '1778219066601'
            - ratio
          inline_subtitle:
            type: variable
            value:
            - '1778219066601'
            - subtitle
          is_mxr:
            type: variable
            value:
            - '1778219066601'
            - is_mxr
          lyrics_array:
            type: mixed
            value: '{{#1778219526590.lyrics_text#}}'
          lyrics_structure:
            type: mixed
            value: '{{#1778242334822.lyrics_structure#}}'
          music_duration:
            type: variable
            value:
            - '1778242334822'
            - duration
          music_style:
            type: mixed
            value: '{{#1778242334822.music_style#}}'
          music_url:
            type: mixed
            value: '{{#1778242334822.web_result#}}'
          poem_content:
            type: mixed
            value: '{{#1778242334822.content#}}'
          style:
            type: mixed
            value: '{{#1778219066601.art_style#}}'
        type: tool
      height: 92
      id: '1778219158793'
      position:
        x: 1220
        y: 282
      positionAbsolute:
        x: 1220
        y: 282
      selected: true
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        desc: ''
        is_team_authorization: true
        output_schema: null
        outputs:
        - type: array
          value_selector:
          - '1775900623427'
          - structured_output
          - lyrics_info
          value_type: object
          variable: lyrics_json
        paramSchemas:
        - auto_generate: null
          default: null
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: audio_url
            ja_JP: audio_url
            pt_BR: audio_url
            zh_Hans: audio_url
          llm_description: ''
          max: null
          min: null
          name: audio_url
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: false
          scope: null
          template: null
          type: string
        - auto_generate: null
          default: null
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: lyrics_info
            ja_JP: lyrics_info
            pt_BR: lyrics_info
            zh_Hans: lyrics_info
          llm_description: ''
          max: null
          min: null
          name: lyrics_info
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: string
        params:
          audio_url: ''
          lyrics_info: ''
        provider_id: b1068332-869b-4c7d-9223-bec50d46b6fa
        provider_name: 古诗词Mv生产-合并
        provider_type: workflow
        selected: false
        title: 古诗词Mv生产-提取歌词
        tool_configurations: {}
        tool_description: 古诗词Mv生产-合并
        tool_label: 古诗词Mv生产-合并
        tool_name: MV_all
        tool_node_version: '2'
        tool_parameters:
          audio_url:
            type: mixed
            value: '{{#1778242334822.web_result#}}'
          lyrics_info:
            type: mixed
            value: '{{#1778242334822.content#}}'
        type: tool
      height: 92
      id: '1778219167058'
      position:
        x: 620.9253044280379
        y: 282
      positionAbsolute:
        x: 620.9253044280379
        y: 282
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        code: "\nfunction main({lyrics_array}) {\n    return {\n        lyrics_text:\
          \ JSON.stringify(lyrics_array)\n    }\n}\n"
        code_language: javascript
        desc: ''
        outputs:
          lyrics_text:
            children: null
            type: string
        selected: false
        title: 代码执行
        type: code
        variables:
        - value_selector:
          - '1778219167058'
          - lyrics_json
          value_type: array
          variable: lyrics_array
      height: 52
      id: '1778219526590'
      position:
        x: 920
        y: 282
      positionAbsolute:
        x: 920
        y: 282
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        desc: ''
        outputs:
        - value_selector:
          - '1778219158793'
          - web_result
          value_type: string
          variable: web_result
        selected: false
        title: 结束
        type: end
      height: 89
      id: '1778233978625'
      position:
        x: 1524
        y: 282
      positionAbsolute:
        x: 1524
        y: 282
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        desc: ''
        is_team_authorization: true
        output_schema: null
        outputs:
        - type: string
          value_selector:
          - '1775989014362'
          - url
          value_type: string
          variable: web_result
        - type: string
          value_selector:
          - '1775903982601'
          - result
          value_type: string
          variable: content
        - type: string
          value_selector:
          - '1774985663194'
          - structured_output
          - suno_style_prompt
          value_type: string
          variable: music_style
        - type: number
          value_selector:
          - '1775471394978'
          - duration
          value_type: number
          variable: duration
        - type: string
          value_selector:
          - '1774985663194'
          - structured_output
          - lyrics
          value_type: string
          variable: lyrics_structure
        paramSchemas:
        - auto_generate: null
          default: null
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 古诗名称
            ja_JP: 古诗名称
            pt_BR: 古诗名称
            zh_Hans: 古诗名称
          llm_description: ''
          max: null
          min: null
          name: poem_title
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: string
        - auto_generate: null
          default: null
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 古诗内容
            ja_JP: 古诗内容
            pt_BR: 古诗内容
            zh_Hans: 古诗内容
          llm_description: ''
          max: null
          min: null
          name: poem_content
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: false
          scope: null
          template: null
          type: string
        - auto_generate: null
          default: null
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 目标用户
            ja_JP: 目标用户
            pt_BR: 目标用户
            zh_Hans: 目标用户
          llm_description: ''
          max: null
          min: null
          name: target_user
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: string
        - auto_generate: null
          default: null
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 音乐风格
            ja_JP: 音乐风格
            pt_BR: 音乐风格
            zh_Hans: 音乐风格
          llm_description: ''
          max: null
          min: null
          name: preffered_style
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: false
          scope: null
          template: null
          type: string
        - auto_generate: null
          default: null
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 美术风格
            ja_JP: 美术风格
            pt_BR: 美术风格
            zh_Hans: 美术风格
          llm_description: ''
          max: null
          min: null
          name: art_style
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: string
        - auto_generate: null
          default: 否
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 是否喵星人
            ja_JP: 是否喵星人
            pt_BR: 是否喵星人
            zh_Hans: 是否喵星人
          llm_description: ''
          max: null
          min: null
          name: is_mxr
          options:
          - icon: null
            label:
              en_US: 是
              ja_JP: 是
              pt_BR: 是
              zh_Hans: 是
            value: 是
          - icon: null
            label:
              en_US: 否
              ja_JP: 否
              pt_BR: 否
              zh_Hans: 否
            value: 否
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: select
        - auto_generate: null
          default: 横屏
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 横竖屏
            ja_JP: 横竖屏
            pt_BR: 横竖屏
            zh_Hans: 横竖屏
          llm_description: ''
          max: null
          min: null
          name: ratio
          options:
          - icon: null
            label:
              en_US: 横屏
              ja_JP: 横屏
              pt_BR: 横屏
              zh_Hans: 横屏
            value: 横屏
          - icon: null
            label:
              en_US: 竖屏
              ja_JP: 竖屏
              pt_BR: 竖屏
              zh_Hans: 竖屏
            value: 竖屏
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: select
        - auto_generate: null
          default: 是
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 是否需要字幕
            ja_JP: 是否需要字幕
            pt_BR: 是否需要字幕
            zh_Hans: 是否需要字幕
          llm_description: ''
          max: null
          min: null
          name: subtitle
          options:
          - icon: null
            label:
              en_US: 是
              ja_JP: 是
              pt_BR: 是
              zh_Hans: 是
            value: 是
          - icon: null
            label:
              en_US: 否
              ja_JP: 否
              pt_BR: 否
              zh_Hans: 否
            value: 否
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: select
        params:
          art_style: ''
          is_mxr: ''
          poem_content: ''
          poem_title: ''
          preffered_style: ''
          ratio: ''
          subtitle: ''
          target_user: ''
        provider_id: c54a84ad-9915-4788-82b8-965a2ad883f4
        provider_name: 古诗词Mv生产-音乐
        provider_type: workflow
        selected: false
        title: 古诗词Mv生产-音乐
        tool_configurations: {}
        tool_description: 根据古诗词内容生成对应的音乐
        tool_label: 古诗词Mv生产-音乐
        tool_name: mv_music
        tool_node_version: '2'
        tool_parameters:
          art_style:
            type: mixed
            value: '{{#1778219066601.art_style#}}'
          is_mxr:
            type: variable
            value:
            - '1778219066601'
            - is_mxr
          poem_content:
            type: mixed
            value: '{{#1778219066601.content#}}'
          poem_title:
            type: mixed
            value: '{{#1778219066601.name#}}'
          preffered_style:
            type: mixed
            value: '{{#1778219066601.music_style#}}'
          ratio:
            type: variable
            value:
            - '1778219066601'
            - ratio
          subtitle:
            type: variable
            value:
            - '1778219066601'
            - subtitle
          target_user:
            type: mixed
            value: '{{#1778219066601.target_user#}}'
        type: tool
      height: 92
      id: '1778242334822'
      position:
        x: 315.2332933588141
        y: 282
      positionAbsolute:
        x: 315.2332933588141
        y: 282
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    viewport:
      x: 497.03072180016966
      y: 298.95117064773103
      zoom: 0.8446610650983809