JsonCut icon

JsonCut

Interact with JsonCut API for image and video generation

File → Upload

AI-generated

Summary

Upload a media file from a binary input to JsonCut storage, specifying its category and time to live (TTL).

Inputs

  • Input Binary Field (required) — Name of the binary property in the incoming item containing the file to upload.
  • Category (required) — Category of the file being uploaded, chosen from Image, Video, Audio, or Font.
  • TTL Hours — Time to live for the uploaded file in hours, between 1 and 48, after which the file will be automatically deleted.

Output shape

a single JSON object containing metadata about the uploaded file, including its id, filename, original name, MIME type, storage URL, category, size, validity, expiration, and creation time.

The output JSON property keys correspond to the uploaded file's information as returned by the JsonCut API. If the upload fails, an error is thrown.

Discussion