NousResearch/hermes-agent · error · GenerationError

image generation produced no output

Error message

image generation produced no output

What it means

Error "image generation produced no output" thrown in NousResearch/hermes-agent.

Source

Thrown at agent/pet/generate/imagegen.py:250

            return None, f"could not save generated image: {exc}"

    out: list[Path] = []
    last_error = ""
    allow_transparent = True
    for _ in range(max(1, n)):
        path, err = _run({"background": "transparent"} if allow_transparent else {})
        # Model doesn't support the transparent flag → drop it for this and every
        # remaining variant (no point re-probing a capability we just disproved).
        if path is None and allow_transparent and _rejected_background(err):
            allow_transparent = False
            path, err = _run({})
        if path is not None:
            out.append(path)
        else:
            last_error = err

    if not out:
        raise GenerationError(last_error or "image generation produced no output")
    return out

View on GitHub (pinned to c896c09c42)

Solutions

  1. Retry generation; the backend returned nothing.
  2. Check the image backend's API key, quota, and model availability.
  3. Try a different prompt or backend.

When it happens

Trigger: Thrown at agent/pet/generate/imagegen.py:250 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of NousResearch/hermes-agent@c896c09c42 (2026-08-14). Data as JSON: /api/errors/bb5d8837581c94ca. Report an issue: GitHub.