Giter VIP home page Giter VIP logo

-'s Introduction

gen-txt-to-image

一款文生视频应用,用于小说推文,生成漫画等视频。使用主流大模型,结合Stable Diffusion,实现文生图,图生视频本地化私有部署。

1.安装python3.10环境

conda create -n image python=3.10 或者其他方式安装(conda安装请自行搜索安装)

2.安装依赖包

pip install -r requirements.txt

3.安装成功后,运行项目

项目根目录下windows dos进入项目根目录。执行命令python main.py

成果展示

视频

说明

执行成功后会在output/image下生成图片。 会在output/video下生成视频。

其他说明

使用文心一言,生成prompt,使用stable diffusion生成图片,使用opencv合成视频。
其他大模型需要自定义开发。需要申请文心一言token,申请地址地址
需要在本地部署stable diffusion webui 地址 端口7860

-'s People

Contributors

appolloqin avatar

Stargazers

 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.