Coder Social home page Coder Social logo

sd-prompt-translator's Introduction

直接用中文写提示词的Stable Diffusion扩展:sd-prompt-translator

本插件具有以下特点:

  1. 直接使用中文编写提示词,即使完全不会英文都不受影响。
  2. 完美兼容SD的提示词语法,支持中英文混输。
  3. 基于facebook/mbart-large-50-many-to-many-mmt的prompt翻译模型(在首次安装使用时会自动下载约2.4G的翻译模型, 请确保网络连接正常),在本地自然语言处理模型进行翻译,使用时无需连接百度翻译、Google翻译等服务,可离线使用。
  4. 支持自定义翻译字词。在stable-diffusion-webui/extensions/sd-prompt-translator/scripts/translations.csv中保存了大量常用的中文触发词对应的英文Prompt,你可以手动修改该文件内容,增加自己的自定义翻译内容。
  5. 默认翻译中文,可选择翻译其他50多种语言。
  6. API支持,对开发AIGC应用更友好。

启用本扩展后的效果

启用本扩展后的效果

sd-prompt-translator's People

Contributors

cklogic avatar izumijuro avatar studyzy avatar

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.