Integrate AI into Python projects easily.
Project description
#SHIVA AI
Shiva AI is an OpenAI-powered Python module created to help developers easily integrate artificial intelligence into their Python projects. AI2PY provides a comprehensive set of tools for creating AI-generated text, images, and image variations. An OpenAI API Key is required.
The module contains functions to create text, create text commands, create images, and create image variations. The init function initializes the class with an api_key. The create_text function takes in data and a word count and uses the OpenAI API to generate text based on the data. The create_text_command function takes in a command, data, and a word count and uses the OpenAI API to generate text based on the command and data. The create_image function takes in prompt text and an image size and uses the OpenAI API to generate an image based on the prompt text. The create_image_variation function takes in data and an image size and uses the OpenAI API to generate an image variation based on the data. The options class contains two functions: display_imagesizes and image_resize. The display_imagesizes function prints out the required image sizes for the OpenAI API. The image_resize function takes in an image and a size and resizes the image to the specified size.
In addition, Shiva AI also provides a set of pre-trained models that can be used for various tasks such as natural language processing, computer vision, and more. These models can be used to quickly build AI applications without having to train your own models from scratch.
If you have any questions, feel free to ask them in the GitHub Discussion tab. If you need help with a project or want to show off a project made with Shiva AI, you can also do so in the Discussion tab. If you find a bug, please report it in the GitHub Issues tab and provide the complete error message and a minimal example code that reproduces the error. If you have ideas for improvements or requests for new functions, you can also report these in the GitHub Issues tab, but please check for previous requests to prevent duplicates.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file shiva-ai-0.0.1.tar.gz
.
File metadata
- Download URL: shiva-ai-0.0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb187f1a106883bb1738abb3f020012d8da6a4a915ca4162a32dae722c41351b |
|
MD5 | 64b26ac8ded894ca597233faac0ba00f |
|
BLAKE2b-256 | 50811c95defb92bc2deedda84c9ff8bca7132457abb62f02efd8986e6f73c97e |
File details
Details for the file shiva_ai-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: shiva_ai-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 783113bd9f80cd34ee8985b3c4fff2d5cdf30f094f847f24dd5e363ad9a252d8 |
|
MD5 | a8a68946c8cebdce70c62bd1623a7fa5 |
|
BLAKE2b-256 | 59bf741625c6826ee73beebc5b3ade7180e675573f4f5a179e42ba7be5f2095e |