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

zoom-background-changer

Prompt Template

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

This file should contain the following:

{
  "prompt": "Today is {date} and the weather is {weather} in {city}.",
  "city": "Boston"
}

Available Variables

  • {date}: The current date
  • {weather}: The current weather, from https://wttr.in/
  • {city}: The current city, set from the city 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.2.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.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zoom-background-changer-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 40d360cc8f748393539d3c777eee4bf1fb303dfb628643260bccf12125687978
MD5 36b3d37b7ba087f3f039061c18a5c74f
BLAKE2b-256 a68892cb2ac76da8801a96c8abf39603aad1f88bcee00e3b658bb9dc65c0dc38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zoom_background_changer-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9927b8b50ac511d4f3620eeaa8595a0a2a8e3b297ff97974725f923a6df26779
MD5 3e4c3f585cda3ebed9eeae3abf2e74e8
BLAKE2b-256 525476f3f1810a3b40c971bb3d0e7554e3642126e6e081f53c19c0b5e08c74ba

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