
The 'Kling O3: Reference to Video' workflow is designed to transform a reference image into a character-consistent video, offering precise storyboard control and native audio output. This workflow leverages the Kling O3 model, renowned for its ability to maintain character consistency across frames while integrating optional audio or text prompts for enhanced narrative depth. Technically, the workflow begins with the LoadImage node, which allows users to upload a reference image. The KlingOmniProImageToVideoNode is the core of this workflow, converting the static image into a dynamic video sequence. This node is particularly adept at preserving the visual attributes of the character throughout the video, ensuring a seamless transformation from image to video. Additionally, the BatchImagesNode can be activated by selecting it and pressing Ctrl+B, enabling the processing of multiple images simultaneously for more complex projects.
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/99ac5a75449c.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 "Kling O3: Reference to Video" (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("api_kling_o3_i2v_api.json")
asset = client.assets.from_file("input.png")
wf.set_input("17", "image", asset) # LoadImage
job = client.run(wf)
for output in job.get_outputs("20"): # SaveVideo
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














