Skip to content

vail130/openai-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openai-cli

A CLI tool to interact with OpenAI APIs

Configuration

Uses OPENAI_API_KEY env var (used by underlying library)

Run

#############
# Images Service
#############

# Create image with default params
openai images create "a white siamese cat"

# Create images with custom params
openai images create --n 4 --size 512 --dir "$HOME" "a white siamese cat"

# Edit with default params
openai images edit ./image.png "A sunlit indoor lounge area with a pool containing a flamingo"

# Edit with custom params
openai images edit --mask ./mask.png --n 4 --size 512 --dir "$HOME" ./image.png "A sunlit indoor lounge area with a pool containing a flamingo"

# Variation with default params
openai images variation ./image.png

# Variation with custom params
openai images variation --n 4 --size 512 --dir "$HOME" ./image.png

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published