ComfyUI

Upload an image

Uploads an image file to the ComfyUI input directory.

post/upload_image

Request

  • Base URL
    https://localhost:8080/api/v1
  • Auth
    API key in header Authorization

Request body multipart/form-data

imagestring binary required

Image file to upload

type'input' | 'temp' required

Type of upload (usually 'input')

overwriteboolean

Overwrite existing file (default: false)

Example request

{
  "type": "\"input\""
}

Response

Image uploaded successfully

namestring
subfolderstring
typestring

Changes

No recorded changes to this operation across all 2 revisions of this API.