Skip to content

Conversation

bigcat88
Copy link
Contributor

@bigcat88 bigcat88 commented Aug 15, 2025

Fixes: #9329

OpenAI images/edits rejects application/octet-stream. After switching to aiohttp our multipart builder defaulted to octet-stream for file parts, as aiohttp library does not have automated detection of mime-types from files names.

  • OpenAIGPTImage1 node now adds files as (filename, fileobj, "image/png") for image, image[] and mask
Screenshot from 2025-08-15 09-01-23

@comfyanonymous comfyanonymous merged commit 027c63f into comfyanonymous:master Aug 15, 2025
6 checks passed
@hasanodomseries
Copy link

Yup, this is the error im getting with the gpt node. @bigcat88 Thanks for the head sup, I'll be waiting for this update.

Vander-Bilt pushed a commit to Vander-Bilt/ComfyUI that referenced this pull request Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants