Comfy-Org/ComfyUI · error · ValueError

Runway task succeeded but no image data found in response.

Error message

Runway task succeeded but no image data found in response.

What it means

Raised by the Runway text-to-image (Gen-4 image) node when the polled task reports success but `output` is empty, so no image URL can be extracted. Submission and polling both completed; only the response payload is missing the expected artifact. The node aborts rather than downloading from a nonexistent URL.

Source

Thrown at comfy_api_nodes/nodes_runway.py:525

        initial_response = await sync_op(
            cls,
            endpoint=ApiEndpoint(path=PATH_TEXT_TO_IMAGE, method="POST"),
            response_model=RunwayTextToImageResponse,
            data=RunwayTextToImageRequest(
                promptText=prompt,
                model=Model4.gen4_image,
                ratio=ratio,
                referenceImages=reference_images,
            ),
        )

        final_response = await get_response(
            cls,
            initial_response.id,
            estimated_duration=AVERAGE_DURATION_T2I_SECONDS,
        )
        if not final_response.output:
            raise ValueError("Runway task succeeded but no image data found in response.")

        return IO.NodeOutput(await download_url_to_image_tensor(get_image_url_from_task_status(final_response)))


_TIMING_ABSOLUTE = "Absolute time (seconds)"
_TIMING_FRACTION = "Fraction of duration (0.0-1.0)"


class RunwayAleph2KeyframeNode(IO.ComfyNode):

    @classmethod
    def define_schema(cls):
        return IO.Schema(
            node_id="RunwayAleph2KeyframeNode",
            display_name="Runway Aleph2 Keyframe",
            category="partner/video/Runway",
            description="Anchor a guidance image to a moment of the input (source) video, so Aleph2 "
            "steers the edit at that point of your footage. Connect this to the 'keyframes' input of "

View on GitHub (pinned to 1c6d8d45b3)

Solutions

  1. Retry with the same or slightly adjusted prompt — content-filter-adjacent empties often clear
  2. Check the Runway task in the dashboard for the id to see if an image exists server-side
  3. Review Runway API changelog for response-model changes
Defensive patterns

Strategy: retry

Try / catch

try:
    out = await runway_text_to_image(...)
except ValueError as e:
    if "no image data found" in str(e):
        out = await runway_text_to_image(...)  # retry once
    else:
        raise

Prevention

When it happens

Trigger: Calling RunwayTextToImageNode; POST succeeds, get_response reaches a terminal state, but final_response.output is falsy.

Common situations: Runway server-side content filtering marking output empty without a failure status; API schema changes dropping the output field; rare transient response truncation.

Related errors


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