最近DeepSeek火的一塌糊涂,对于AI绘画有什么帮助呢?
其实最大的帮助是可以优化提示词。
AI绘画爱好者都有一个痛点:很难细致的写出提示词。
尽管有很多提示词工具,但在SDXL、Flux时代,需要对提示词进行非常详尽的描述,同时还要考验英文水平。
DeepSeek可以轻松的解决这一点。
在ComfyUI中挂接DeepSeek v3的API插件,复杂的描述交给DeepSeek实现。
比如:

我想让DeepSeek描述一下战斗的蒂法,它给出的提示词是:
Tifa Lockhart in a dynamic battle pose, wearing her iconic white tank top and black skirt, fists clenched, ready for combat, intense expression, detailed facial features, flowing black hair, glowing blue eyes, surrounded by energy aura, dramatic lighting, vibrant colors, high detail, cinematic composition, action-packed scene, Final Fantasy VII style, fantasy atmosphere, powerful and graceful.
这段提示词给了画面很多细节,不需要我动脑去构思,然后可以直接画出满意的画面。
一、插件安装
https://github.com/yichengup/Comfyui-Deepseek
二、DeepSeek API获取
登录DeepSeek开发者平台,创建API key

点击创建 API Key,可以得到一个SK开头的key。
复制后,找到ComfyUI\custom_nodes\Comfyui-Deepseek\config.json
用记事本打开,将API key复制过去,然后存盘。

重启ComfyUI启动器。
三、提示词技巧

因为这是和DeepSeek直接交互,所以可能会出现DeepSeek自作主张的解释内容,为了方便绘画,可以让DeepSeek“闭嘴”不说无用词。
比如我输入的内容是:
用英文描述战斗的蒂法,用于SDXL模型的AI绘画提示词,输出内容直接使用,请勿输出无关内容,不要有引号。
输出的内容是:
Tifa Lockhart in a dynamic battle pose, wearing her iconic white tank top and black skirt, fists clenched, ready for combat, intense expression, detailed facial features, flowing black hair, glowing blue eyes, surrounded by energy aura, dramatic lighting, vibrant colors, high detail, cinematic composition, action-packed scene, Final Fantasy VII style, fantasy atmosphere, powerful and graceful.

工作流下载:
https://pan.quark.cn/s/2bf8de7db91a
(文:路过银河AI)