🤖

gemini-2.0-flash-exp-image-generation-文生图智能体

暂无描述

⬡ 16 节点 ↓ 10 下载 ⚙ advanced-chat ⭐ 85/100 2026-05-28

工作流图谱

YAML 源码

app:
  description: ''
  icon: 🤖
  icon_background: '#FFEAD5'
  mode: advanced-chat
  name: gemini-2.0-flash-exp-image-generation-文生图智能体
  use_icon_as_answer_icon: false
kind: app
version: 0.1.5
workflow:
  conversation_variables:
  - description: AI绘画生成的图片URL
    id: 2a15d402-18c0-441d-b167-12eb92eb93d7
    name: picture_url
    selector:
    - conversation
    - picture_url
    value: ''
    value_type: string
  environment_variables:
  - description: ''
    id: e0b030e2-9602-4d38-9eef-de161f28bd88
    name: apikey
    selector:
    - env
    - apikey
    value: AIzaSyA5ZUXSNpBPylk8EpeSIT_e0sicAej8Ilw
    value_type: string
  - description: ''
    id: cd56bbbb-a03d-480f-9fa3-fb6c3e1d30c8
    name: model
    selector:
    - env
    - model
    value: gemini-2.0-flash-exp-image-generation
    value_type: string
  features:
    file_upload:
      allowed_file_extensions:
      - .JPG
      - .JPEG
      - .PNG
      - .GIF
      - .WEBP
      - .SVG
      allowed_file_types:
      - image
      allowed_file_upload_methods:
      - local_file
      - remote_url
      enabled: false
      fileUploadConfig:
        audio_file_size_limit: 50
        batch_count_limit: 5
        file_size_limit: 15
        image_file_size_limit: 10
        video_file_size_limit: 100
        workflow_file_upload_limit: 10
      image:
        enabled: false
        number_limits: 3
        transfer_methods:
        - local_file
        - remote_url
      number_limits: 3
    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
        sourceType: start
        targetType: question-classifier
      id: 1742446598245-source-1742446787311-target
      source: '1742446598245'
      sourceHandle: source
      target: '1742446787311'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: question-classifier
        targetType: llm
      id: 1742446787311-2-1742446898705-target
      source: '1742446787311'
      sourceHandle: '2'
      target: '1742446898705'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: llm
        targetType: answer
      id: 1742446898705-source-answer-target
      source: '1742446898705'
      sourceHandle: source
      target: answer
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: llm
        targetType: tool
      id: 1742448203649-source-1742449038487-target
      source: '1742448203649'
      sourceHandle: source
      target: '1742449038487'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: tool
        targetType: code
      id: 1742449038487-source-1742451731296-target
      source: '1742449038487'
      sourceHandle: source
      target: '1742451731296'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: code
        targetType: answer
      id: 1742451731296-source-1742448325619-target
      source: '1742451731296'
      sourceHandle: source
      target: '1742448325619'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: code
        targetType: assigner
      id: 1742451731296-source-1742452435565-target
      source: '1742451731296'
      sourceHandle: source
      target: '1742452435565'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: question-classifier
        targetType: if-else
      id: 1742446787311-1-1742452572103-target
      source: '1742446787311'
      sourceHandle: '1'
      target: '1742452572103'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: if-else
        targetType: llm
      id: 1742452572103-true-1742448203649-target
      source: '1742452572103'
      sourceHandle: 'true'
      target: '1742448203649'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: if-else
        targetType: llm
      id: 1742452572103-false-1742452621093-target
      source: '1742452572103'
      sourceHandle: 'false'
      target: '1742452621093'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: llm
        targetType: tool
      id: 1742452621093-source-1742452745576-target
      source: '1742452621093'
      sourceHandle: source
      target: '1742452745576'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: tool
        targetType: code
      id: 1742452745576-source-1742452830955-target
      source: '1742452745576'
      sourceHandle: source
      target: '1742452830955'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: code
        targetType: answer
      id: 1742452830955-source-1742452901225-target
      source: '1742452830955'
      sourceHandle: source
      target: '1742452901225'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: code
        targetType: assigner
      id: 1742452830955-source-1742452931519-target
      source: '1742452830955'
      sourceHandle: source
      target: '1742452931519'
      targetHandle: target
      type: custom
      zIndex: 0
    nodes:
    - data:
        desc: ''
        selected: false
        title: 开始
        type: start
        variables: []
      height: 53
      id: '1742446598245'
      position:
        x: -339.55283203125
        y: 247
      positionAbsolute:
        x: -339.55283203125
        y: 247
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 243
    - data:
        answer: '{{#1742446898705.text#}}'
        desc: ''
        selected: false
        title: 直接回复
        type: answer
        variables: []
      height: 102
      id: answer
      position:
        x: 924.9999999999999
        y: 400
      positionAbsolute:
        x: 924.9999999999999
        y: 400
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 243
    - data:
        classes:
        - id: '1'
          name: AI绘画问题
        - id: '2'
          name: 其他类问题
        desc: ''
        instructions: ''
        model:
          completion_params:
            temperature: 0.7
          mode: chat
          name: deepseek-V3
          provider: volcengine_maas
        query_variable_selector:
        - '1742446598245'
        - sys.query
        selected: false
        title: 问题分类器
        topics: []
        type: question-classifier
        vision:
          enabled: false
      height: 175
      id: '1742446787311'
      position:
        x: -38
        y: 247
      positionAbsolute:
        x: -38
        y: 247
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 243
    - data:
        context:
          enabled: false
          variable_selector: []
        desc: ''
        model:
          completion_params:
            temperature: 0.7
          mode: chat
          name: internlm3-8b-instruct
          provider: openai_api_compatible
        prompt_template:
        - edition_type: basic
          id: b7aa8865-08bd-489b-a2f3-d347d2127674
          role: system
          text: '{{#sys.query#}}'
        selected: false
        title: 其他类LLM大语言模型
        type: llm
        variables: []
        vision:
          enabled: false
      height: 97
      id: '1742446898705'
      position:
        x: 525
        y: 470
      positionAbsolute:
        x: 525
        y: 470
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 243
    - data:
        context:
          enabled: false
          variable_selector: []
        desc: ''
        memory:
          query_prompt_template: ''
          role_prefix:
            assistant: ''
            user: ''
          window:
            enabled: false
            size: 50
        model:
          completion_params:
            temperature: 0.7
          mode: chat
          name: deepseek-ai/DeepSeek-V2.5
          provider: siliconflow
        prompt_template:
        - edition_type: basic
          id: 2b7c5ff0-80a7-481a-b3c1-e2971f3aafef
          role: system
          text: '# Role: AI绘画和修改提示词专家


            ## Profile

            - 专长: 生成和修改AI绘画提示词

            - 语言能力: 中英文双语流利

            - 创造力: 高

            - 安全意识: 强


            ## Background

            你是一位专业的AI绘画提示词专家,擅长将用户的简单描述转化为详细、富有创意的AI绘画提示词。你还能根据用户的反馈修改和优化提示词。


            ## Goals

            1. 将用户的简单描述转化为详细的AI绘画提示词

            2. 根据用户的反馈修改和优化提示词

            3. 确保生成的内容符合安全和道德标准


            ## Skills

            1. 理解用户意图并扩展描述

            2. 将中文描述转换为英文AI绘画提示词

            3. 根据用户反馈快速调整提示词

            4. 应用安全过滤,确保内容适当


            ## Rules

            1. 始终以英语生成最终的AI绘画提示词

            2. 提供详细、富有想象力的描述,包括场景、颜色、光线等元素

            3. 严格遵守安全指南,不生成任何不适当或有害的内容

            4. 在修改提示词时,保留原有的核心元素,同时融入用户的新要求


            ## Workflow

            1. 分析用户的初始描述

            2. 扩展描述,添加细节和创意元素

            3. 将扩展后的描述转换为英文AI绘画提示词

            4. 如果用户要求修改,仔细分析新需求

            5. 在原有提示词基础上进行调整,满足新要求

            6. 确保修改后的提示词仍符合安全标准


            ## Safety Guidelines

            - 禁止生成色情内容

         ...(过长已截断)