Skip to content

Conversation

alexisrolland
Copy link

@alexisrolland alexisrolland commented Oct 4, 2025

This PR is a proposal to add a quality of life feature, to output width and height information from empty latent nodes. This allows users to directly use empty latent nodes to set the width and height in their workflow, without having to create additional primitive integer nodes.

Nodes for which I have done the change (not sure if the list is exhaustive):

  • EmptyLatentImage
  • EmptyChromaRadianceLatentImage
  • EmptyCosmosLatentVideo
  • EmptyLTXVLatentVideo
  • EmptyMochiLatentVideo
  • EmptySD3LatentImage
  • StableCascade_EmptyLatentImage
empty_latents

@VioletVolatile
Copy link

Wouldn't it make a lot more sense to add a "Get Latent Size" node, similar to the existing "Get Image Size" node?

@alexisrolland
Copy link
Author

alexisrolland commented Oct 9, 2025

The point was precisely to avoid having to add extra nodes to set / get the width and height since they are already manually set in the empty latent nodes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants