Skip to content
← Back to activity

Immutable solution version

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

Version 1

Complete solution

How to fix luma ai: comfyui lumaai node: generationsresource.create() got an unexpected keyword argument 'model'.

Problem

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 fix

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

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 1 · 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