-
Notifications
You must be signed in to change notification settings - Fork 1
Description
When I tried image-to-image in Seedream or Nano banana pro, it gets error message:
Prompt executed in 1.51 seconds
got prompt
[KIE] Uploading 2 images...
[KIE] Image 1 upload failed: Upload failed: Authentication failed: Request rejected: the server IP does not match the IP whitelist for this API key. Please check.
!!! Exception during processing !!! Upload failed: Authentication failed: Request rejected: the server IP does not match the IP whitelist for this API key. Please check.
Traceback (most recent call last):
File "H:\ComfyUI_windows_portable\ComfyUI\execution.py", line 527, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\ComfyUI_windows_portable\ComfyUI\execution.py", line 331, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\ComfyUI_windows_portable\ComfyUI\execution.py", line 305, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "H:\ComfyUI_windows_portable\ComfyUI\execution.py", line 293, in process_inputs
result = f(**inputs)
File "H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Kie-API\nodes.py", line 200, in generate
image_tensor = run_nanobanana_image_job(
prompt=prompt,
...<9 lines>...
images=images,
)
File "H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Kie-API\kie_api\nanobanana.py", line 172, in run_nanobanana_image_job
url = _upload_image(api_key, png_bytes)
File "H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Kie-API\kie_api\upload.py", line 67, in _upload_image
raise RuntimeError(f"Upload failed: {payload.get('msg')}")
RuntimeError: Upload failed: Authentication failed: Request rejected: the server IP does not match the IP whitelist for this API key. Please check.
Prompt executed in 2.62 seconds
I tried text to image but it works well. only image to image doesn't work.