Repository navigation
fix(hypihub): map PixVerse V6 and Bach fields the service accepts - #487
Merged
Merged
Conversation
- PixVerse V6 sends seed and multi_clip on /v1/videos.
- PixVerse aspectRatio auto requires a reference video; Video no longer
offers auto, and multiClip cannot be combined with reference videos.
- Bach sends reference videos; the earlier client-side block is removed
now that HypiHub accepts them on the unified execution contract.
- Bach image, video and audio references carry start_time as
{ url, start_time }; references without an offset stay plain URLs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
PixVerse V6
seedandmulti_clip. Before this change, using either field made the client fail locally before sending anything.aspectRatioautorequires at least one reference video, which matches the HypiHub server rule (autois accepted for V6 with reference videos).pix:Videono longer listsauto.pix:ReferenceVideowithautoand no video reference fails at the authored element.multiClipandreferenceVideocannot be combined, because the server returnsunsupported_multi_clipfor that combination.Bach 1.0 Pro
{ url, start_time }when they have an offset, and as a plain URL when they don't. HypiHub's relay readsstart_timefrom reference objects (relay/video_reference_timing.go).Why
Valid requests either failed before they were sent (
seed,multiClip, BachstartTime, BachreferenceVideo). PixVerseautowithout reference videos passed the client checks and then got rejected by the service.Verification
tsc --noEmiton the repo passes.provider-hypihubandprovider-sumetests pass (64/64).hypiHubRoutes:{"multi_clip":true,"seed":42,...}.autoand no reference video, or with only image references, was rejected locally.autoand a reference video produced"aspect_ratio":"auto".supported, and the body included"reference_videos":[{"start_time":1.5,"url":...}],"reference_image_urls":[{"start_time":0,"url":...}]and a plain-URLreference_audiosentry.No live HypiHub requests were sent. The field names come from the HypiHub
mainserver code (relay/video.go,provider/pixverse/video.go,provider/bach/video.go).