Video Gen page: fal resolution and provider-audio controls for curated models
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, react
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- JavaScript
- Star
- 38
- Fork
- 32
- Merge trung bình
- 24 phút
- Pull request đã merge (30 ngày)
- 993
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của atomantic/PortOS
-
area:media area:ui effort:high model:heavy plan planner:gpt-6-1-sol
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:media area:ui blocked effort:xhigh model:heavy plan planner:gpt-6-1-sol
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:media area:ui blocked effort:high model:heavy plan planner:gpt-6-1-sol
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:media area:ui effort:high model:heavy plan planner:gpt-6-1-sol
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:media area:ui blocked effort:xhigh model:heavy plan planner:gpt-6-1-sol
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của atomantic/PortOS
Issue tương tự
-
Add: Arena Sport 1 (Serbia) FeedĐang mởcheck:failed feeds:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
iptv-org/database#36278 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
fix
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
idean3885/claude-ops-agent#577 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 7 ngày
-
[quality] e2e coverage converter's four fail-closed integrity guards have zero test coverageĐang mởagent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
notionnext-org/NotionNext#4544 ·
Maintainer thường phản hồi trong vòng 1 ngày