Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#9,232 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript, react
領域
api, frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
JavaScript
スター
38
フォーク
32
平均マージ
27分
マージ済み PR(30日)
994

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

atomantic/PortOS のほかの issue

atomantic/PortOS の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。