calesthio/OpenMontage · error · ValueError
Unsupported turbo video operation: {operation}
Error message
Unsupported turbo video operation: {operation} What it means
Error "Unsupported turbo video operation: {operation}" thrown in calesthio/OpenMontage.
Source
Thrown at tools/video/kling_official_video.py:365
if operation == "text_to_video":
settings["aspect_ratio"] = inputs.get("aspect_ratio", "16:9")
payload = {"prompt": self._prompt(inputs), "settings": settings}
if options:
payload["options"] = options
path = "/text-to-video/kling-3.0-turbo"
elif operation == "image_to_video":
if inputs.get("reference_image_path") and not inputs.get("reference_image_url"):
raise ValueError("Turbo image_to_video requires reference_image_url; local paths cannot be silently uploaded.")
image_url = inputs.get("reference_image_url")
if not image_url:
raise ValueError("image_to_video requires reference_image_url for api_family=turbo")
contents = [{"type": "prompt", "text": self._prompt(inputs)}, {"type": "first_frame", "url": image_url}]
payload = {"contents": contents, "settings": settings}
if options:
payload["options"] = options
path = "/image-to-video/kling-3.0-turbo"
else:
raise ValueError(f"Unsupported turbo video operation: {operation}")
return {
"protocol": "turbo",
"path": path,
"payload": payload,
"operation": operation,
"api_family": "turbo",
"model": "kling-3.0-turbo",
}
def _build_omni_request(self, inputs: dict[str, Any], operation: str) -> dict[str, Any]:
explicit_model = inputs.get("model_name") or inputs.get("model_variant")
model_name = str(explicit_model or "kling-video-o1")
if model_name not in OMNI_VIDEO_MODELS:
raise ValueError(f"model_name {model_name!r} is not supported for api_family=omni")
payload, references_used, element_id_values = self._build_omni_payload(inputs, operation, model_name)
return {
"protocol": "classic",
"path": "/v1/videos/omni-video",View on GitHub (pinned to 95e1c3d0ab)
Solutions
- Use one of the supported turbo operations for this endpoint.
- Verify the operation name against the tool documentation and correct any typo.
When it happens
Trigger: An operation string outside the supported turbo Kling video operations is passed with api_family=turbo.
Common situations: See trigger scenarios.
AI-assisted analysis of calesthio/OpenMontage@95e1c3d0ab (2026-08-15).
Data as JSON: /api/errors/97ef8d9d70a4476f.
Report an issue: GitHub.