Comfy-Org / Comfy-Org/ComfyUI

Error 400 in duration

Open
#14,729 1 comment 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

### Custom Node Testing

- [ ] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

ServiceError: Failed to send prompt request: request returned error status 400: {"error": {"type": "prompt_outputs_failed_validation", "message": "Prompt outputs failed validation", "details": "", "extra_info": {}}, "node_errors": {"32": {"errors": [{"type": "value_not_in_list", "message": "Value not in list", "details": "duration_seconds: '5' is not a valid value, "class_type": "PixverseImageToVideoNode"}}}

### Actual Behavior

Video got generated once and post that this is the error

### Steps to Reproduce

input image node >> Kling Image to video with audio node >> save video node

### Debug Logs

```powershell
ServiceError: Failed to send prompt request: request returned error status 400: {"error": {"type": "prompt_outputs_failed_validation", "message": "Prompt outputs failed validation", "details": "", "extra_info": {}}, "node_errors": {"32": {"errors": [{"type": "value_not_in_list", "message": "Value not in list", "details": "duration_seconds: '5' is not a valid value, "class_type": "PixverseImageToVideoNode"}}}
```

### Other

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the image-to-video workflow using the Kling Image to video and save video nodes, then inspect the validation error for node 32. Compare the duration_seconds value accepted by PixverseImageToVideoNode with the workflow's value of '5'. Done means the workflow no longer returns the prompt_outputs_failed_validation 400 error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.