Skip to content

Enhance a finished take to 1080P or 2K (h3-studio#795) - #355

Merged
apedintensor merged 2 commits into
mainfrom
claude/enhance-ui
Oct 30, 2026
Merged

apedintensor merged 2 commits into
mainfrom
claude/enhance-ui

Conversation

@apedintensor

Copy link
Copy Markdown
Member

PR-C of h3-studio docs/ENHANCE.md (#795). Backend: inkseq/h3-studio#872 (plan, price, /v1/jobs start) and #873 (RunPod execution).

What

  • Enhance button (EnhanceTake.jsx) in a finished take's tool row, next to Downloads. Shown only for a done take with its own library entity that is not itself an enhanced copy (enhance-take.js).
  • Dialog: 1080P / 2K segmented choice with a one-line note, the shared credits usage bar (never a per-clip price), "usually a few minutes", Cancel / Enhance. Both tiers are planned when it opens (POST /v1/enhance-plans), so switching never waits or greys the button. Not ready → a plain "not available right now"; not enough credits → the bar's existing message.
  • Start submits the plan through /v1/jobs with a stored idempotency intent and merges the job.
  • Progress and versions: the backend copies the source take's shot_id, so the enhance job is one of that shot's takes (queued → running → done) and the existing takes list switches between original and enhanced copy. storyboard-domain marks it enhanced.
  • CreditUsageBar / creditShortfall extracted to CreditsUI.jsx and reused by the generation confirmation (same markup and classes).
  • Copy in en/zh (enhanceCatalogs.js); no model, GPU or step words.

Checks

  • npm test 898 pass (new: enhance job joins the shot's takes, marked enhanced; original stays enhanceable).
  • npm run lint, ratchets unchanged (complexity 76, max-lines 49, busyDisables 77).
  • Visual and end-to-end acceptance on staging with the QA account in PR-D (needs the RunPod endpoint), since a finished take requires the backend.

An Enhance button next to a finished take's downloads opens a dialog with
1080P / 2K, the credits usage bar (no per-clip price) and Start. Both tiers
are planned on open so switching never waits. The enhance job carries the
take's shot, so it shows in that shot's takes as queued, running, done; the
original stays and the takes list switches between them. Enhanced takes are
not offered again. The usage bar is now one shared component.
@apedintensor

Copy link
Copy Markdown
Member Author

Enhance is now offered only when /v1/capabilities says enhance.enabled (inkseq/h3-studio#877), so a target with enhance off never shows the button.

@apedintensor
apedintensor merged commit 09a9471 into main Oct 30, 2026
2 checks passed
@apedintensor
apedintensor deleted the claude/enhance-ui branch October 30, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant