Skip to content

huuquyet/generate-awesome-wallpapers

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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