JsonCut icon

JsonCut

Interact with JsonCut API for image and video generation

File → Download

AI-generated

Summary

Download a file stored in JsonCut by its File ID and store it as binary data in a specified workflow field.

Inputs

  • File ID (required) — ID of the file to download from JsonCut storage, e.g. 'file_abc123'.
  • Put Output in Field (required) — Name of the binary property in the workflow item to store the downloaded file, e.g. 'data'.

Output shape

A single item with JSON containing the fileId and fileName, plus a binary property (named as per the 'Put Output in Field') containing the file content.

The response includes HTTP headers to determine the original filename and content type for the binary data. Errors from the API will throw exceptions unless 'Continue On Fail' is enabled.

Discussion