Giter Site home page Giter Site logo

juehackr / comfyui_fk_server Goto Github PK

View Code? Open in Web Editor NEW
73.0 1.0 6.0 1.58 MB

Comfyui万能翻译插件(不再需要添加各种节点,直接在原有节点上加入翻译功能),让comfyui任意长文本输入框支持中文输入并自动翻译/同时加入报错翻译功能(调用百度翻译),实现翻译自由!同时接入AI大模型实现提示词润色功能, 其它插件功能,请看插件介绍

Python 43.32% CSS 56.08% HTML 0.60%
aigc comfyui comfyui-nodes

comfyui_fk_server's Introduction

✅翻译功能:这是我理想中的Comfyui翻译插件(不再需要添加各种节点,直接在原有节点上加入翻译功能),让comfyui任意长文本输入框支持中文输入并自动翻译(调用百度翻译),同时加入报错翻译功能,实现翻译自由

✅提示词润色功能:输入简单的关键词帮你写出专业的AI绘画提示词(调用智谱AI大模型)

✅模型引用修复功能:我们平时会使用很多别人的工作流,但往往他们工作流调用的模型文件夹路径跟自己电脑上的模型文件夹路径不一致的,这个时候使用一键修复就可以快速纠正(大大提升工作流模型调用纠正效率)(基于模型名称匹配)

使用说明

翻译功能需要用到百度翻译密钥,免费申请入口:https://fanyi-api.baidu.com/ 再次注意:必须要申请一个应用才有翻译权限

提示词润色功能需要用到智谱AI的APIKEY,免费申请入口:https://open.bigmodel.cn/overview (有很多免费额度)

填写好后重启comfyui ❗❗❗双击任意长文本输入框即可启用自动翻译模式及显示提示词润色功能❗❗❗

tips:输入中文后,鼠标移开或点击任意区域即可自动翻译

使用有疑问或者建议请提交Issues反馈

自动翻译演示视频(双击输入框进入自动翻译模式)

default.mp4

提示词润色演示(双击输入框进入自动翻译模式后可用润色功能)

default.mp4

模型引用修复演示(最大程度提高工作流调用效率)

default.mp4

报错翻译演示视频(选择报错内容点击出现的翻译按钮)

default.mp4

插件安装方法

  • 进入comfyui插件目录 /ComfyUI/custom_nodes/
    • 执行 git clone https://github.com/juehackr/comfyui_fk_server.git
    • 重启 ComfyUI

comfyui_fk_server's People

Contributors

juehackr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

comfyui_fk_server's Issues

没有办法填写APPID和KEY

没有办法填写APPID和KEY,总是提示“请填写完整信息”,以核对无误,但是依然提示这个

匹配模型入口

使用新版菜单和工作流管理系统。 没有出现匹配模型入口

翻译优化问题

百度翻译识别到文本最后为",(英标逗号)"时。不会翻译文本,而是将标点字符从中标翻译为英标。
不确定是否为百度翻译的特性

解决方案:在每次请求前,检查最后一个字符是否为",(英标逗号)",如果是,则移除这个字符

返回Body:
({ "from": "en", "to": "zh", "trans_result": [ { "src": "cat,cardboard_box,", "dst": "cat\uff0ccardboard_box\uff0c" } ] })

智谱的key无法保存

保存了智谱的key,再用还是没有保存,我去插件目录的json看也没有,而且只有一个百度key保存的位置,这正常吗?

如何更改双击执行?

双击执行虽然方便,但占用了双击选词的功能,能否更改成其他能自定义的快捷键? 翻了翻源码发现都被加密了没法自行更改..

Both of these files are detected by Microsoft and KIMI with viruses. Trojan:Script/Wacatac.H! ml

wkapi.js and fk.js
Both of these files are detected by Microsoft and KIMI with viruses. Trojan:Script/Wacatac.H! ml
It looks like you sent a bit of confused JavaScript code. This code contains a lot of encryption and obfuscation, such as the use of custom encryption algorithms to hide the true functionality of the code. Because the code is very unreadable and has potential security risks, I can't provide specific parsing or help.

If you need help understanding or debugging JavaScript code, provide unobfuscated code that you can read and understand directly. If you have a specific programming problem or need to implement a feature, please describe your needs and I will try to help. Please note, however, that for security reasons, I cannot execute or analyze any code that may contain malicious behavior.

Looks like the name of a virus or malware. Please note that discussing or disseminating this type of information is not safe and may result in your device or data being compromised.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.