Skip to main content

Changes your Zoom background using OpenAI Image Generation.

Project description

Zoom Background Changer

This is a python script that will use OpenAI's GPT-3 API to generate a new background image for your Zoom meetings. It can be run as a cron task, manually, or as part of a workflow when you open Zoom!

The script will generate a new background image based on the current date and weather, and overwrite you existing Zoom background.

Requirements

  • Only works on macOS (for now!)
  • Python 3.9+
  • OpenAI API Key
    • You can get a free API key from OpenAI here.
    • You will need to create an account and generate an API key.
    • You will need to add your API key to the OPENAI_API_KEY environment variable.

Installation

pip install zoom-background-changer

Usage

change-zoom-background

Prompt Template

Can be adjusted by creating a file called .zoom-background-changer in your $HOME directory.

This file should contain the following:

{
  "prompt_template": "Today is {date} and the weather is {weather} in {location}.",
  "location": "Boston, MA"
}

Available Variables

  • {date}: The current date
  • {weather}: The current weather, from https://wttr.in/
  • {location}: The current location, set from the location key in the .zoom-background-changer file. Defaults to Boston, MA.
  • {time}: The current time

If you would like to request other variables to be available, please open an issue!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zoom-background-changer-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zoom_background_changer-0.1.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file zoom-background-changer-0.1.1.tar.gz.

File metadata

  • Download URL: zoom-background-changer-0.1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.9.7 Darwin/21.6.0

File hashes

Hashes for zoom-background-changer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cd033931838e256e7f2205ce44b37baf0d3041edf4876499ca472b7f24c9fe27
MD5 1dfa4201d528612f6b616ceada96995c
BLAKE2b-256 efab4350bf58d811547cc5b8446abc75579a96c5b7d4ba6b7690743d7b0ddc50

See more details on using hashes here.

File details

Details for the file zoom_background_changer-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for zoom_background_changer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d80543760d5e486184cfec4cba6edbee32bcf4d1810f74ebf1aa380f81700fa0
MD5 8172f35cf3aac77e319b88084b63a846
BLAKE2b-256 5112ddfb4b51e73707393dc14f27db05eac0c4113c2a91ef281f9ed5595af57a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page