Video Gen page: fal resolution and provider-audio controls for curated models
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, react
Línea de trabajo
Start in client/src/pages/VideoGen.jsx and trace the fal panel through useVideoGenFieldState.js, useVideoGenForm.js, and lib/videoGenSubmission.js. Run the videoGenSubmission unit tests and inspect the rendered page interaction coverage. Done means curated models show the appropriate controls, values reach the submission payload and cost hint, and resolution resets when the model changes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
#9230 made fal.ai video renders silent by default: generate_audio: false for Kling, Veo and Seedance. It also added falResolution and falGenerateAudio to POST /api/video-gen. The Video Gen page (client/src/pages/VideoGen.jsx, fal panel) exposes neither.
On that page, a user who picks Veo 3.1 Fast or Kling v3 Pro:
- can no longer get provider audio (it was the provider default before), and
- always renders at the model's default resolution.
The page's cost hint says "at the model's default resolution with provider audio off" for this reason.
Decision
Add both controls to the fal panel. Show them only when the typed model is a curated catalog model that offers them (getFalVideoModel(id).resolution / .audio):
- a resolution
<select>listingfalVideoResolutions(model), blank meaning the model default; - a "Provider audio" checkbox, default off.
Thread both through useVideoGenFieldState → useVideoGenForm → lib/videoGenSubmission.js#buildVideoGenSubmission (the isFal branch) as falResolution / falGenerateAudio. Feed the same values to the page's estimateFalVideoCostUsd hint, so the audio-on rate is shown when audio is on. Clear the resolution when the model changes, because each model has its own set of resolution values (same rule as the Music Video picker).
Files
client/src/pages/VideoGen.jsxclient/src/hooks/useVideoGenFieldState.jsclient/src/hooks/useVideoGenForm.jsclient/src/lib/videoGenSubmission.js(+ its test)
Acceptance
- Picking a curated model with resolutions shows the resolution select. Picking one with an audio flag shows the audio checkbox. An uncurated id shows neither.
- The submission payload carries
falResolution/falGenerateAudioonly when set. - The cost hint changes with the selected resolution and audio setting.
- Covered by
videoGenSubmissionunit coverage and one rendered page interaction.
Refs #8977
- Lenguaje dominante
- JavaScript
- Estrellas
- 38
- Forks
- 32
- Merge medio
- 47 min
- PR fusionados (30 d)
- 993
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de atomantic/PortOS
-
bug effort:high help wanted model:heavy plan planner:gpt-6-1-sol windows
Dificultad 5/5 Más de una semana Aptitud para principiantes 28/100
atomantic/PortOS#14035 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area:music-video bug effort:high model:heavy plan planner:gpt-6-1-sol
Dificultad 5/5 Más de una semana Aptitud para principiantes 38/100
Los mantenedores suelen responder en 1 día
-
bug effort:high model:heavy plan planner:gpt-6-1-sol
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
bug effort:high model:heavy plan
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
bug effort:xhigh model:heavy plan planner:gpt-6-1-terra
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
atomantic/PortOS#14016 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de atomantic/PortOS
Issues similares
-
security
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
remotestorage/remotestorage.js#1405 ·
-
Instagram explore page issueAbiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
nativewind/nativewind#1879 ·
-
Improve menu selectionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
BCStudentSoftwareDevTeam/cas#448 ·
-
enhancement good first issue hacktoberfest help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
BinaryBaconLabs/todo-app#14 ·