Volver
Poster Scene Mockups

The 'Poster Scene Mockups' workflow is designed to streamline the process of creating realistic mockups for posters and advertisements. By leveraging the power of ComfyUI, this workflow allows users to upload a design and input a brief description of their brand to generate four distinct mockups across various scenes. The workflow utilizes models such as Nano Banana Pro and Google, and incorporates custom nodes from comfyui_essentials to enhance its capabilities. Key nodes include GeminiImage2Node for image processing, LoadImage and SaveImage for handling input and output, and ResizeAndPadImage for adjusting the dimensions of the uploaded design. The workflow efficiently processes the input design and brand description to produce visually appealing mockups suitable for presentations or marketing materials.

Technically, the workflow begins by loading the input image using the LoadImage node and then applies transformations using nodes like ResizeAndPadImage to fit the design into different scene templates. The ImageBatch node is employed to manage multiple scene outputs, while ImageFromBatch extracts individual mockups for saving. The integration of PrimitiveInt and PrimitiveStringMultiline nodes allows for flexible input handling, such as specifying the number of mockups and incorporating multiline brand descriptions. Additionally, the RegexReplace node ensures that any unwanted characters in the input are filtered out, maintaining the integrity of the final output. This workflow is particularly useful for designers and marketers looking to quickly visualize their designs in real-world settings without extensive manual editing.