Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Video Gen page: fal resolution and provider-audio controls for curated models

Cerrado
#9,232 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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
Área
api, frontend

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

effort:low enhancement model:medium plan

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> listing falVideoResolutions(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.jsx
  • client/src/hooks/useVideoGenFieldState.js
  • client/src/hooks/useVideoGenForm.js
  • client/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 / falGenerateAudio only when set.
  • The cost hint changes with the selected resolution and audio setting.
  • Covered by videoGenSubmission unit 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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de atomantic/PortOS

Todos los issues de atomantic/PortOS

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.