Skip to content

Add frames_per_chunk and temporal_downsample_factor to pipeline schema metadata #470

@ryanontheinside

Description

@ryanontheinside

Currently frames_per_chunk and temporal_downsample_factor are computed internally from pipeline block configs (num_frame_per_block × vae_temporal_downsample_factor) but aren't surfaced through the /api/v1/pipelines/schemas endpoint.

Exposing these in get_schema_with_metadata() would allow clients (e.g. ComfyUI nodepack) to display or use these values without hardcoding pipeline-specific constants.

Suggested approach

  • Add frames_per_chunk and temporal_downsample_factor fields to the schema metadata dict returned by BasePipelineConfig.get_schema_with_metadata()
  • Derive values from the pipeline's existing config (e.g. num_frame_per_block, vae_temporal_downsample_factor

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions