ComfyUI Node

SG Load

Read a Flow Production Tracking Version's media into the graph, recording it as a source.

By ksallee·Created 14 days ago·Updated a day ago· 5
SG Load
    • image
    • video
    • mask
    • version_id
    • code
    • colour_space
    project
    link
    task
    statuses
    name_contains
    sourceauto
    frame0
    frame_count0
    newest_byversion number in the name
    filters
    pin_version_id0
    CategoryFlow Production Tracking

    Inputs (11)

    NameTypeDefaultDescription
    projectCOMBOProject to read from.
    linkCOMBOThe Shot, Asset or other entity to read from. Leave it empty to search the project.
    taskoptCOMBONarrow the search to one Task on that entity.
    statusesoptSTRINGThe statuses to accept, separated by commas; empty accepts any. This project allows:
    name_containsoptSTRINGWords that must all appear in the Version name, for example depth v0.
    sourceoptCOMBOautoRead both outputs from this one file. Auto takes the best for each: the frames on the storage for image, the movie for video.
    frameoptINT00–1048576The frame to start at, by the number in the filename: 1003 means plate.1003.exr. 0 starts wherever the sequence starts, so a plate running 1001-1048 needs no typing. A movie has no frame numbers inside it, so there the count starts at 1.
    frame_countoptINT00–512How many frames to read as one batch, starting at the frame above. 0 is all frames to the end of the sequence or the movie, and 1 is a single image. A batch too large for memory is refused, and the error says how many fit.
    newest_byoptCOMBOversion number in the nameWhat newest means when several Versions match.
    filtersoptSTRINGExtra conditions in Flow Production Tracking's filter syntax, added to the fields above with AND, for example [["sg_ai_model", "contains", "flux"]]. For OR, use one group: {"logical_operator": "or", "conditions": [...]}. Leave it empty to let the fields above decide.
    pin_version_idoptINT00–2147483647Load this exact Version by id, ignoring all the fields above. 0 loads whatever those fields find.

    Outputs (6)

    NameTypeDescription
    imageIMAGEThe frames read from the Version, as a batch.
    videoVIDEOThe Version's clip, or its frames at the rate the site recorded.
    maskMASKThe frames' alpha, inverted the way Load Image does it. A source with no alpha gives a zero mask.
    version_idINTThe id of the Version read, for a node downstream to name.
    codeSTRINGThe name of the Version read.
    colour_spaceSTRINGThe colour space the publisher declared, empty when none was.