流程引擎
This commit is contained in:
@@ -0,0 +1,501 @@
|
||||
app:
|
||||
description: Chatflow,基于Doubao Seedream 4.5
|
||||
icon: 🤖
|
||||
icon_background: '#FFEAD5'
|
||||
icon_type: emoji
|
||||
mode: advanced-chat
|
||||
name: 文生图chatflow
|
||||
use_icon_as_answer_icon: false
|
||||
dependencies:
|
||||
- current_identifier: null
|
||||
type: marketplace
|
||||
value:
|
||||
marketplace_plugin_unique_identifier: langgenius/volcengine_maas:0.0.46@cbdbb9440236d4e83ee6a14566d42a75ab478abf47127c56d1f05642e4c60baf
|
||||
version: null
|
||||
- current_identifier: null
|
||||
type: marketplace
|
||||
value:
|
||||
marketplace_plugin_unique_identifier: sawyer-shi/seedream_aigc:0.0.1@cb3174212b2e32038019fdbbba3c970f68116533ec294a30e6ebdb5af23a4662
|
||||
version: null
|
||||
kind: app
|
||||
version: 0.6.0
|
||||
workflow:
|
||||
conversation_variables: []
|
||||
environment_variables: []
|
||||
features:
|
||||
file_upload:
|
||||
allowed_file_extensions:
|
||||
- .JPG
|
||||
- .JPEG
|
||||
- .PNG
|
||||
- .GIF
|
||||
- .WEBP
|
||||
- .SVG
|
||||
allowed_file_types:
|
||||
- image
|
||||
allowed_file_upload_methods:
|
||||
- local_file
|
||||
enabled: false
|
||||
fileUploadConfig:
|
||||
attachment_image_file_size_limit: 2
|
||||
audio_file_size_limit: 50
|
||||
batch_count_limit: 5
|
||||
file_size_limit: 15
|
||||
file_upload_limit: 20
|
||||
image_file_batch_limit: 10
|
||||
image_file_size_limit: 10
|
||||
single_chunk_attachment_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: 1
|
||||
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:
|
||||
isInLoop: false
|
||||
sourceType: tool
|
||||
targetType: answer
|
||||
id: 1772414851102-source-1772169114754-target
|
||||
source: '1772414851102'
|
||||
sourceHandle: source
|
||||
target: '1772169114754'
|
||||
targetHandle: target
|
||||
type: custom
|
||||
zIndex: 0
|
||||
- data:
|
||||
isInIteration: false
|
||||
isInLoop: false
|
||||
sourceType: start
|
||||
targetType: llm
|
||||
id: 1770971984579-source-1773106833398-target
|
||||
source: '1770971984579'
|
||||
sourceHandle: source
|
||||
target: '1773106833398'
|
||||
targetHandle: target
|
||||
type: custom
|
||||
zIndex: 0
|
||||
- data:
|
||||
isInLoop: false
|
||||
sourceType: llm
|
||||
targetType: answer
|
||||
id: 1773106833398-source-1772169114754-target
|
||||
source: '1773106833398'
|
||||
sourceHandle: source
|
||||
target: '1772169114754'
|
||||
targetHandle: target
|
||||
type: custom
|
||||
zIndex: 0
|
||||
- data:
|
||||
isInLoop: false
|
||||
sourceType: llm
|
||||
targetType: tool
|
||||
id: 1773106833398-source-1772414851102-target
|
||||
source: '1773106833398'
|
||||
sourceHandle: source
|
||||
target: '1772414851102'
|
||||
targetHandle: target
|
||||
type: custom
|
||||
zIndex: 0
|
||||
nodes:
|
||||
- data:
|
||||
selected: false
|
||||
title: 开始
|
||||
type: start
|
||||
variables: []
|
||||
height: 73
|
||||
id: '1770971984579'
|
||||
position:
|
||||
x: -76.15313929644341
|
||||
y: 287.24884501836783
|
||||
positionAbsolute:
|
||||
x: -76.15313929644341
|
||||
y: 287.24884501836783
|
||||
selected: false
|
||||
sourcePosition: right
|
||||
targetPosition: left
|
||||
type: custom
|
||||
width: 242
|
||||
- data:
|
||||
answer: '{{#1773106833398.text#}}{{#1772414851102.files#}}'
|
||||
selected: false
|
||||
title: 结束
|
||||
type: answer
|
||||
variables: []
|
||||
height: 121
|
||||
id: '1772169114754'
|
||||
position:
|
||||
x: 794.2257453857247
|
||||
y: 308.24884501836783
|
||||
positionAbsolute:
|
||||
x: 794.2257453857247
|
||||
y: 308.24884501836783
|
||||
selected: false
|
||||
sourcePosition: right
|
||||
targetPosition: left
|
||||
type: custom
|
||||
width: 242
|
||||
- data:
|
||||
is_team_authorization: true
|
||||
paramSchemas:
|
||||
- auto_generate: null
|
||||
default: null
|
||||
form: llm
|
||||
human_description:
|
||||
en_US: Text description of the image you want to generate
|
||||
ja_JP: Text description of the image you want to generate
|
||||
pt_BR: Text description of the image you want to generate
|
||||
zh_Hans: 您想要生成的图像的文本描述
|
||||
label:
|
||||
en_US: Prompt
|
||||
ja_JP: Prompt
|
||||
pt_BR: Prompt
|
||||
zh_Hans: 提示词
|
||||
llm_description: Text description of the image to generate
|
||||
max: null
|
||||
min: null
|
||||
name: prompt
|
||||
options: []
|
||||
placeholder: null
|
||||
precision: null
|
||||
required: true
|
||||
scope: null
|
||||
template: null
|
||||
type: string
|
||||
- auto_generate: null
|
||||
default: 2048x2048
|
||||
form: form
|
||||
human_description:
|
||||
en_US: Size of the generated image
|
||||
ja_JP: Size of the generated image
|
||||
pt_BR: Size of the generated image
|
||||
zh_Hans: 生成图像的尺寸
|
||||
label:
|
||||
en_US: Image Size
|
||||
ja_JP: Image Size
|
||||
pt_BR: Image Size
|
||||
zh_Hans: 图像尺寸
|
||||
llm_description: Size of the generated image
|
||||
max: null
|
||||
min: null
|
||||
name: size
|
||||
options:
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: 1:1 (2048x2048)
|
||||
ja_JP: 1:1 (2048x2048)
|
||||
pt_BR: 1:1 (2048x2048)
|
||||
zh_Hans: 1:1 (2048x2048)
|
||||
value: 2048x2048
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: 4:3 (2304x1728)
|
||||
ja_JP: 4:3 (2304x1728)
|
||||
pt_BR: 4:3 (2304x1728)
|
||||
zh_Hans: 4:3 (2304x1728)
|
||||
value: 2304x1728
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: 3:4 (1728x2304)
|
||||
ja_JP: 3:4 (1728x2304)
|
||||
pt_BR: 3:4 (1728x2304)
|
||||
zh_Hans: 3:4 (1728x2304)
|
||||
value: 1728x2304
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: 16:9 (2560x1440)
|
||||
ja_JP: 16:9 (2560x1440)
|
||||
pt_BR: 16:9 (2560x1440)
|
||||
zh_Hans: 16:9 (2560x1440)
|
||||
value: 2560x1440
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: 9:16 (1440x2560)
|
||||
ja_JP: 9:16 (1440x2560)
|
||||
pt_BR: 9:16 (1440x2560)
|
||||
zh_Hans: 9:16 (1440x2560)
|
||||
value: 1440x2560
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: 3:2 (2496x1664)
|
||||
ja_JP: 3:2 (2496x1664)
|
||||
pt_BR: 3:2 (2496x1664)
|
||||
zh_Hans: 3:2 (2496x1664)
|
||||
value: 2496x1664
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: 2:3 (1664x2496)
|
||||
ja_JP: 2:3 (1664x2496)
|
||||
pt_BR: 2:3 (1664x2496)
|
||||
zh_Hans: 2:3 (1664x2496)
|
||||
value: 1664x2496
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: 21:9 (3024x1296)
|
||||
ja_JP: 21:9 (3024x1296)
|
||||
pt_BR: 21:9 (3024x1296)
|
||||
zh_Hans: 21:9 (3024x1296)
|
||||
value: 3024x1296
|
||||
placeholder: null
|
||||
precision: null
|
||||
required: false
|
||||
scope: null
|
||||
template: null
|
||||
type: select
|
||||
- auto_generate: null
|
||||
default: 'true'
|
||||
form: form
|
||||
human_description:
|
||||
en_US: Whether to add 'AI Generated' watermark to the image
|
||||
ja_JP: Whether to add 'AI Generated' watermark to the image
|
||||
pt_BR: Whether to add 'AI Generated' watermark to the image
|
||||
zh_Hans: 是否在图像上添加'AI生成'水印
|
||||
label:
|
||||
en_US: Watermark
|
||||
ja_JP: Watermark
|
||||
pt_BR: Watermark
|
||||
zh_Hans: 水印
|
||||
llm_description: Whether to add 'AI Generated' watermark to the image
|
||||
max: null
|
||||
min: null
|
||||
name: watermark
|
||||
options:
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: Enabled
|
||||
ja_JP: Enabled
|
||||
pt_BR: Enabled
|
||||
zh_Hans: 启用
|
||||
value: 'true'
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: Disabled
|
||||
ja_JP: Disabled
|
||||
pt_BR: Disabled
|
||||
zh_Hans: 禁用
|
||||
value: 'false'
|
||||
placeholder: null
|
||||
precision: null
|
||||
required: false
|
||||
scope: null
|
||||
template: null
|
||||
type: select
|
||||
- auto_generate: null
|
||||
default: doubao-seedream-4-5-251128
|
||||
form: form
|
||||
human_description:
|
||||
en_US: Choose the Seedream model version to use
|
||||
ja_JP: Choose the Seedream model version to use
|
||||
pt_BR: Choose the Seedream model version to use
|
||||
zh_Hans: 选择要使用的Seedream模型版本
|
||||
label:
|
||||
en_US: Model Version
|
||||
ja_JP: Model Version
|
||||
pt_BR: Model Version
|
||||
zh_Hans: 模型版本
|
||||
llm_description: Choose the Seedream model version to use
|
||||
max: null
|
||||
min: null
|
||||
name: model
|
||||
options:
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: Seedream4.0
|
||||
ja_JP: Seedream4.0
|
||||
pt_BR: Seedream4.0
|
||||
zh_Hans: Seedream4.0
|
||||
value: doubao-seedream-4-0-250828
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: Seedream4.5
|
||||
ja_JP: Seedream4.5
|
||||
pt_BR: Seedream4.5
|
||||
zh_Hans: Seedream4.5
|
||||
value: doubao-seedream-4-5-251128
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: Seedream5.0 Lite
|
||||
ja_JP: Seedream5.0 Lite
|
||||
pt_BR: Seedream5.0 Lite
|
||||
zh_Hans: Seedream5.0 Lite
|
||||
value: doubao-seedream-5-0-260128
|
||||
placeholder: null
|
||||
precision: null
|
||||
required: false
|
||||
scope: null
|
||||
template: null
|
||||
type: select
|
||||
params:
|
||||
model: ''
|
||||
prompt: ''
|
||||
size: ''
|
||||
watermark: ''
|
||||
plugin_id: sawyer-shi/seedream_aigc
|
||||
plugin_unique_identifier: sawyer-shi/seedream_aigc:0.0.1@cb3174212b2e32038019fdbbba3c970f68116533ec294a30e6ebdb5af23a4662
|
||||
provider_icon: /console/api/workspaces/current/plugin/icon?tenant_id=c01909a5-16ac-4f4f-86f2-bf3c5643f5a6&filename=9638639a259e524d8a12d8fa29d692c7b226cc88124ff4fb1eb2d31d0c9f88d3.svg
|
||||
provider_id: sawyer-shi/seedream_aigc/seedream_aigc
|
||||
provider_name: sawyer-shi/seedream_aigc/seedream_aigc
|
||||
provider_type: builtin
|
||||
selected: false
|
||||
title: 生成图片
|
||||
tool_configurations:
|
||||
model:
|
||||
type: constant
|
||||
value: doubao-seedream-4-5-251128
|
||||
size:
|
||||
type: constant
|
||||
value: 2304x1728
|
||||
watermark:
|
||||
type: constant
|
||||
value: 'true'
|
||||
tool_description: 使用Seedream模型根据文本描述生成图像
|
||||
tool_label: Seedream-文生图
|
||||
tool_name: text2image
|
||||
tool_node_version: '2'
|
||||
tool_parameters:
|
||||
prompt:
|
||||
type: mixed
|
||||
value: '{{#1773106833398.text#}}'
|
||||
type: tool
|
||||
height: 140
|
||||
id: '1772414851102'
|
||||
position:
|
||||
x: 515.8455479683803
|
||||
y: 406.664689112765
|
||||
positionAbsolute:
|
||||
x: 515.8455479683803
|
||||
y: 406.664689112765
|
||||
selected: true
|
||||
sourcePosition: right
|
||||
targetPosition: left
|
||||
type: custom
|
||||
width: 242
|
||||
- data:
|
||||
context:
|
||||
enabled: false
|
||||
variable_selector: []
|
||||
memory:
|
||||
query_prompt_template: '{{#sys.query#}}
|
||||
|
||||
|
||||
{{#sys.files#}}'
|
||||
role_prefix:
|
||||
assistant: ''
|
||||
user: ''
|
||||
window:
|
||||
enabled: true
|
||||
size: 50
|
||||
model:
|
||||
completion_params:
|
||||
temperature: 0.7
|
||||
thinking: disabled
|
||||
mode: chat
|
||||
name: Doubao-Seed-2.0-lite
|
||||
provider: langgenius/volcengine_maas/volcengine_maas
|
||||
prompt_template:
|
||||
- id: 9db34615-57b7-4b6c-92df-ba61026cc867
|
||||
role: system
|
||||
text: '你是一位专业的 AI 绘画提示词优化专家,专门优化适用于表情包图像生成模型的提示词。
|
||||
|
||||
你的任务是:
|
||||
|
||||
将用户简单、模糊或口语化的描述,优化为清晰、具体、具有画面感、适合表情包图像生成模型的高质量提示词。
|
||||
|
||||
|
||||
🦾 优化规则
|
||||
|
||||
1️⃣ 使用自然语言完整描述画面
|
||||
|
||||
避免堆砌关键词,使用流畅中文表达。
|
||||
|
||||
2️⃣ 必须补充以下要素(若用户未提供):
|
||||
|
||||
主体特征(外貌、服装、表情、动作)
|
||||
|
||||
场景环境(地点、时间、天气)
|
||||
|
||||
光线效果(柔光、夕阳、逆光、霓虹灯等)
|
||||
|
||||
画面氛围(温暖、唯美、科技感、史诗感等)
|
||||
|
||||
画面清晰度与细节(高清、细节丰富、真实质感等)
|
||||
|
||||
3️⃣ 画面增强建议(智能补充)
|
||||
|
||||
可以合理补充:
|
||||
|
||||
镜头视角(近景、特写、广角、俯拍等)
|
||||
|
||||
构图方式(居中构图、电影构图)
|
||||
|
||||
质感细节(皮肤纹理、布料质感、金属反光等)
|
||||
|
||||
风格说明(写实摄影风格、二次元插画风格、赛博朋克风格等)
|
||||
|
||||
|
||||
🚫 禁止事项
|
||||
|
||||
不要解释
|
||||
|
||||
不要分点
|
||||
|
||||
不要加引号
|
||||
|
||||
不要输出多个版本
|
||||
|
||||
只输出优化后的完整提示词
|
||||
|
||||
|
||||
🔥 示例
|
||||
|
||||
用户输入:
|
||||
|
||||
未来城市
|
||||
|
||||
优化输出:
|
||||
|
||||
一座充满未来科技感的城市,高耸入云的玻璃与金属建筑,空中飞行汽车穿梭在霓虹灯光照亮的街道上,夜晚场景,蓝紫色霓虹灯光映射在潮湿的地面上,画面具有强烈的赛博朋克氛围,广角视角,细节丰富,高清画质,电影级光影效果
|
||||
|
||||
|
||||
现在,请优化以下用户提供的描述:{{#sys.query#}}'
|
||||
selected: false
|
||||
title: 优化提示词
|
||||
type: llm
|
||||
vision:
|
||||
enabled: false
|
||||
height: 88
|
||||
id: '1773106833398'
|
||||
position:
|
||||
x: 232.4079169765165
|
||||
y: 308.24884501836783
|
||||
positionAbsolute:
|
||||
x: 232.4079169765165
|
||||
y: 308.24884501836783
|
||||
selected: false
|
||||
sourcePosition: right
|
||||
targetPosition: left
|
||||
type: custom
|
||||
width: 242
|
||||
viewport:
|
||||
x: -98.17723102646124
|
||||
y: 209.90706820574871
|
||||
zoom: 0.7229661472728734
|
||||
rag_pipeline_variables: []
|
||||
@@ -0,0 +1,516 @@
|
||||
app:
|
||||
description: Workflow,基于Doubao Seedream 4.5
|
||||
icon: 🤖
|
||||
icon_background: '#FFEAD5'
|
||||
icon_type: emoji
|
||||
mode: workflow
|
||||
name: 文生图workflow
|
||||
use_icon_as_answer_icon: false
|
||||
dependencies:
|
||||
- current_identifier: null
|
||||
type: marketplace
|
||||
value:
|
||||
marketplace_plugin_unique_identifier: langgenius/volcengine_maas:0.0.46@cbdbb9440236d4e83ee6a14566d42a75ab478abf47127c56d1f05642e4c60baf
|
||||
version: null
|
||||
- current_identifier: null
|
||||
type: marketplace
|
||||
value:
|
||||
marketplace_plugin_unique_identifier: sawyer-shi/seedream_aigc:0.0.1@cb3174212b2e32038019fdbbba3c970f68116533ec294a30e6ebdb5af23a4662
|
||||
version: null
|
||||
kind: app
|
||||
version: 0.6.0
|
||||
workflow:
|
||||
conversation_variables: []
|
||||
environment_variables: []
|
||||
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:
|
||||
attachment_image_file_size_limit: 2
|
||||
audio_file_size_limit: 50
|
||||
batch_count_limit: 5
|
||||
file_size_limit: 15
|
||||
file_upload_limit: 20
|
||||
image_file_batch_limit: 10
|
||||
image_file_size_limit: 10
|
||||
single_chunk_attachment_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:
|
||||
isInLoop: false
|
||||
sourceType: start
|
||||
targetType: llm
|
||||
id: 1770860537607-source-1770860542237-target
|
||||
selected: false
|
||||
source: '1770860537607'
|
||||
sourceHandle: source
|
||||
target: '1770860542237'
|
||||
targetHandle: target
|
||||
type: custom
|
||||
zIndex: 0
|
||||
- data:
|
||||
isInIteration: false
|
||||
isInLoop: false
|
||||
sourceType: llm
|
||||
targetType: end
|
||||
id: 1770860542237-source-1770906524488-target
|
||||
selected: false
|
||||
source: '1770860542237'
|
||||
sourceHandle: source
|
||||
target: '1770906524488'
|
||||
targetHandle: target
|
||||
type: custom
|
||||
zIndex: 0
|
||||
- data:
|
||||
isInIteration: false
|
||||
isInLoop: false
|
||||
sourceType: llm
|
||||
targetType: tool
|
||||
id: 1770860542237-source-1772413887082-target
|
||||
source: '1770860542237'
|
||||
sourceHandle: source
|
||||
target: '1772413887082'
|
||||
targetHandle: target
|
||||
type: custom
|
||||
zIndex: 0
|
||||
- data:
|
||||
isInLoop: false
|
||||
sourceType: tool
|
||||
targetType: end
|
||||
id: 1772413887082-source-1770906524488-target
|
||||
source: '1772413887082'
|
||||
sourceHandle: source
|
||||
target: '1770906524488'
|
||||
targetHandle: target
|
||||
type: custom
|
||||
zIndex: 0
|
||||
nodes:
|
||||
- data:
|
||||
selected: false
|
||||
title: 开始
|
||||
type: start
|
||||
variables:
|
||||
- default: ''
|
||||
hint: ''
|
||||
label: 图片生成要求
|
||||
options: []
|
||||
placeholder: ''
|
||||
required: true
|
||||
type: paragraph
|
||||
variable: query
|
||||
height: 109
|
||||
id: '1770860537607'
|
||||
position:
|
||||
x: 120.48998334276632
|
||||
y: 282
|
||||
positionAbsolute:
|
||||
x: 120.48998334276632
|
||||
y: 282
|
||||
selected: false
|
||||
sourcePosition: right
|
||||
targetPosition: left
|
||||
type: custom
|
||||
width: 242
|
||||
- data:
|
||||
context:
|
||||
enabled: false
|
||||
variable_selector: []
|
||||
desc: ''
|
||||
model:
|
||||
completion_params:
|
||||
thinking: disabled
|
||||
mode: chat
|
||||
name: Doubao-Seed-2.0-lite
|
||||
provider: langgenius/volcengine_maas/volcengine_maas
|
||||
prompt_template:
|
||||
- id: 30ca449a-8f74-411d-aac2-a8dfca5f7c20
|
||||
role: system
|
||||
text: '你是一位专业的 AI 绘画提示词优化专家,专门优化适用于表情包图像生成模型的提示词。
|
||||
|
||||
你的任务是:
|
||||
|
||||
将用户简单、模糊或口语化的描述,优化为清晰、具体、具有画面感、适合表情包图像生成模型的高质量提示词。
|
||||
|
||||
|
||||
🦾 优化规则
|
||||
|
||||
1️⃣ 使用自然语言完整描述画面
|
||||
|
||||
避免堆砌关键词,使用流畅中文表达。
|
||||
|
||||
2️⃣ 必须补充以下要素(若用户未提供):
|
||||
|
||||
主体特征(外貌、服装、表情、动作)
|
||||
|
||||
场景环境(地点、时间、天气)
|
||||
|
||||
光线效果(柔光、夕阳、逆光、霓虹灯等)
|
||||
|
||||
画面氛围(温暖、唯美、科技感、史诗感等)
|
||||
|
||||
画面清晰度与细节(高清、细节丰富、真实质感等)
|
||||
|
||||
3️⃣ 画面增强建议(智能补充)
|
||||
|
||||
可以合理补充:
|
||||
|
||||
镜头视角(近景、特写、广角、俯拍等)
|
||||
|
||||
构图方式(居中构图、电影构图)
|
||||
|
||||
质感细节(皮肤纹理、布料质感、金属反光等)
|
||||
|
||||
风格说明(写实摄影风格、二次元插画风格、赛博朋克风格等)
|
||||
|
||||
|
||||
🚫 禁止事项
|
||||
|
||||
不要解释
|
||||
|
||||
不要分点
|
||||
|
||||
不要加引号
|
||||
|
||||
不要输出多个版本
|
||||
|
||||
只输出优化后的完整提示词
|
||||
|
||||
|
||||
🔥 示例
|
||||
|
||||
用户输入:
|
||||
|
||||
未来城市
|
||||
|
||||
优化输出:
|
||||
|
||||
一座充满未来科技感的城市,高耸入云的玻璃与金属建筑,空中飞行汽车穿梭在霓虹灯光照亮的街道上,夜晚场景,蓝紫色霓虹灯光映射在潮湿的地面上,画面具有强烈的赛博朋克氛围,广角视角,细节丰富,高清画质,电影级光影效果
|
||||
|
||||
|
||||
现在,请优化以下用户提供的描述:{{#1770860537607.query#}}'
|
||||
- id: 8a923e7a-8934-4b9a-ba3f-4e80d37710de
|
||||
role: user
|
||||
text: ''
|
||||
reasoning_format: tagged
|
||||
selected: false
|
||||
structured_output_enabled: false
|
||||
title: 优化提示词
|
||||
type: llm
|
||||
vision:
|
||||
enabled: false
|
||||
height: 88
|
||||
id: '1770860542237'
|
||||
position:
|
||||
x: 407.1277995859348
|
||||
y: 303
|
||||
positionAbsolute:
|
||||
x: 407.1277995859348
|
||||
y: 303
|
||||
selected: true
|
||||
sourcePosition: right
|
||||
targetPosition: left
|
||||
type: custom
|
||||
width: 242
|
||||
- data:
|
||||
outputs:
|
||||
- value_selector:
|
||||
- '1770860542237'
|
||||
- text
|
||||
value_type: string
|
||||
variable: text
|
||||
- value_selector:
|
||||
- '1772413887082'
|
||||
- files
|
||||
value_type: array[file]
|
||||
variable: files
|
||||
selected: false
|
||||
title: 结束
|
||||
type: end
|
||||
height: 114
|
||||
id: '1770906524488'
|
||||
position:
|
||||
x: 1042.2803364774247
|
||||
y: 303
|
||||
positionAbsolute:
|
||||
x: 1042.2803364774247
|
||||
y: 303
|
||||
selected: false
|
||||
sourcePosition: right
|
||||
targetPosition: left
|
||||
type: custom
|
||||
width: 242
|
||||
- data:
|
||||
is_team_authorization: true
|
||||
paramSchemas:
|
||||
- auto_generate: null
|
||||
default: null
|
||||
form: llm
|
||||
human_description:
|
||||
en_US: Text description of the image you want to generate
|
||||
ja_JP: Text description of the image you want to generate
|
||||
pt_BR: Text description of the image you want to generate
|
||||
zh_Hans: 您想要生成的图像的文本描述
|
||||
label:
|
||||
en_US: Prompt
|
||||
ja_JP: Prompt
|
||||
pt_BR: Prompt
|
||||
zh_Hans: 提示词
|
||||
llm_description: Text description of the image to generate
|
||||
max: null
|
||||
min: null
|
||||
name: prompt
|
||||
options: []
|
||||
placeholder: null
|
||||
precision: null
|
||||
required: true
|
||||
scope: null
|
||||
template: null
|
||||
type: string
|
||||
- auto_generate: null
|
||||
default: 2048x2048
|
||||
form: form
|
||||
human_description:
|
||||
en_US: Size of the generated image
|
||||
ja_JP: Size of the generated image
|
||||
pt_BR: Size of the generated image
|
||||
zh_Hans: 生成图像的尺寸
|
||||
label:
|
||||
en_US: Image Size
|
||||
ja_JP: Image Size
|
||||
pt_BR: Image Size
|
||||
zh_Hans: 图像尺寸
|
||||
llm_description: Size of the generated image
|
||||
max: null
|
||||
min: null
|
||||
name: size
|
||||
options:
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: 1:1 (2048x2048)
|
||||
ja_JP: 1:1 (2048x2048)
|
||||
pt_BR: 1:1 (2048x2048)
|
||||
zh_Hans: 1:1 (2048x2048)
|
||||
value: 2048x2048
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: 4:3 (2304x1728)
|
||||
ja_JP: 4:3 (2304x1728)
|
||||
pt_BR: 4:3 (2304x1728)
|
||||
zh_Hans: 4:3 (2304x1728)
|
||||
value: 2304x1728
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: 3:4 (1728x2304)
|
||||
ja_JP: 3:4 (1728x2304)
|
||||
pt_BR: 3:4 (1728x2304)
|
||||
zh_Hans: 3:4 (1728x2304)
|
||||
value: 1728x2304
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: 16:9 (2560x1440)
|
||||
ja_JP: 16:9 (2560x1440)
|
||||
pt_BR: 16:9 (2560x1440)
|
||||
zh_Hans: 16:9 (2560x1440)
|
||||
value: 2560x1440
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: 9:16 (1440x2560)
|
||||
ja_JP: 9:16 (1440x2560)
|
||||
pt_BR: 9:16 (1440x2560)
|
||||
zh_Hans: 9:16 (1440x2560)
|
||||
value: 1440x2560
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: 3:2 (2496x1664)
|
||||
ja_JP: 3:2 (2496x1664)
|
||||
pt_BR: 3:2 (2496x1664)
|
||||
zh_Hans: 3:2 (2496x1664)
|
||||
value: 2496x1664
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: 2:3 (1664x2496)
|
||||
ja_JP: 2:3 (1664x2496)
|
||||
pt_BR: 2:3 (1664x2496)
|
||||
zh_Hans: 2:3 (1664x2496)
|
||||
value: 1664x2496
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: 21:9 (3024x1296)
|
||||
ja_JP: 21:9 (3024x1296)
|
||||
pt_BR: 21:9 (3024x1296)
|
||||
zh_Hans: 21:9 (3024x1296)
|
||||
value: 3024x1296
|
||||
placeholder: null
|
||||
precision: null
|
||||
required: false
|
||||
scope: null
|
||||
template: null
|
||||
type: select
|
||||
- auto_generate: null
|
||||
default: 'true'
|
||||
form: form
|
||||
human_description:
|
||||
en_US: Whether to add 'AI Generated' watermark to the image
|
||||
ja_JP: Whether to add 'AI Generated' watermark to the image
|
||||
pt_BR: Whether to add 'AI Generated' watermark to the image
|
||||
zh_Hans: 是否在图像上添加'AI生成'水印
|
||||
label:
|
||||
en_US: Watermark
|
||||
ja_JP: Watermark
|
||||
pt_BR: Watermark
|
||||
zh_Hans: 水印
|
||||
llm_description: Whether to add 'AI Generated' watermark to the image
|
||||
max: null
|
||||
min: null
|
||||
name: watermark
|
||||
options:
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: Enabled
|
||||
ja_JP: Enabled
|
||||
pt_BR: Enabled
|
||||
zh_Hans: 启用
|
||||
value: 'true'
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: Disabled
|
||||
ja_JP: Disabled
|
||||
pt_BR: Disabled
|
||||
zh_Hans: 禁用
|
||||
value: 'false'
|
||||
placeholder: null
|
||||
precision: null
|
||||
required: false
|
||||
scope: null
|
||||
template: null
|
||||
type: select
|
||||
- auto_generate: null
|
||||
default: doubao-seedream-4-5-251128
|
||||
form: form
|
||||
human_description:
|
||||
en_US: Choose the Seedream model version to use
|
||||
ja_JP: Choose the Seedream model version to use
|
||||
pt_BR: Choose the Seedream model version to use
|
||||
zh_Hans: 选择要使用的Seedream模型版本
|
||||
label:
|
||||
en_US: Model Version
|
||||
ja_JP: Model Version
|
||||
pt_BR: Model Version
|
||||
zh_Hans: 模型版本
|
||||
llm_description: Choose the Seedream model version to use
|
||||
max: null
|
||||
min: null
|
||||
name: model
|
||||
options:
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: Seedream4.0
|
||||
ja_JP: Seedream4.0
|
||||
pt_BR: Seedream4.0
|
||||
zh_Hans: Seedream4.0
|
||||
value: doubao-seedream-4-0-250828
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: Seedream4.5
|
||||
ja_JP: Seedream4.5
|
||||
pt_BR: Seedream4.5
|
||||
zh_Hans: Seedream4.5
|
||||
value: doubao-seedream-4-5-251128
|
||||
- icon: ''
|
||||
label:
|
||||
en_US: Seedream5.0 Lite
|
||||
ja_JP: Seedream5.0 Lite
|
||||
pt_BR: Seedream5.0 Lite
|
||||
zh_Hans: Seedream5.0 Lite
|
||||
value: doubao-seedream-5-0-260128
|
||||
placeholder: null
|
||||
precision: null
|
||||
required: false
|
||||
scope: null
|
||||
template: null
|
||||
type: select
|
||||
params:
|
||||
model: ''
|
||||
prompt: ''
|
||||
size: ''
|
||||
watermark: ''
|
||||
plugin_id: sawyer-shi/seedream_aigc
|
||||
plugin_unique_identifier: sawyer-shi/seedream_aigc:0.0.1@cb3174212b2e32038019fdbbba3c970f68116533ec294a30e6ebdb5af23a4662
|
||||
provider_icon: /console/api/workspaces/current/plugin/icon?tenant_id=c01909a5-16ac-4f4f-86f2-bf3c5643f5a6&filename=9638639a259e524d8a12d8fa29d692c7b226cc88124ff4fb1eb2d31d0c9f88d3.svg
|
||||
provider_id: sawyer-shi/seedream_aigc/seedream_aigc
|
||||
provider_name: sawyer-shi/seedream_aigc/seedream_aigc
|
||||
provider_type: builtin
|
||||
selected: false
|
||||
title: 生成图片
|
||||
tool_configurations:
|
||||
model:
|
||||
type: constant
|
||||
value: doubao-seedream-4-5-251128
|
||||
size:
|
||||
type: constant
|
||||
value: 2304x1728
|
||||
watermark:
|
||||
type: constant
|
||||
value: 'false'
|
||||
tool_description: 使用Seedream模型根据文本描述生成图像
|
||||
tool_label: Seedream-文生图
|
||||
tool_name: text2image
|
||||
tool_node_version: '2'
|
||||
tool_parameters:
|
||||
prompt:
|
||||
type: mixed
|
||||
value: '{{#1770860542237.text#}}'
|
||||
type: tool
|
||||
height: 140
|
||||
id: '1772413887082'
|
||||
position:
|
||||
x: 724.3961460301044
|
||||
y: 363.17781638938254
|
||||
positionAbsolute:
|
||||
x: 724.3961460301044
|
||||
y: 363.17781638938254
|
||||
selected: false
|
||||
sourcePosition: right
|
||||
targetPosition: left
|
||||
type: custom
|
||||
width: 242
|
||||
viewport:
|
||||
x: 129.28736721338242
|
||||
y: 132.27871402175327
|
||||
zoom: 0.7450591277173519
|
||||
rag_pipeline_variables: []
|
||||
@@ -0,0 +1,119 @@
|
||||
app:
|
||||
description: Agent
|
||||
icon: 🤖
|
||||
icon_background: '#FFEAD5'
|
||||
icon_type: emoji
|
||||
mode: agent-chat
|
||||
name: 简单agent
|
||||
use_icon_as_answer_icon: false
|
||||
dependencies:
|
||||
- current_identifier: null
|
||||
type: marketplace
|
||||
value:
|
||||
marketplace_plugin_unique_identifier: langgenius/volcengine_maas:0.0.46@cbdbb9440236d4e83ee6a14566d42a75ab478abf47127c56d1f05642e4c60baf
|
||||
version: null
|
||||
kind: app
|
||||
model_config:
|
||||
agent_mode:
|
||||
enabled: true
|
||||
max_iteration: 10
|
||||
prompt: null
|
||||
strategy: function_call
|
||||
tools:
|
||||
- enabled: true
|
||||
isDeleted: false
|
||||
notAuthor: false
|
||||
provider_id: time
|
||||
provider_name: time
|
||||
provider_type: builtin
|
||||
tool_label: 时区转换
|
||||
tool_name: timezone_conversion
|
||||
tool_parameters:
|
||||
current_time: null
|
||||
current_timezone: Asia/Shanghai
|
||||
target_timezone: Asia/Tokyo
|
||||
type: builtin
|
||||
- enabled: true
|
||||
isDeleted: false
|
||||
notAuthor: false
|
||||
provider_id: time
|
||||
provider_name: time
|
||||
provider_type: builtin
|
||||
tool_label: 获取当前时间
|
||||
tool_name: current_time
|
||||
tool_parameters:
|
||||
format: '%Y-%m-%d %H:%M:%S'
|
||||
timezone: UTC
|
||||
type: builtin
|
||||
annotation_reply:
|
||||
enabled: false
|
||||
chat_prompt_config:
|
||||
prompt:
|
||||
- role: system
|
||||
text: ''
|
||||
completion_prompt_config:
|
||||
conversation_histories_role:
|
||||
assistant_prefix: ''
|
||||
user_prefix: ''
|
||||
prompt:
|
||||
text: ''
|
||||
dataset_configs:
|
||||
datasets:
|
||||
datasets: []
|
||||
retrieval_model: multiple
|
||||
top_k: 4
|
||||
dataset_query_variable: ''
|
||||
external_data_tools: []
|
||||
file_upload:
|
||||
allowed_file_extensions:
|
||||
- .JPG
|
||||
- .JPEG
|
||||
- .PNG
|
||||
- .GIF
|
||||
- .WEBP
|
||||
- .SVG
|
||||
- .MP4
|
||||
- .MOV
|
||||
- .MPEG
|
||||
- .WEBM
|
||||
allowed_file_types: []
|
||||
allowed_file_upload_methods:
|
||||
- remote_url
|
||||
- local_file
|
||||
enabled: false
|
||||
image:
|
||||
detail: high
|
||||
enabled: false
|
||||
number_limits: 3
|
||||
transfer_methods:
|
||||
- remote_url
|
||||
- local_file
|
||||
number_limits: 3
|
||||
model:
|
||||
completion_params:
|
||||
stop: []
|
||||
mode: chat
|
||||
name: Doubao-Seed-2.0-lite
|
||||
provider: langgenius/volcengine_maas/volcengine_maas
|
||||
more_like_this:
|
||||
enabled: false
|
||||
opening_statement: ''
|
||||
pre_prompt: ''
|
||||
prompt_type: simple
|
||||
retriever_resource:
|
||||
enabled: true
|
||||
sensitive_word_avoidance:
|
||||
configs: []
|
||||
enabled: false
|
||||
type: ''
|
||||
speech_to_text:
|
||||
enabled: false
|
||||
suggested_questions: []
|
||||
suggested_questions_after_answer:
|
||||
enabled: false
|
||||
text_to_speech:
|
||||
enabled: false
|
||||
language: ''
|
||||
voice: ''
|
||||
user_input_form: []
|
||||
version: 0.6.0
|
||||
@@ -0,0 +1,161 @@
|
||||
app:
|
||||
description: 文成生成应用
|
||||
icon: 🤖
|
||||
icon_background: '#FFEAD5'
|
||||
icon_type: emoji
|
||||
mode: completion
|
||||
name: 翻译助手
|
||||
use_icon_as_answer_icon: false
|
||||
dependencies:
|
||||
- current_identifier: null
|
||||
type: marketplace
|
||||
value:
|
||||
marketplace_plugin_unique_identifier: langgenius/volcengine_maas:0.0.46@cbdbb9440236d4e83ee6a14566d42a75ab478abf47127c56d1f05642e4c60baf
|
||||
version: null
|
||||
kind: app
|
||||
model_config:
|
||||
agent_mode:
|
||||
enabled: false
|
||||
max_iteration: 10
|
||||
strategy: function_call
|
||||
tools: []
|
||||
annotation_reply:
|
||||
enabled: false
|
||||
chat_prompt_config:
|
||||
prompt:
|
||||
- role: system
|
||||
text: ''
|
||||
completion_prompt_config:
|
||||
conversation_histories_role:
|
||||
assistant_prefix: ''
|
||||
user_prefix: ''
|
||||
prompt:
|
||||
text: ''
|
||||
dataset_configs:
|
||||
datasets:
|
||||
datasets: []
|
||||
retrieval_model: multiple
|
||||
top_k: 4
|
||||
dataset_query_variable: ''
|
||||
external_data_tools: []
|
||||
file_upload:
|
||||
allowed_file_extensions:
|
||||
- .JPG
|
||||
- .JPEG
|
||||
- .PNG
|
||||
- .GIF
|
||||
- .WEBP
|
||||
- .SVG
|
||||
- .MP4
|
||||
- .MOV
|
||||
- .MPEG
|
||||
- .WEBM
|
||||
allowed_file_types: []
|
||||
allowed_file_upload_methods:
|
||||
- remote_url
|
||||
- local_file
|
||||
enabled: false
|
||||
image:
|
||||
detail: high
|
||||
enabled: false
|
||||
number_limits: 3
|
||||
transfer_methods:
|
||||
- remote_url
|
||||
- local_file
|
||||
number_limits: 3
|
||||
model:
|
||||
completion_params:
|
||||
stop: []
|
||||
thinking: disabled
|
||||
mode: chat
|
||||
name: Doubao-Seed-2.0-lite
|
||||
provider: langgenius/volcengine_maas/volcengine_maas
|
||||
more_like_this:
|
||||
enabled: true
|
||||
opening_statement: null
|
||||
pre_prompt: '```xml
|
||||
|
||||
<instruction>
|
||||
|
||||
你是专业翻译专家,请按照以下步骤完成翻译任务:
|
||||
|
||||
1. 自动识别检测{{input_original_text}}的源语言,无需额外输出检测结果
|
||||
|
||||
2. 确认本次翻译要求的目标语言为{{target_translate_language}}
|
||||
|
||||
3. 遵循专业翻译标准,结合原文语境,将原文准确、流畅地翻译成符合{{target_translate_language}}表达习惯的译文
|
||||
|
||||
4. 你的输出仅需要提供最终译文,不允许包含任何xml标签,也不需要添加任何额外说明、注释内容
|
||||
|
||||
</instruction>
|
||||
|
||||
<input>
|
||||
|
||||
输入变量说明:
|
||||
|
||||
1. {{input_original_text}}:需要翻译的原始文本内容
|
||||
|
||||
2. {{target_translate_language}}:指定需要翻译成的目标语言名称
|
||||
|
||||
</input>
|
||||
|
||||
<example>
|
||||
|
||||
示例1:
|
||||
|
||||
输入原文:Ich liebe dich
|
||||
|
||||
目标语言:简体中文
|
||||
|
||||
输出:我爱你
|
||||
|
||||
|
||||
示例2:
|
||||
|
||||
输入原文:这个周末我们打算去郊外野餐
|
||||
|
||||
目标语言:英语
|
||||
|
||||
输出:We are going to have a picnic in the countryside this weekend
|
||||
|
||||
</example>
|
||||
|
||||
<output_requirement>
|
||||
|
||||
仅输出符合要求的最终译文,不包含任何额外内容,不得出现任何xml标签
|
||||
|
||||
</output_requirement>
|
||||
|
||||
```'
|
||||
prompt_type: simple
|
||||
retriever_resource:
|
||||
enabled: true
|
||||
sensitive_word_avoidance:
|
||||
configs: []
|
||||
enabled: false
|
||||
type: ''
|
||||
speech_to_text:
|
||||
enabled: false
|
||||
suggested_questions: []
|
||||
suggested_questions_after_answer:
|
||||
enabled: false
|
||||
text_to_speech:
|
||||
enabled: false
|
||||
language: ''
|
||||
voice: ''
|
||||
user_input_form:
|
||||
- paragraph:
|
||||
default: ''
|
||||
label: 原文
|
||||
required: true
|
||||
variable: input_original_text
|
||||
- select:
|
||||
default: 中文
|
||||
label: 目标语言
|
||||
options:
|
||||
- 中文
|
||||
- 英文
|
||||
- 日语
|
||||
required: true
|
||||
variable: target_translate_language
|
||||
version: 0.6.0
|
||||
@@ -0,0 +1,98 @@
|
||||
app:
|
||||
description: 基于Doubao Seed 2.0 Lite,深度思考
|
||||
icon: 🤖
|
||||
icon_background: '#FFEAD5'
|
||||
icon_type: emoji
|
||||
mode: chat
|
||||
name: 聊天助手
|
||||
use_icon_as_answer_icon: false
|
||||
dependencies:
|
||||
- current_identifier: null
|
||||
type: marketplace
|
||||
value:
|
||||
marketplace_plugin_unique_identifier: langgenius/volcengine_maas:0.0.46@cbdbb9440236d4e83ee6a14566d42a75ab478abf47127c56d1f05642e4c60baf
|
||||
version: null
|
||||
kind: app
|
||||
model_config:
|
||||
agent_mode:
|
||||
enabled: false
|
||||
max_iteration: 10
|
||||
strategy: function_call
|
||||
tools: []
|
||||
annotation_reply:
|
||||
enabled: false
|
||||
chat_prompt_config:
|
||||
prompt:
|
||||
- role: system
|
||||
text: ''
|
||||
completion_prompt_config:
|
||||
conversation_histories_role:
|
||||
assistant_prefix: ''
|
||||
user_prefix: ''
|
||||
prompt:
|
||||
text: ''
|
||||
dataset_configs:
|
||||
datasets:
|
||||
datasets: []
|
||||
retrieval_model: multiple
|
||||
top_k: 4
|
||||
dataset_query_variable: ''
|
||||
external_data_tools: []
|
||||
file_upload:
|
||||
allowed_file_extensions:
|
||||
- .JPG
|
||||
- .JPEG
|
||||
- .PNG
|
||||
- .GIF
|
||||
- .WEBP
|
||||
- .SVG
|
||||
- .MP4
|
||||
- .MOV
|
||||
- .MPEG
|
||||
- .WEBM
|
||||
allowed_file_types: []
|
||||
allowed_file_upload_methods:
|
||||
- local_file
|
||||
enabled: false
|
||||
image:
|
||||
detail: high
|
||||
enabled: false
|
||||
number_limits: 3
|
||||
transfer_methods:
|
||||
- local_file
|
||||
number_limits: 3
|
||||
model:
|
||||
completion_params:
|
||||
stop: []
|
||||
thinking: disabled
|
||||
mode: chat
|
||||
name: Doubao-Seed-2.0-lite
|
||||
provider: langgenius/volcengine_maas/volcengine_maas
|
||||
more_like_this:
|
||||
enabled: false
|
||||
opening_statement: ''
|
||||
pre_prompt: '{{{systemPrompt}}'
|
||||
prompt_type: simple
|
||||
retriever_resource:
|
||||
enabled: true
|
||||
sensitive_word_avoidance:
|
||||
configs: []
|
||||
enabled: false
|
||||
type: ''
|
||||
speech_to_text:
|
||||
enabled: false
|
||||
suggested_questions: []
|
||||
suggested_questions_after_answer:
|
||||
enabled: false
|
||||
text_to_speech:
|
||||
enabled: false
|
||||
language: ''
|
||||
voice: ''
|
||||
user_input_form:
|
||||
- paragraph:
|
||||
default: ''
|
||||
hide: true
|
||||
label: 系统提示词
|
||||
required: false
|
||||
variable: systemPrompt
|
||||
version: 0.6.0
|
||||
Reference in New Issue
Block a user