
The Product Ad Cinematic Sequence Generator workflow is designed to transform a simple product image into a series of cinematic-style advertisements. This is achieved by leveraging the power of the Nano Banana Pro model, renowned for its style transfer capabilities. The workflow begins with the LoadImage node, where users upload their product image and a reference image that embodies the desired cinematic style. The BatchImagesNode processes these images in bulk, ensuring consistent application of the style across multiple frames. The GeminiImage2Node is the heart of the workflow, where the actual style transfer occurs. This node applies the cinematic style to the product image, maintaining consistent composition and lighting across the sequence. Finally, the SaveImage node stores the generated images, ready for use in marketing materials or presentations.
API
Use this workflow from code
Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.
GET https://comfy.org/workflows/download/17883fb20765.jsonFetching workflow JSON…
Run it from Python or TypeScript with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
# Install (beta)
pip install comfy-sdk # Python
npm i @comfyorg/sdk # TypeScript
# Run "Product Ad Cinematic Sequence Generator" (Python)
from comfy_sdk import Comfy
client = Comfy(api_key="comfyui-...")
# This workflow, exported in API format (see note below)
wf = client.workflows.from_file("template_sferro21_product_ad.app_api.json")
asset = client.assets.from_file("input.png")
wf.set_input("2", "image", asset) # LoadImage
job = client.run(wf)
for output in job.get_outputs("5"): # SaveImage
output.to_file(output.name)The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API). API access requires a Comfy Cloud plan with an API key. SDK docs · Get an API key
FAQ














