Skip to content
image

GitHub Action

Generate awesome wallpapers

v1.2.4 Latest version

Generate awesome wallpapers

image

Generate awesome wallpapers

A javascript action to generate awesome wallpapers with HuggingFace Inference API (serverless)

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Generate awesome wallpapers

uses: huuquyet/[email protected]

Learn more about this action in huuquyet/generate-awesome-wallpapers

Choose a version

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 Japanese Zen garden, with meticulously raked sand and perfectly placed rocks by CompVis/stable-diffusion-v1-4

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