get_image_url
Retrieve a direct URL to view or download generated ComfyUI media (images, videos, audio) by specifying the filename and optional subfolder.
Instructions
Get the URL to view or download a ComfyUI image/video/audio.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filename": "<filename>"
},
"name": "get_image_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Filename (e.g. "ComfyUI_00001_.png"). | |
| subfolder | No | Subfolder within the directory. Default: "" (root). | |
| folder_type | No | Directory type. Default: "output". Valid: "output", "input", "temp". | output |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |