Design & Develop an impressive tool that utilizes generative AI to generate content while maintaining the style and tone of previously written content. So we designed two applications for AI Generative .
-
AI image generator
-
AI text generator
CONTENTSTACK AI IMAGE GENERATOR
Below is the homepage of AI Image generator 🏆🏆
THE CODE FOR THIS :
-
APP.JS
-
INDEX.HTML
-
STYLES.JSS
IMAGE 1
The working images are as follows of our image Generator :
IMAGE 2
So if we search football then our appliaction give 1024 * 1024 (It generates 4 images ) shown below :
IMAGE 3
IMAGE 4
So for giving these images and working of our project we connected this with : https://api.openai.com/v1/images/generations
Link for my AI Generator Application : https://huntermarchi.github.io/t/
pip install openai
To install the official Node.js library, run the following command in your Node.js project directory.
npm install openai@^4.0.0
All API requests should include your API key in an Authorization HTTP header as follows:
Authorization: Bearer OPENAI_API_KEY
Example curl command: curl https://api.openai.com/v1/models \
CONTENTSTACK AI TEXT GENERATOR
Below is the homepage of AI text generator 🏆🏆
THE WORKING IMAGE OF PROJECT IS AS FOLLOWS :
IMAGE 1
IMAGE 2
IMAGE 3
IMAGE 4
TO SEE ABOVE CODE :
- USE PYTHON AND JUPYTER FILES
- WEB.HTML
- SCRIPT.JS
- STYLE.JS
USE VISUAL CODE , JUPYTER NOTEBOOK , SUPERVISED AND UNSUPERVISED LEARNING FOR IMPLEMENTING ALGORITHMS .
THANKS FOR GIVING THIS GOLDEN OPPURTUNITY .