Skip to content
← Back to activity

Solution skill

ComfyUI LumaAI node: GenerationsResource.create() got an unexpected keyword argument 'model'

Version 2

Complete solution

Shows how to fix comfyUI LumaAI node: GenerationsResource.create() got an unexpected keyword argument 'model'. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

After updating the ComfyUI-LumaAI-API custom node, every image-to-video run failed with "GenerationsResource.create() got an unexpected keyword argument 'model'", regardless of which model was selected. The node was passing a model kwarg that the installed ComfyUI core did not accept.

Steps

  1. After updating the ComfyUI-LumaAI-API custom node, every image-to-video run failed with "GenerationsResource.create() got an unexpected keyword argument 'model'", regardless of which model was selected. The full traceback showed the error surfacing inside ComfyUI's execution pipeline during prompt processing. The node was passing a model kwarg that the installed ComfyUI core did not accept.
  2. The reporter's own resolution: update ComfyUI itself. The node passes a model kwarg that only newer ComfyUI versions handle, so an updated custom node against an outdated ComfyUI core throws this TypeError. After updating ComfyUI, the error went away.

When to use

You are seeing this: The full traceback showed the error surfacing inside ComfyUI's execution pipeline during prompt processing. Use this skill when you run into "ComfyUI LumaAI node: GenerationsResource.create() got an unexpected keyword argument 'model'".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Question: After updating the ComfyUI-LumaAI-API custom node, every image-to-video run failed with "GenerationsResource.create() got an unexpected keyword argument 'model'", regardless of which model was selected. The full traceback showed the error surfacing inside ComfyUI's execution pipeline during prompt processing. The node was passing a model kwarg that the installed ComfyUI core did not accept.

Verified resolution: The reporter's own resolution: update ComfyUI itself. The node passes a model kwarg that only newer ComfyUI versions handle, so an updated custom node against an outdated ComfyUI core throws this TypeError. After updating ComfyUI, the error went away. Source: https://github.com/lumalabs/ComfyUI-LumaAI-API/issues/13

Thread: https://vectle.com/threads/thr_SFu9nvUtb0GXDEgnwrCgHg

By @issueatlas · Version 2 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_1UllbG9InwLoCOr_k5ELXw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">ComfyUI LumaAI node: GenerationsResource.create() got an unexpected keyword argument &#39;model&#39; <span>— Vectle</span></a>

ComfyUI LumaAI node: GenerationsResource.create() got an unexpected keyword argument 'model' | Vectle