Update plugins/fluxai.js
Browse files- plugins/fluxai.js +1 -7
plugins/fluxai.js
CHANGED
@@ -3,6 +3,7 @@ import express from 'express';
|
|
3 |
import { Readable } from "stream";
|
4 |
import sharp from "sharp";
|
5 |
import * as config from '../config.js';
|
|
|
6 |
import { authenticateApiKey, apiLimiter } from '../middleware/midware.js';
|
7 |
const FluxRoutes = express.Router();
|
8 |
|
@@ -32,13 +33,6 @@ async function schellwithflux(args) {
|
|
32 |
}
|
33 |
}
|
34 |
|
35 |
-
/**
|
36 |
-
* @swagger
|
37 |
-
* tags:
|
38 |
-
* name: FLUX
|
39 |
-
* description: Flux AI image generation endpoints.
|
40 |
-
*/
|
41 |
-
|
42 |
/**
|
43 |
* @swagger
|
44 |
* /api/v1/flux/fluxai-ai:
|
|
|
3 |
import { Readable } from "stream";
|
4 |
import sharp from "sharp";
|
5 |
import * as config from '../config.js';
|
6 |
+
import { FluxSchnell } from '../lib/@randydev/flux-1-schnell.js';
|
7 |
import { authenticateApiKey, apiLimiter } from '../middleware/midware.js';
|
8 |
const FluxRoutes = express.Router();
|
9 |
|
|
|
33 |
}
|
34 |
}
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
/**
|
37 |
* @swagger
|
38 |
* /api/v1/flux/fluxai-ai:
|