Video Gen page: fal resolution and provider-audio controls for curated models
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 72/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript, react
調査の方向性
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 の本文から書いたものです。
説明
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
- 主要言語
- JavaScript
- スター
- 38
- フォーク
- 32
- 平均マージ
- 27分
- マージ済み PR(30日)
- 994
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
atomantic/PortOS のほかの issue
-
effort:medium enhancement model:medium plan
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
effort:medium model:medium needs-input plan planner:opus-5-5
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
メンテナーはふだん 1 日以内に返信
-
effort:high enhancement model:heavy needs-input plan planner:opus-5-5
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
atomantic/PortOS#8988 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Add source-audio-synchronized performance shots and provider-aware music-video timing対応中かも @atomantic が 2 日前に担当しました。 オープンeffort:high enhancement model:heavy needs-input plan
atomantic/PortOS#8977 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
decomposed effort:high enhancement epic model:heavy plan
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
atomantic/PortOS#8966 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
atomantic/PortOS の issue をすべて見る
似ている issue
-
Add google analyticsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
NCAR/music-box-interactive#628 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
remotion-dev/remotion#11847 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
phoenixframework/phoenix_live_view#4456 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
AllTheMods/ATM-10#4436 ·
メンテナーはふだん 5 日以内に返信