Spaces:
Sleeping
Sleeping
T1ckbase
commited on
Commit
·
3fdf66a
1
Parent(s):
290493f
inputs
Browse files
main.ts
CHANGED
|
@@ -80,7 +80,7 @@ app.post('/v1/images/generations', async (c) => {
|
|
| 80 |
const { width = 1024, height = 1024 } = parseResolution(params.size as string);
|
| 81 |
|
| 82 |
const requestBody: any = {
|
| 83 |
-
|
| 84 |
parameters: {
|
| 85 |
width,
|
| 86 |
height,
|
|
|
|
| 80 |
const { width = 1024, height = 1024 } = parseResolution(params.size as string);
|
| 81 |
|
| 82 |
const requestBody: any = {
|
| 83 |
+
inputs: params.prompt,
|
| 84 |
parameters: {
|
| 85 |
width,
|
| 86 |
height,
|