This commit is contained in:
Timothy Jaeryang Baek
2026-09-21 11:45:49 -04:00
parent bf476452a8
commit c07fa08b99
+6 -8
View File
@@ -258,14 +258,12 @@ export const imageEdits = async (
...(token && { authorization: `Bearer ${token}` }) ...(token && { authorization: `Bearer ${token}` })
}, },
body: JSON.stringify({ body: JSON.stringify({
form_data: { image: images,
image: images, prompt,
prompt, ...(model && { model }),
...(model && { model }), ...(size && { size }),
...(size && { size }), ...(n && { n }),
...(n && { n }), ...(background && { background })
...(background && { background })
}
}) })
}) })
.then(async (res) => { .then(async (res) => {