huuquyet / generate-awesome-wallpapers

Github action workflows to generate awesome wallpapers with HuggingFace Inference API (serverless)

Home Page:https://github.com/marketplace/actions/generate-awesome-wallpapers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate awesome wallpapers Contributor Covenant

Generate awesome wallpapers with javascript action

This action generate awesome wallpapers using HuggingFace Inference API (serverless) to call text-to-image models

🖼️ This awesome wallpaper generated automatically everyday

Awesome Wallpapers

A serene Zen garden with carefully placed rocks and raked sand by stabilityai/stable-diffusion-2-1

Want to change another awesome wallpaper? Just click this or create a new issue with title starts with Please and add wallpaper label

API Token

HF_API_TOKEN

Required Get API Token from your HuggingFace profile settings

Then add to the secrets for the repository

List of models

Outputs

model_id

The random model get from list to generate

prompt

The random prompt get from json file

Example usage

Create workflow

Create .github/workflows/main.yml workflow with following steps to call the action

uses: huuquyet/generate-awesome-wallpapers@v1.2
env: 
  HF_API_TOKEN: ${{ secrets.HF_API_TOKEN }}
with:
  random: true

See this for example usage

Update your README

Add a comment block to your README.md file

<!-- START_CAPTION -->
<!-- END_CAPTION -->

Please check out my profile for live demo

About

Github action workflows to generate awesome wallpapers with HuggingFace Inference API (serverless)

https://github.com/marketplace/actions/generate-awesome-wallpapers

License:MIT License


Languages

Language:TypeScript 80.6%Language:Python 19.4%