ComfyUI Node
R2 Prompt Loader
Read/write text files and browse/upload images from/to Cloudflare R2. Enter credentials, click '登录', then browse directories and files. Connect an image node to 'Upload Image' and click '存图' to upload.
R2 Prompt Loader
- upload_image
- Text
- Image
◄endpointhttps://a8bd0ac71a875091b6a56e195d309516.r2.cloudflarestorage.com►
◄access_key—►
◄secret_key—►
◄bucket▾►
◄directory▾►
◄file▾►
◄image_file▾►
◄text_to_save—►
◄save_filenameprompts/new_prompt.txt►
CategoryR2 Tools
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| endpoint | STRING | https://a8bd0ac71a875091b6a56e195d309516.r2.cloudflarestorage.com | — |
| access_key | STRING | — | |
| secret_key | STRING | — | |
| bucket | COMBO | 1 options: z-image-turbo | |
| directory | COMBO | 1 options: prompts/ | |
| file | COMBO | 0 options: | |
| image_file | COMBO | 0 options: | |
| text_to_saveopt | STRING | — | |
| save_filenameopt | STRING | prompts/new_prompt.txt | — |
| upload_imageopt | IMAGE | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| Text | STRING | — |
| Image | IMAGE | — |