Comfy-Org/ComfyUI · error · ValueError

1080p is not available for vertical aspect ratios (9:16, 3:4

Error message

1080p is not available for vertical aspect ratios (9:16, 3:4) when reframing.

What it means

Raised by the Luma Ray 3.2 reframe node (comfy_api_nodes/nodes_luma.py:1386) when resolution='1080p' is combined with a vertical aspect ratio ('9:16' or '3:4'). The upstream reframe endpoint cannot produce 1080p vertical output, so the node rejects it before uploading the source video.

Source

Thrown at comfy_api_nodes/nodes_luma.py:1386

                IO.Video.Output(),
                IO.String.Output(display_name="generation_id"),
            ],
            hidden=[
                IO.Hidden.auth_token_comfy_org,
                IO.Hidden.api_key_comfy_org,
                IO.Hidden.unique_id,
            ],
            is_api_node=True,
            price_badge=_BADGE_RAY32_REFRAME,
        )

    @classmethod
    async def execute(
        cls, video: Input.Video, prompt: str, aspect_ratio: str, resolution: str, seed: int
    ) -> IO.NodeOutput:
        validate_string(prompt, strip_whitespace=False, min_length=1, max_length=6000)
        if resolution == "1080p" and aspect_ratio in {"9:16", "3:4"}:
            raise ValueError("1080p is not available for vertical aspect ratios (9:16, 3:4) when reframing.")
        source_url = await upload_video_to_comfyapi(cls, video, max_duration=30)
        request = Luma2GenerationRequest(
            prompt=prompt,
            model="ray-3.2",
            type="video_reframe",
            aspect_ratio=aspect_ratio,
            source=Luma2ImageRef(url=source_url, media_type="video/mp4"),
            video=Luma2VideoOptions(resolution=resolution),
        )
        return await _ray32_generate(cls, request)


class LumaRay32ExtendVideoNode(IO.ComfyNode):
    @classmethod
    def define_schema(cls) -> IO.Schema:
        return IO.Schema(
            node_id="LumaRay32ExtendVideoNode",
            display_name="Luma Ray 3.2 Extend Video",

View on GitHub (pinned to 1c6d8d45b3)

Solutions

  1. Set resolution to '720p' (or another supported tier) for 9:16 or 3:4 output.
  2. Or keep '1080p' and choose a horizontal/square aspect ratio.
  3. Save the corrected widget values if the workflow is reused as a template.
Defensive patterns

Strategy: validation

Validate before calling

if resolution == "1080p" and aspect_ratio in {"9:16", "3:4"}:
    resolution = "720p"  # or switch aspect_ratio to horizontal/square

Prevention

When it happens

Trigger: Executing the Ray 3.2 reframe node with the resolution widget at '1080p' and aspect_ratio at '9:16' or '3:4'.

Common situations: User reframe a landscape video to vertical at maximum quality; workflow defaults left at 1080p while switching the target ratio to portrait for shorts/reels.

Related errors


AI-assisted analysis of Comfy-Org/ComfyUI@1c6d8d45b3 (2026-08-14). Data as JSON: /api/errors/b638b1c028338771. Report an issue: GitHub.