-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Description
hi team, i get this vague message about failed video generation when using together ai provider models
so far i found these models to be problematic
- pixverse/pixverse-v5
- kwaivgI/kling-2.1-standard
- (other kling variants)
here's the code to repro
<html>
<body>
<div id="status"></div>
<script src="https://js.puter.com/v2/"></script>
<script>
// Start timer
const status = document.getElementById('status');
const startTime = Date.now();
const timerInterval = setInterval(() => {
const elapsed = ((Date.now() - startTime) / 1000).toFixed(1);
status.textContent = `Loading (${elapsed} seconds)`;
}, 100);
// Generate video
puter.ai.txt2vid(
"A fox sprinting through a snow-covered forest at dusk",
{ model: "pixverse/pixverse-v5" }
)
.then(videoElement => {
document.body.appendChild(videoElement);
videoElement.addEventListener('loadeddata', () => videoElement.play().catch(() => {}));
// Clear timer and show finished status
clearInterval(timerInterval);
const totalTime = ((Date.now() - startTime) / 1000).toFixed(1);
status.textContent = `Finished (${totalTime} seconds)`;
}).catch(error => {
console.error(error);
clearInterval(timerInterval);
status.textContent = JSON.stringify(error);
})
</script>
</body>
</html>i've pinpointed the error message from this line
puter/src/backend/src/modules/puterai/TogetherVideoGenerationService.js
Lines 169 to 175 in f51c074
| if ( finalJob.status === 'failed' ) { | |
| const errorMessage = finalJob?.info?.errors?.[0]?.message ?? | |
| finalJob?.info?.errors?.message ?? | |
| finalJob?.info?.errors ?? | |
| 'Video generation failed'; | |
| throw new Error(errorMessage); | |
| } |
it would be nice to know the actual error, so i can fix if it was the way i called the model
thanks!
Metadata
Metadata
Assignees
Labels
No labels