Update fluxai.js
Browse files
fluxai.js
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
import fetch from "node-fetch";
|
2 |
import * as config from './config.js'
|
3 |
|
|
|
|
|
|
|
4 |
async function schellwithflux(args) {
|
5 |
const API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell";
|
6 |
try {
|
|
|
1 |
import fetch from "node-fetch";
|
2 |
import * as config from './config.js'
|
3 |
|
4 |
+
/**
|
5 |
+
* @param {args} prompt - The input string
|
6 |
+
*/
|
7 |
async function schellwithflux(args) {
|
8 |
const API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell";
|
9 |
try {
|