Update index.js
Browse files
index.js
CHANGED
@@ -91,7 +91,7 @@ app.get('/api/v1/gpt-old', async (req, res) => {
|
|
91 |
}
|
92 |
});
|
93 |
|
94 |
-
app.
|
95 |
try {
|
96 |
const query = req.body.query;
|
97 |
const imageBytes = await schellwithflux(query);
|
|
|
91 |
}
|
92 |
});
|
93 |
|
94 |
+
app.post("/api/v1/fluxai-ai", async (req, res) => {
|
95 |
try {
|
96 |
const query = req.body.query;
|
97 |
const imageBytes = await schellwithflux(query);
|