One of the available models
The prompt to be sent
Optional
subdir: stringA subdirectory to store this image into. You can use this to organize multiple images and manually change them
This implements a logic that generates a prompt ready for llama instruction calls. Take the explanations for each argument with a grain of salt. They are described based on my personal experience and may not be so efficient.
The model to use
This setups the system. Here you should describe what globally it can do and behave as.
Your prompt/request.
Here you will pass example request/response to fine tune the model. For example, it can be used to guide to a response template format.
Optional
suffix: stringOPTIONAL I like to work with this to define how my prompt should return and fix little mistakes the model will be making. If provided, it will simply concatenate to the end of the prompt and traning prompts
Optional
folder: stringOptional
max_tokens: numberGenerated using TypeDoc
This interfaces with chatgpt compatible api to generate images. It also caches them so you don't need to call the service everytime