Skip to content

yedidiaklein/moodle-repository_txttoimg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moodle-repository_txttoimg

This a a repository plugin for Moodle, that connect to AI services and generates images from text.

Supported engines

Currently this repository plugin supports OpenAI API.

You have to generate API key at https://beta.openai.com/account/api-keys

Installing plugin

  • Download the plugin and extract/clone it to [moodle_root]/repository/
  • Go to your Moodle admin page and install it.
  • Go to Admin -> Plugins -> Repository then enable and setup the repo.

Configuring repository

  • In repository settings you should set the desired image size, your OpenAI key and number of images.
  • Image size is the size in pixels of generated images, could be 256x256, 512x512 or 1024x1024.
  • You can get the key on this web address : https://beta.openai.com/account/api-keys
  • You have to sign in or log in, and set your payment info for having access to text to image API.
  • Number of image set the number of images that you get from the AI engine, if you choose more than one you will have to choose one of 2-4 generated images.

Using

  • This repo will now be on your file picker.

Enjoy !

About

Moodle repo for openai images api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages