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}` })
},
body: JSON.stringify({
form_data: {
image: images,
prompt,
...(model && { model }),
...(size && { size }),
...(n && { n }),
...(background && { background })
}
image: images,
prompt,
...(model && { model }),
...(size && { size }),
...(n && { n }),
...(background && { background })
})
})
.then(async (res) => {