Update lib/@randydev/flux-1-schnell.js
Browse files
lib/@randydev/flux-1-schnell.js
CHANGED
@@ -6,7 +6,9 @@ async function FluxSchnell(message) {
|
|
6 |
'Authorization': `Bearer ${process.env['CLOUDFLARE_API_KEY']}`,
|
7 |
'Content-Type': 'application/json'
|
8 |
},
|
9 |
-
json: {
|
|
|
|
|
10 |
}).json();
|
11 |
return run.result.response;
|
12 |
}
|
|
|
6 |
'Authorization': `Bearer ${process.env['CLOUDFLARE_API_KEY']}`,
|
7 |
'Content-Type': 'application/json'
|
8 |
},
|
9 |
+
json: {
|
10 |
+
'prompt': message
|
11 |
+
}
|
12 |
}).json();
|
13 |
return run.result.response;
|
14 |
}
|