Giter VIP home page Giter VIP logo

limusbot's Introduction

  • 👋 Hi, I’m @sixsixliu
  • 👀 I’m interested in virtual youtuber
  • 🌱 I’m currently learning nothing
  • 💞️ I’m looking to collaborate on starting a tech-company
  • 📫 How to reach me ... bilibili

github还给整个小模板 那就填一下

没事儿的时候会搞点小东西 但是一般都有事儿

b站账号是刘六六Official 欢迎关注 会不定期发各种视频

limusbot's People

Contributors

sixsixliu avatar

Stargazers

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

Watchers

 avatar

limusbot's Issues

随机获取waifu头像

调用waifulabs接口,返回ai随机生成的美少女头像

waifus = []


async def get_waifu():
    global waifus
    if not waifus:
        import json

        import requests

        URL = "https://api.waifulabs.com/generate"
        payload = {"step": 0}
        headers = {"Content-Type": "application/json"}

        response_str = requests.post(
            URL, data=json.dumps(payload), headers=headers
        ).text
        waifus.extend(
            [
                "base64://" + waifu_data["image"]
                for waifu_data in json.loads(response_str)["newGirls"]
            ]
        )
    current_waifu = waifus.pop()
    return Message(f"[CQ:image,file={current_waifu}]")

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.