google-labs-jules[bot] 9f61280ea7 refactor: Add 'result' output to AQ_SendImageToAPI node
Based on your feedback, this commit further modifies the `AQ_SendImageToAPI` node in `nodes/api/AQ_SendImageToAPI.py`:

- **Added `result` output string:**
    - `RETURN_TYPES` updated to `("STRING", "STRING",)`.
    - `RETURN_NAMES` updated to `("instruction", "result",)`.
- The `send_images_to_api` method now captures the outcome of the API call (or image processing).
    - If successful, the `result` string will contain the HTTP status and response from the server.
    - If an error occurs (e.g., network issue, server error), the `result` string will contain the error message.
    - If no images are provided, a message indicating this is returned in the `result` string.
- This `result` output provides a way to access the final status of the API interaction within the ComfyUI workflow, complementing the real-time UI updates from `update_node_status`.
2025-05-21 18:05:53 +00:00
2025-05-19 12:49:14 +02:00
2025-05-19 12:47:16 +02:00
S
Description
No description provided
1.8 MiB
Languages
Python 100%