Skip to content

Latest commit

 

History

History
72 lines (46 loc) · 2.83 KB

README.md

File metadata and controls

72 lines (46 loc) · 2.83 KB

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 field of vibrant sunflowers bathed in the golden glow of a late afternoon sun by stable-diffusion-v1-5/stable-diffusion-v1-5

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/[email protected]
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