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

open-Q 美术史课程封面设计

来源:/Users/ljn/Desktop/自动化搭建/AI生产线知识库/raw/old_dsl/open-Q 美术史课程封面设计.yml

open-Q 美术史课程封面设计

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

文件大小
54915 bytes
来源路径
/Users/ljn/Desktop/自动化搭建/AI生产线知识库/raw/old_dsl/open-Q 美术史课程封面设计.yml
app:
  description: 出图测试
  icon: 🤖
  icon_background: '#E3E5E8'
  icon_type: emoji
  mode: workflow
  name: open-Q 美术史课程封面设计
  use_icon_as_answer_icon: false
dependencies:
- current_identifier: null
  type: package
  value:
    plugin_unique_identifier: aict/ai_hub:3.3.1@4e71d8262fbecb133fd6801e8b0a4c141f0bf4f0d6b68cec1b5c254a65365e96
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: llm
        targetType: tool
      id: 1768978657962-source-1768978676761-target
      source: '1768978657962'
      sourceHandle: source
      target: '1768978676761'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: tool
        targetType: end
      id: 1768978676761-source-1768978682229-target
      source: '1768978676761'
      sourceHandle: source
      target: '1768978682229'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: start
        targetType: if-else
      id: 1768978654879-source-1768987457911-target
      source: '1768978654879'
      sourceHandle: source
      target: '1768987457911'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: llm
        targetType: tool
      id: 1768988097638-source-1768987266787-target
      source: '1768988097638'
      sourceHandle: source
      target: '1768987266787'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInLoop: false
        sourceType: if-else
        targetType: llm
      id: 1768987457911-false-1768987434531-target
      source: '1768987457911'
      sourceHandle: 'false'
      target: '1768987434531'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInLoop: false
        sourceType: if-else
        targetType: llm
      id: 1768987457911-77edd385-08aa-4468-93da-0e9465d54f2c-1768978657962-target
      source: '1768987457911'
      sourceHandle: 77edd385-08aa-4468-93da-0e9465d54f2c
      target: '1768978657962'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: llm
        targetType: image-generation
      id: 1768987434531-source-1776959096482-target
      selected: false
      source: '1768987434531'
      sourceHandle: source
      target: '1776959096482'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInLoop: false
        sourceType: image-generation
        targetType: llm
      id: 1776959096482-source-1768988097638-target
      source: '1776959096482'
      sourceHandle: source
      target: '1768988097638'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: tool
        targetType: code
      id: 1768987266787-source-1777017114476-target
      source: '1768987266787'
      sourceHandle: source
      target: '1777017114476'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: code
        targetType: tool
      id: 1777017114476-source-1777018235893-target
      source: '1777017114476'
      sourceHandle: source
      target: '1777018235893'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: tool
        targetType: end
      id: 1777018235893-source-1768987274782-target
      source: '1777018235893'
      sourceHandle: source
      target: '1768987274782'
      targetHandle: target
      type: custom
      zIndex: 0
    nodes:
    - data:
        desc: ''
        selected: false
        title: 开始
        type: start
        variables:
        - label: 课程标题
          max_length: 48
          options: []
          required: true
          type: text-input
          variable: biaoti
        - allowed_file_extensions: []
          allowed_file_types:
          - image
          allowed_file_upload_methods:
          - local_file
          label: 尺寸
          max_length: 6
          options:
          - 1280x800
          required: true
          type: select
          variable: chichun
        - default: 完整封面
          label: 封面设计类型
          max_length: 48
          options:
          - 单背景
          - 完整封面
          required: true
          type: select
          variable: Frame_Design
        - label: 课程描述
          max_length: 1000
          options: []
          required: true
          type: paragraph
          variable: kechengmiaoshu
        - label: 风格要求
          max_length: 48
          options: []
          required: true
          type: text-input
          variable: fengge
        - allowed_file_extensions: []
          allowed_file_types:
          - image
          allowed_file_upload_methods:
          - local_file
          label: 画家图
          max_length: 48
          options: []
          required: false
          type: file
          variable: huajia
      height: 218
      id: '1768978654879'
      position:
        x: -254
        y: 191
      positionAbsolute:
        x: -254
        y: 191
      selected: true
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        audio:
          configs:
            variable_selector: []
          enabled: false
        context:
          enabled: false
          variable_selector: []
        desc: ''
        model:
          completion_params: {}
          mode: chat
          name: doubao-1-5-pro-32k-250115
          provider: aict/ai_hub/ai_hub
        prompt_template:
        - id: be30d107-a870-4a36-beda-80ee4f964a9a
          role: system
          text: '你是一位专业的课程封面视觉设计师,擅长根据课程主题提取核心视觉元素并匹配恰当的艺术风格。


            ## 任务

            根据我提供的课程标题,生成一段用于即梦4.5的图像生成提示词,用于制作课程封面背景。


            ## 设计规范


            ### 构图要求

            - 画面比例:16:10

            - 构图方式:右侧重心构图

            - 核心元素位置:自然地偏向画面右侧

            - 核心元素占比:约占画面宽度的 1/4

            - 整体画面:背景与主体自然融合,通过渐变、虚化、氛围延伸等方式过渡

            - 画面本身不包含任何文字

            - **禁止**:生硬的色块分割、左右明显的区域划分、主体与背景的割裂感


            ### 色彩与渐变规则

            - **左侧区域**:必须保持浅色、明亮、通透,便于后期叠加深色文字

            - **渐变方向**:从左侧浅色自然过渡到右侧深色/丰富色,或根据画面氛围灵活调整

            - **渐变方式**:柔和自然的色彩过渡,可结合光影、氛围、景深实现

            - **整体原则**:左浅右深,左简右丰,形成自然的视觉引导


            ### 风格映射规则(根据学科自动匹配)


            | 学科类型 | 推荐风格 | 风格特征 |

            |---------|---------|---------|

            | 国学/语文/成语/古诗词 | 中国水墨风、工笔淡彩 | 留白意境、墨色晕染、宣纸质感 |

            | 历史/人文 | 复古插画、古典油画风 | 厚重色调、历史质感、纪实氛围 |

            | 数学/几何 | 几何抽象风、低多边形 | 干净线条、几何图形、理性美感 |

            | 物理 | 科技未来风、光效粒子 | 光线轨迹、能量感、深邃空间 |

            | 化学 | 微观科幻风、玻璃质感 | 分子结构、透明材质、实验室美学 |

            | 生物/自然科学 | 自然写实风、科学插画 | 细节精致、自然色彩、生命力 |

            | 艺术/美术 | 与课程内容对应的艺术流派 | 根据具体艺术主题灵活匹配 |

            | 编程/科技 | 赛博朋克、扁平科技风 | 代码元素、电路纹理、荧光配色 |

            | 综合/其他 | 根据标题关键词判断最接近的学科风格 | — |


            ### 核心元素提取规则

            1. 从课程标题中识别最具代表性的视觉符号

            2. 选择可被图形化表达的具象或抽象元素

            3. 元素应简洁有力,避免过于复杂


            ### 提示词公式

            按以下顺序组织绘图提示词:


            **主体 + 场景 + 风格 + 色彩 + 构图 + 细节**


            | 要素 | 说明 |

            |------|------|

            | 主体 | 核心视觉元素,从课程标题提取 |

            | 场景 | 元素所处的环境或背景空间,与主体自然融合 |

            | 风格 | 根据学科匹配的艺术风格 |

            | 色彩 | 左浅右深的渐变配色,整体和谐统一 |

            | 构图 | 主体自然偏右,左侧明亮通透,16:10 比例 |

            | 细节 | 材质、光影、纹理、过渡方式、品质关键词 |


            ### 构图融合技巧(根据风格选用)

            - **水墨/国风**:左侧留白如宣纸底色,墨色由右向左自然晕散渐淡

            - **科技/未来**:左侧明亮光源,光效粒子向右侧聚集加深

            - **几何/抽象**:左侧浅色纯净背景,图形元素向右侧密集、色彩加深

            - **自然/写实**:左侧柔和高光或浅色天空,右侧主体色彩丰富饱满

            - **通用方法**:左浅右深渐变、左侧高光氛围、景深虚化配合明度变化


            ## 输出格式


            ```

            【课程标题】:(复述用户输入)

            【学科判断】:(判断所属学科类型)

            【匹配风格】:(选定的艺术风格)

            【核心元素】:(提取的视觉元素)


            【提示词拆解】:

            - 主体:

            - 场景:

            - 风格:

            - 色彩:(明确描述左浅右深的渐变方案)

            - 构图:

            - 细节:


            【绘图提示词】:

            (将上述要素整合为一段流畅的中文提示词,强调左浅右深的渐变融合,适用于即梦4.5)

            ```


            ## 示例


            输入:勾股定理


            ```

            【课程标题】:勾股定理

            【学科判断】:数学/几何

            【匹配风格】:几何抽象风

            【核心元素】:直角三角形与三个正方形的经典证明图形


            【提示词拆解】:

            - 主体:直角三角形及其三边正方形构成的勾股定理图形

            - 场景:纯净的抽象数学空间,几何元素漂浮其中

            - 风格:几何抽象风、极简主义

            - 色彩:左侧浅白色至淡蓝色,向右渐变为深邃的克莱因蓝,整体冷静理性

            - 构图:主体自然位于画面右侧,左侧明亮通透,几何线条由右向左逐渐稀疏变淡,16:10 比例

            - 细节:柔和的光晕过渡、细腻的线条、自然的明暗层次、背景与主体无缝融合


            【绘图提示词】:

            纯净的抽象数学空间,直角三角形及三边正方形组成的勾股定理图形自然悬浮于画面右侧,几何抽象风格,极简主义,背景从左侧的浅白色、淡蓝色向右侧自然渐变为深邃的克莱因蓝,左侧明亮通透,几何线条与微光从右向左逐渐稀疏变淡,柔和光晕过渡,细腻线条质感,自然明暗层次,主体与背景无缝融合,16:10画面比例,无文字

            ```


            ---


            请提供课程标题,我将为你生成封面背景的绘图提示词。'
        - id: 55f77853-88f3-4adc-a656-add7f24e37f6
          role: user
          text: '{{#1768978654879.biaoti#}}'
        selected: false
        structured_output_enabled: false
        title: 纯背景出图设计
        type: llm
        variables: []
        video:
          configs:
            variable_selector: []
          enabled: false
        vision:
          enabled: false
      height: 120
      id: '1768978657962'
      position:
        x: 383
        y: 282
      positionAbsolute:
        x: 383
        y: 282
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        desc: ''
        is_team_authorization: true
        output_schema: null
        outputs:
        - type: any
          value_selector:
          - '1753035060851'
          - error
          variable: error_message
        - type: any
          value_selector:
          - '1753289226679'
          - url_list
          variable: url_list
        paramSchemas:
        - auto_generate: null
          default: doubao-seedream-4-0-250828
          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: model
          options:
          - icon: null
            label:
              en_US: doubao-seedream-4-0-250828
              ja_JP: doubao-seedream-4-0-250828
              pt_BR: doubao-seedream-4-0-250828
              zh_Hans: doubao-seedream-4-0-250828
            value: doubao-seedream-4-0-250828
          - icon: null
            label:
              en_US: doubao-seedream-4-5-251128
              ja_JP: doubao-seedream-4-5-251128
              pt_BR: doubao-seedream-4-5-251128
              zh_Hans: doubao-seedream-4-5-251128
            value: doubao-seedream-4-5-251128
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: false
          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: 提示词(建议不超过500个汉字或1000个英文单词)
            ja_JP: 提示词(建议不超过500个汉字或1000个英文单词)
            pt_BR: 提示词(建议不超过500个汉字或1000个英文单词)
            zh_Hans: 提示词(建议不超过500个汉字或1000个英文单词)
          llm_description: ''
          max: null
          min: null
          name: prompt
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: string
        - auto_generate: null
          default: 2048x2048
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 宽高像素(默认值2048x2048,4.5版本不支持1K)
            ja_JP: 宽高像素(默认值2048x2048,4.5版本不支持1K)
            pt_BR: 宽高像素(默认值2048x2048,4.5版本不支持1K)
            zh_Hans: 宽高像素(默认值2048x2048,4.5版本不支持1K)
          llm_description: ''
          max: null
          min: null
          name: size
          options:
          - icon: null
            label:
              en_US: 1K
              ja_JP: 1K
              pt_BR: 1K
              zh_Hans: 1K
            value: 1K
          - icon: null
            label:
              en_US: 2K
              ja_JP: 2K
              pt_BR: 2K
              zh_Hans: 2K
            value: 2K
          - icon: null
            label:
              en_US: 4K
              ja_JP: 4K
              pt_BR: 4K
              zh_Hans: 4K
            value: 4K
          - icon: null
            label:
              en_US: 2048x2048
              ja_JP: 2048x2048
              pt_BR: 2048x2048
              zh_Hans: 2048x2048
            value: 2048x2048
          - icon: null
            label:
              en_US: 2304x1728
              ja_JP: 2304x1728
              pt_BR: 2304x1728
              zh_Hans: 2304x1728
            value: 2304x1728
          - icon: null
            label:
              en_US: 1728x2304
              ja_JP: 1728x2304
              pt_BR: 1728x2304
              zh_Hans: 1728x2304
            value: 1728x2304
          - icon: null
            label:
              en_US: 2560x1440
              ja_JP: 2560x1440
              pt_BR: 2560x1440
              zh_Hans: 2560x1440
            value: 2560x1440
          - icon: null
            label:
              en_US: 1440x2560
              ja_JP: 1440x2560
              pt_BR: 1440x2560
              zh_Hans: 1440x2560
            value: 1440x2560
          - icon: null
            label:
              en_US: 2496x1664
              ja_JP: 2496x1664
              pt_BR: 2496x1664
              zh_Hans: 2496x1664
            value: 2496x1664
          - icon: null
            label:
              en_US: 1664x2496
              ja_JP: 1664x2496
              pt_BR: 1664x2496
              zh_Hans: 1664x2496
            value: 1664x2496
          - icon: null
            label:
              en_US: 3024x1296
              ja_JP: 3024x1296
              pt_BR: 3024x1296
              zh_Hans: 3024x1296
            value: 3024x1296
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: false
          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: 自定义像素(取值范围:4.5[2560x1440, 4096x4096],4.0[1280x720, 4096x4096],优先级高于宽高像素)
            ja_JP: 自定义像素(取值范围:4.5[2560x1440, 4096x4096],4.0[1280x720, 4096x4096],优先级高于宽高像素)
            pt_BR: 自定义像素(取值范围:4.5[2560x1440, 4096x4096],4.0[1280x720, 4096x4096],优先级高于宽高像素)
            zh_Hans: 自定义像素(取值范围:4.5[2560x1440, 4096x4096],4.0[1280x720, 4096x4096],优先级高于宽高像素)
          llm_description: ''
          max: null
          min: null
          name: custom_size
          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: 是否关闭组图功能(默认disabled)
            ja_JP: 是否关闭组图功能(默认disabled)
            pt_BR: 是否关闭组图功能(默认disabled)
            zh_Hans: 是否关闭组图功能(默认disabled)
          llm_description: ''
          max: null
          min: null
          name: sequential_image_generation
          options:
          - icon: null
            label:
              en_US: auto
              ja_JP: auto
              pt_BR: auto
              zh_Hans: auto
            value: auto
          - icon: null
            label:
              en_US: disabled
              ja_JP: disabled
              pt_BR: disabled
              zh_Hans: disabled
            value: disabled
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: false
          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: 最大生成数量(仅当组图功能为auto时设置,范围[1,15],默认值1)
            ja_JP: 最大生成数量(仅当组图功能为auto时设置,范围[1,15],默认值1)
            pt_BR: 最大生成数量(仅当组图功能为auto时设置,范围[1,15],默认值1)
            zh_Hans: 最大生成数量(仅当组图功能为auto时设置,范围[1,15],默认值1)
          llm_description: ''
          max: null
          min: null
          name: max_images
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: false
          scope: null
          template: null
          type: number
        - auto_generate: null
          default: null
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 原始图片(图片格式:jpeg、png、webp、gif)
            ja_JP: 原始图片(图片格式:jpeg、png、webp、gif)
            pt_BR: 原始图片(图片格式:jpeg、png、webp、gif)
            zh_Hans: 原始图片(图片格式:jpeg、png、webp、gif)
          llm_description: ''
          max: null
          min: null
          name: images
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: false
          scope: null
          template: null
          type: files
        - auto_generate: null
          default: null
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 是否添加水印(默认值true)
            ja_JP: 是否添加水印(默认值true)
            pt_BR: 是否添加水印(默认值true)
            zh_Hans: 是否添加水印(默认值true)
          llm_description: ''
          max: null
          min: null
          name: watermark
          options:
          - icon: null
            label:
              en_US: 'true'
              ja_JP: 'true'
              pt_BR: 'true'
              zh_Hans: 'true'
            value: 'true'
          - icon: null
            label:
              en_US: 'false'
              ja_JP: 'false'
              pt_BR: 'false'
              zh_Hans: 'false'
            value: 'false'
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: false
          scope: null
          template: null
          type: select
        params:
          custom_size: ''
          images: ''
          max_images: ''
          model: ''
          prompt: ''
          sequential_image_generation: ''
          size: ''
          watermark: ''
        provider_id: 22632cc7-732a-4b68-94e7-5be7e1b48ba9
        provider_name: 即梦-文/图生图-4.x版本
        provider_type: workflow
        selected: false
        title: 背景图设计16:10
        tool_configurations: {}
        tool_description: 即梦-文/图生图-4.x版本
        tool_label: 即梦-文/图生图-4.x版本
        tool_name: seedream_i2i_t2i_tool
        tool_node_version: '2'
        tool_parameters:
          custom_size:
            type: mixed
            value: '{{#1768978654879.chichun#}}'
          images:
            type: variable
            value: ''
          max_images:
            type: constant
            value: null
          model:
            type: constant
            value: doubao-seedream-4-5-251128
          prompt:
            type: mixed
            value: '{{#1768978657962.text#}}'
          sequential_image_generation:
            type: constant
            value: disabled
          size:
            type: constant
            value: 2048x2048
          watermark:
            type: constant
            value: 'false'
        type: tool
      height: 92
      id: '1768978676761'
      position:
        x: 685
        y: 282
      positionAbsolute:
        x: 685
        y: 282
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        desc: ''
        outputs:
        - value_selector:
          - '1768978676761'
          - url_list
          value_type: any
          variable: url_list
        selected: false
        title: 结束
        type: end
      height: 89
      id: '1768978682229'
      position:
        x: 991
        y: 282
      positionAbsolute:
        x: 991
        y: 282
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        desc: ''
        is_team_authorization: true
        output_schema: null
        outputs:
        - type: any
          value_selector:
          - '1753035060851'
          - error
          variable: error_message
        - type: any
          value_selector:
          - '1753289226679'
          - url_list
          variable: url_list
        paramSchemas:
        - auto_generate: null
          default: doubao-seedream-4-0-250828
          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: model
          options:
          - icon: null
            label:
              en_US: doubao-seedream-4-0-250828
              ja_JP: doubao-seedream-4-0-250828
              pt_BR: doubao-seedream-4-0-250828
              zh_Hans: doubao-seedream-4-0-250828
            value: doubao-seedream-4-0-250828
          - icon: null
            label:
              en_US: doubao-seedream-4-5-251128
              ja_JP: doubao-seedream-4-5-251128
              pt_BR: doubao-seedream-4-5-251128
              zh_Hans: doubao-seedream-4-5-251128
            value: doubao-seedream-4-5-251128
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: false
          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: 提示词(建议不超过500个汉字或1000个英文单词)
            ja_JP: 提示词(建议不超过500个汉字或1000个英文单词)
            pt_BR: 提示词(建议不超过500个汉字或1000个英文单词)
            zh_Hans: 提示词(建议不超过500个汉字或1000个英文单词)
          llm_description: ''
          max: null
          min: null
          name: prompt
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: string
        - auto_generate: null
          default: 2048x2048
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 宽高像素(默认值2048x2048,4.5版本不支持1K)
            ja_JP: 宽高像素(默认值2048x2048,4.5版本不支持1K)
            pt_BR: 宽高像素(默认值2048x2048,4.5版本不支持1K)
            zh_Hans: 宽高像素(默认值2048x2048,4.5版本不支持1K)
          llm_description: ''
          max: null
          min: null
          name: size
          options:
          - icon: null
            label:
              en_US: 1K
              ja_JP: 1K
              pt_BR: 1K
              zh_Hans: 1K
            value: 1K
          - icon: null
            label:
              en_US: 2K
              ja_JP: 2K
              pt_BR: 2K
              zh_Hans: 2K
            value: 2K
          - icon: null
            label:
              en_US: 4K
              ja_JP: 4K
              pt_BR: 4K
              zh_Hans: 4K
            value: 4K
          - icon: null
            label:
              en_US: 2048x2048
              ja_JP: 2048x2048
              pt_BR: 2048x2048
              zh_Hans: 2048x2048
            value: 2048x2048
          - icon: null
            label:
              en_US: 2304x1728
              ja_JP: 2304x1728
              pt_BR: 2304x1728
              zh_Hans: 2304x1728
            value: 2304x1728
          - icon: null
            label:
              en_US: 1728x2304
              ja_JP: 1728x2304
              pt_BR: 1728x2304
              zh_Hans: 1728x2304
            value: 1728x2304
          - icon: null
            label:
              en_US: 2560x1440
              ja_JP: 2560x1440
              pt_BR: 2560x1440
              zh_Hans: 2560x1440
            value: 2560x1440
          - icon: null
            label:
              en_US: 1440x2560
              ja_JP: 1440x2560
              pt_BR: 1440x2560
              zh_Hans: 1440x2560
            value: 1440x2560
          - icon: null
            label:
              en_US: 2496x1664
              ja_JP: 2496x1664
              pt_BR: 2496x1664
              zh_Hans: 2496x1664
            value: 2496x1664
          - icon: null
            label:
              en_US: 1664x2496
              ja_JP: 1664x2496
              pt_BR: 1664x2496
              zh_Hans: 1664x2496
            value: 1664x2496
          - icon: null
            label:
              en_US: 3024x1296
              ja_JP: 3024x1296
              pt_BR: 3024x1296
              zh_Hans: 3024x1296
            value: 3024x1296
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: false
          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: 自定义像素(取值范围:4.5[2560x1440, 4096x4096],4.0[1280x720, 4096x4096],优先级高于宽高像素)
            ja_JP: 自定义像素(取值范围:4.5[2560x1440, 4096x4096],4.0[1280x720, 4096x4096],优先级高于宽高像素)
            pt_BR: 自定义像素(取值范围:4.5[2560x1440, 4096x4096],4.0[1280x720, 4096x4096],优先级高于宽高像素)
            zh_Hans: 自定义像素(取值范围:4.5[2560x1440, 4096x4096],4.0[1280x720, 4096x4096],优先级高于宽高像素)
          llm_description: ''
          max: null
          min: null
          name: custom_size
          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: 是否关闭组图功能(默认disabled)
            ja_JP: 是否关闭组图功能(默认disabled)
            pt_BR: 是否关闭组图功能(默认disabled)
            zh_Hans: 是否关闭组图功能(默认disabled)
          llm_description: ''
          max: null
          min: null
          name: sequential_image_generation
          options:
          - icon: null
            label:
              en_US: auto
              ja_JP: auto
              pt_BR: auto
              zh_Hans: auto
            value: auto
          - icon: null
            label:
              en_US: disabled
              ja_JP: disabled
              pt_BR: disabled
              zh_Hans: disabled
            value: disabled
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: false
          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: 最大生成数量(仅当组图功能为auto时设置,范围[1,15],默认值1)
            ja_JP: 最大生成数量(仅当组图功能为auto时设置,范围[1,15],默认值1)
            pt_BR: 最大生成数量(仅当组图功能为auto时设置,范围[1,15],默认值1)
            zh_Hans: 最大生成数量(仅当组图功能为auto时设置,范围[1,15],默认值1)
          llm_description: ''
          max: null
          min: null
          name: max_images
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: false
          scope: null
          template: null
          type: number
        - auto_generate: null
          default: null
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 原始图片(图片格式:jpeg、png、webp、gif)
            ja_JP: 原始图片(图片格式:jpeg、png、webp、gif)
            pt_BR: 原始图片(图片格式:jpeg、png、webp、gif)
            zh_Hans: 原始图片(图片格式:jpeg、png、webp、gif)
          llm_description: ''
          max: null
          min: null
          name: images
          options: []
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: false
          scope: null
          template: null
          type: files
        - auto_generate: null
          default: null
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 是否添加水印(默认值true)
            ja_JP: 是否添加水印(默认值true)
            pt_BR: 是否添加水印(默认值true)
            zh_Hans: 是否添加水印(默认值true)
          llm_description: ''
          max: null
          min: null
          name: watermark
          options:
          - icon: null
            label:
              en_US: 'true'
              ja_JP: 'true'
              pt_BR: 'true'
              zh_Hans: 'true'
            value: 'true'
          - icon: null
            label:
              en_US: 'false'
              ja_JP: 'false'
              pt_BR: 'false'
              zh_Hans: 'false'
            value: 'false'
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: false
          scope: null
          template: null
          type: select
        params:
          custom_size: ''
          images: ''
          max_images: ''
          model: ''
          prompt: ''
          sequential_image_generation: ''
          size: ''
          watermark: ''
        provider_id: 22632cc7-732a-4b68-94e7-5be7e1b48ba9
        provider_name: 即梦-文/图生图-4.x版本
        provider_type: workflow
        selected: false
        title: 即梦扩图16:10
        tool_configurations: {}
        tool_description: 即梦-文/图生图-4.x版本
        tool_label: 即梦-文/图生图-4.x版本
        tool_name: seedream_i2i_t2i_tool
        tool_node_version: '2'
        tool_parameters:
          custom_size:
            type: mixed
            value: '{{#1768978654879.chichun#}}'
          images:
            type: variable
            value:
            - '1776959096482'
            - image
          max_images:
            type: constant
            value: null
          model:
            type: constant
            value: doubao-seedream-4-0-250828
          prompt:
            type: mixed
            value: '{{#1768988097638.text#}}'
          sequential_image_generation:
            type: constant
            value: disabled
          size:
            type: constant
            value: 1K
          watermark:
            type: constant
            value: 'false'
        type: tool
      height: 92
      id: '1768987266787'
      position:
        x: 1453.0787941473793
        y: 411
      positionAbsolute:
        x: 1453.0787941473793
        y: 411
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        desc: ''
        outputs:
        - value_selector:
          - '1768987266787'
          - url_list
          value_type: any
          variable: url_list
        - value_selector:
          - '1777017114476'
          - url
          value_type: string
          variable: url
        - value_selector:
          - '1777018235893'
          - url
          value_type: string
          variable: url_1
        selected: false
        title: 结束 2
        type: end
      height: 141
      id: '1768987274782'
      position:
        x: 2491
        y: 411
      positionAbsolute:
        x: 2491
        y: 411
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        audio:
          configs:
            variable_selector: []
          enabled: false
        context:
          enabled: false
          variable_selector: []
        desc: ''
        model:
          completion_params: {}
          mode: chat
          name: doubao-1-5-pro-32k-250115
          provider: aict/ai_hub/ai_hub
        prompt_template:
        - id: 4d1c24c5-8f09-4e4e-bdfb-e62637eef00f
          role: system
          text: "# Role\n你是一位精通艺术史与视觉传达的顶级海报设计师。你擅长挖掘画家的灵魂特征,并将其代表作元素与肖像完美融合,创作出具有深度的\
            \ AI 绘图提示词。\n\n# Task\n基于输入的课程信息,执行以下【知识提取】逻辑,并最终生成提供给“即梦/Dreamina”的绘图提示词。\n\
            \n# Workflow (Internal Logic)\n1. **身份识别**:从课程名称或描述中提取核心画家姓名。\n2. **特征提炼**:\n\
            \   - **肖像特征**:联想该画家的真实长相标志(如常玉的儒雅短发、梵高的红胡子、莫奈的白长髯等)。\n   - **精神气质**:提炼其核心情感(如:常玉的孤绝、达利的荒诞、拉斐尔的优雅)。\n\
            3. **视觉符号**:联想该画家的【至少一幅代表作】,提取其最具辨识度的视觉符号(如:常玉的粉色小象/裸女/大盆景、梵高的向日葵/星空笔触、达利的融化的时钟)。\n\
            4. **空间重构**:将上述元素组合,并严格预留文字排版区域,避免遮挡。\n\n# Design Principles\n- **视觉权重**:明确要求标题为“特大号字体(Gigantic\
            \ font size)”或“视觉焦点(Primary visual focal point)”。\n- **严禁数学描述**:禁止使用“40%”、“占比”等词汇。请使用\
            \ \"Wide empty space\", \"Plain background\", \"Off-center composition\"\
            \ 等空间词汇。\n- **文字渲染**:将课程标题放入引号,并指定其在画面留白处的位置。强制要求:**“标题占据画面显著位置,相对而言较大,确保极强的视觉冲击力”**。\n\
            \n# Output Format (仅输出以下结构,不要输出思考过程)\n核心画面主体:肖像特征描述 + 代表作符号元素融合, 艺术流派与特定笔触描述,\
            \ 构图排版与留白指令, 文字标题位置:强调特大号醒目字体、分行排版及字体气质, 光影与色彩细节, 画面比例指令\n\n---\n\n###\
            \ 示例参考 (Example Output):\n\"画面左侧是一位儒雅的东方中年男子(常玉肖像特征),身穿旧式西装,眼神静穆。他身边环绕着几只极其简约的粉色小象(代表作《五裸女》后的动物符号),背景是常玉式的莫兰迪色大面积色块。画面右侧是一片纯净、空灵的留白空间。视觉重心处渲染标题:'常玉:寂静的宇宙独白',采用分行排版。风格融合宣纸油画质感,极致留白,4K画质,比例\
            \ 16:9。\""
        - id: 5ef6d75f-823f-4097-9bef-0620ef715f3e
          role: user
          text: '课程标题:{{#1768978654879.biaoti#}}

            课程描述:{{#1768978654879.kechengmiaoshu#}}

            风格:{{#1768978654879.fengge#}}'
        selected: false
        title: 整体课程封面设计
        type: llm
        variables: []
        video:
          configs:
            variable_selector: []
          enabled: false
        vision:
          enabled: false
      height: 120
      id: '1768987434531'
      position:
        x: 383
        y: 422
      positionAbsolute:
        x: 383
        y: 422
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        cases:
        - case_id: 77edd385-08aa-4468-93da-0e9465d54f2c
          conditions:
          - comparison_operator: is
            id: 1cbb9dd0-587b-40cb-944e-35d554b01141
            value: 单背景
            varType: string
            variable_selector:
            - '1768978654879'
            - Frame_Design
          id: 77edd385-08aa-4468-93da-0e9465d54f2c
          logical_operator: and
        desc: ''
        selected: false
        title: 条件分支
        type: if-else
      height: 124
      id: '1768987457911'
      position:
        x: 30
        y: 247
      positionAbsolute:
        x: 30
        y: 247
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        audio:
          configs:
            variable_selector: []
          enabled: false
        context:
          enabled: false
          variable_selector: []
        desc: ''
        model:
          completion_params:
            temperature: 0.7
          mode: chat
          name: gpt-4o-2024-11-20
          provider: aict/ai_hub/ai_hub
        prompt_template:
        - id: 3a4461d3-8527-4329-8fb5-9c78e890fabf
          role: system
          text: '将这张图片扩展到 16:10 的宽高比例。

            要求:

            1. 保持原图所有内容完全不变(人物、物体、构图、色彩、风格)

            2. 仅在边缘区域向外延伸,补全画面

            3. 延伸部分的风格、光影、色调必须与原图无缝衔接

            4. 不添加任何新的主体元素,只延续背景/环境

            5. 不要在图片上体现任何16:10的文字内容,这跟图本身没任何关系


            **核心亮点:** 明确「只扩不改」的边界,防止 AI 擅自修改原图内容

            **适用平台:** 即梦(图片扩展/Outpainting 功能)

            **效果预期:** 原图内容 100% 保留,边缘自然延伸至 16:10 比例

            **使用方式:** 上传原图 → 选择扩图/图片扩展功能 → 输入上方提示词 → 在比例设置中选择 16:10(或手动输入目标尺寸)'
        selected: false
        title: 扩图提示词
        type: llm
        variables: []
        video:
          configs:
            variable_selector: []
          enabled: false
        vision:
          enabled: false
      height: 120
      id: '1768988097638'
      position:
        x: 1026.8713226800082
        y: 411
      positionAbsolute:
        x: 1026.8713226800082
        y: 411
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        desc: ''
        model_info:
          config_version: v1
          model_id: jimeng-seedream-4.5-img2img
          model_name: 即梦 SeedDream 4.5 图生图
          provider: doubao
          provider_name: 即梦
        params:
          custom_size:
            type: constant
            value: null
          enable_cs_transfer:
            type: constant
            value: true
          images:
            type: variable
            value_selector:
            - '1768978654879'
            - huajia
          max_images:
            type: constant
            value: 1
          prompt:
            type: constant
            value: '{{#1768987434531.text#}}'
          sequential_image_generation:
            type: constant
            value: false
          size:
            type: constant
            value: 2560x1440
          watermark:
            type: constant
            value: false
        selected: false
        title: 图像生成
        type: image-generation
      height: 213
      id: '1776959096482'
      position:
        x: 656.282541125074
        y: 469.0966325548784
      positionAbsolute:
        x: 656.282541125074
        y: 469.0966325548784
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        code: "import json\n\ndef main(input_str: str):\n    try:\n        # 1. 因为输入是一个被转义的字符串,先将其解析为\
          \ dict\n        data_dict = json.loads(input_str)\n        \n        # 2.\
          \ 从解析后的字典中获取 url_list\n        url_list = data_dict.get(\"url_list\", [])\n\
          \        \n        # 3. 提取第一个 URL\n        first_url = url_list[0] if url_list\
          \ else \"\"\n        \n        return {\n            \"url\": first_url\n\
          \        }\n    except Exception as e:\n        # 万一解析失败,返回错误信息和空值\n   \
          \     return {\n            \"url\": \"\",\n            \"error\": str(e)\n\
          \        }"
        code_language: python3
        desc: ''
        outputs:
          url:
            children: null
            type: string
        selected: false
        title: 代码执行
        type: code
        variables:
        - value_selector:
          - '1768987266787'
          - text
          value_type: string
          variable: input_str
      height: 52
      id: '1777017114476'
      position:
        x: 1762.345784240332
        y: 411
      positionAbsolute:
        x: 1762.345784240332
        y: 411
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        desc: ''
        is_team_authorization: true
        output_schema: null
        outputs:
        - type: string
          value_selector:
          - '1772431478571'
          - url
          value_type: string
          variable: url
        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: 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: 资源类型
            ja_JP: 资源类型
            pt_BR: 资源类型
            zh_Hans: 资源类型
          llm_description: ''
          max: null
          min: null
          name: type
          options:
          - icon: null
            label:
              en_US: jpg/image
              ja_JP: jpg/image
              pt_BR: jpg/image
              zh_Hans: jpg/image
            value: jpg/image
          - icon: null
            label:
              en_US: mp4/video
              ja_JP: mp4/video
              pt_BR: mp4/video
              zh_Hans: mp4/video
            value: mp4/video
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: true
          scope: null
          template: null
          type: select
        - auto_generate: null
          default: 'false'
          form: llm
          human_description:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          label:
            en_US: 资源是否传cs
            ja_JP: 资源是否传cs
            pt_BR: 资源是否传cs
            zh_Hans: 资源是否传cs
          llm_description: ''
          max: null
          min: null
          name: isCs
          options:
          - icon: null
            label:
              en_US: 'true'
              ja_JP: 'true'
              pt_BR: 'true'
              zh_Hans: 'true'
            value: 'true'
          - icon: null
            label:
              en_US: 'false'
              ja_JP: 'false'
              pt_BR: 'false'
              zh_Hans: 'false'
            value: 'false'
          placeholder:
            en_US: ''
            ja_JP: ''
            pt_BR: ''
            zh_Hans: ''
          precision: null
          required: false
          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: 是否返回CDN地址(默认:是)
            ja_JP: 是否返回CDN地址(默认:是)
            pt_BR: 是否返回CDN地址(默认:是)
            zh_Hans: 是否返回CDN地址(默认:是)
          llm_description: ''
          max: null
          min: null
          name: isCdn
          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: false
          scope: null
          template: null
          type: select
        params:
          isCdn: ''
          isCs: ''
          type: ''
          url: ''
        provider_id: 8e9ef31b-83d5-4a5a-a717-1e7d86250a62
        provider_name: AI课件-资源转存
        provider_type: workflow
        selected: false
        title: AI课件-资源转存
        tool_configurations: {}
        tool_description: 把外网的资源转存的ndr上
        tool_label: AI课件-资源转存
        tool_name: aic_resource_storage
        tool_node_version: '2'
        tool_parameters:
          isCdn:
            type: constant
            value: 是
          isCs:
            type: constant
            value: 'true'
          type:
            type: constant
            value: jpg/image
          url:
            type: mixed
            value: '{{#1777017114476.url#}}'
        type: tool
      height: 92
      id: '1777018235893'
      position:
        x: 2087.6171480502667
        y: 411
      positionAbsolute:
        x: 2087.6171480502667
        y: 411
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    viewport:
      x: 584.6219286705245
      y: 122.3299037729164
      zoom: 0.8705505632961237