Combination New Batch Image node, ChatGPT and NanoBanana Pro not working.
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Custom Node Testing
- [ ] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)
### Expected Behavior
I use my workflows for months without any issues. Good combo of images each time.
### Actual Behavior
I get for each image a separate output if I disconnect the the images from chatgpt. When I use only one image to chatgpt and 6 to Gemini Pro I get a blank image. When I use all images to chatgpt and Gemini I get an error: OpenAIChatNode API Error (status 413)
### Steps to Reproduce
Use 4 images throught the chatgpt node and then to Gemini pro.
### Debug Logs
```powershell
got prompt
Executing prompt: 9d69de73-36ca-4e4c-abe5-9945f0a1cfa9
C:\ComfyUI\.venv\Lib\site-packages\torch\cuda\memory.py:491: FutureWarning: torch.cuda.reset_max_memory_allocated now calls torch.cuda.reset_peak_memory_stats, which resets /all/ peak memory stats.
warnings.warn(
!!! Exception during processing !!! API Error (status 413)
Traceback (most recent call last):
File "C:\Users\Bram\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 444, in execute
raise ex
File "C:\Users\Bram\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 440, in execute
results.append(r.result())
^^^^^^^^^^
File "C:\Users\Bram\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 285, in async_wrapper
return await f(**args)
^^^^^^^^^^^^^^^
File "C:\Users\Bram\AppData\Local\Programs\ComfyUI\resources\ComfyUI\comfy_api\internal\__init__.py", line 145, in wrapped_async_func
return await method(locked_class, **inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bram\AppData\Local\Programs\ComfyUI\resources\ComfyUI\comfy_api\latest\_io.py", line 1736, in EXECUTE_NORMALIZED_ASYNC
to_return = await cls.execute(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bram\AppData\Local\Programs\ComfyUI\resources\ComfyUI\comfy_api_nodes\nodes_openai.py", line 749, in execute
create_response = await sync_op(
^^^^^^^^^^^^^^
File "C:\Users\Bram\AppData\Local\Programs\ComfyUI\resources\ComfyUI\comfy_api_nodes\util\client.py", line 111, in sync_op
raw = await sync_op_raw(
^^^^^^^^^^^^^^^^^^
File "C:\Users\Bram\AppData\Local\Programs\ComfyUI\resources\ComfyUI\comfy_api_nodes\util\client.py", line 236, in sync_op_raw
return await _request_base(cfg, expect_binary=as_binary)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bram\AppData\Local\Programs\ComfyUI\resources\ComfyUI\comfy_api_nodes\util\client.py", line 755, in _request_base
raise Exception(msg)
Exception: API Error (status 413)
Prompt executed in 43.19 seconds
+---------+-----------------+----------+-----------+
| Node ID | Type | Time (s) | VRAM (GB) |
+---------+-----------------+----------+-----------+
| #32 | LoadImage | 0.98 | 0.00 |
| #7 | LoadImage | 0.37 | 0.00 |
| #8 | LoadImage | 0.36 | 0.00 |
| #2 | LoadImage | 0.36 | 0.00 |
| #1 | LoadImage | 0.37 | 0.00 |
| #39 | BatchImagesNode | 1.54 | 0.00 |
| #37 | PreviewImage | 4.45 | 0.00 |
| #16 | Text Multiline | 0.00 | 0.00 |
| #15 | OpenAIChatNode | 34.28 | 0.00 |
| TOTAL | - | 43.49 | - |
+---------+-----------------+----------+-----------+
No pending upload
```
### Other
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.