Skip to content

fix(hypihub): map PixVerse V6 and Bach fields the service accepts - #487

Merged
rponeawa merged 1 commit into
mainfrom
fix/hypihub-pixverse-bach-fields
Nov 11, 2026
Merged

rponeawa merged 1 commit into
mainfrom
fix/hypihub-pixverse-bach-fields

Conversation

@rponeawa

Copy link
Copy Markdown
Member

What changed

PixVerse V6

  • The HypiHub mapping sends seed and multi_clip. Before this change, using either field made the client fail locally before sending anything.
  • aspectRatio auto requires at least one reference video, which matches the HypiHub server rule (auto is accepted for V6 with reference videos). pix:Video no longer lists auto. pix:ReferenceVideo with auto and no video reference fails at the authored element.
  • multiClip and referenceVideo cannot be combined, because the server returns unsupported_multi_clip for that combination.

Bach 1.0 Pro

  • Reference videos are sent. HypiHub now accepts them on the unified execution contract, so the client-side block is removed.
  • Image, video and audio references are sent as { url, start_time } when they have an offset, and as a plain URL when they don't. HypiHub's relay reads start_time from reference objects (relay/video_reference_timing.go).

Why

Valid requests either failed before they were sent (seed, multiClip, Bach startTime, Bach referenceVideo). PixVerse auto without reference videos passed the client checks and then got rejected by the service.

Verification

  • tsc --noEmit on the repo passes.
  • The provider-hypihub and provider-sume tests pass (64/64).
  • Sample requests compiled through hypiHubRoutes:
    • V6 with a seed and multi-clip produced {"multi_clip":true,"seed":42,...}.
    • V6 with auto and no reference video, or with only image references, was rejected locally.
    • V6 with auto and a reference video produced "aspect_ratio":"auto".
    • Bach reported supported, and the body included "reference_videos":[{"start_time":1.5,"url":...}], "reference_image_urls":[{"start_time":0,"url":...}] and a plain-URL reference_audios entry.

No live HypiHub requests were sent. The field names come from the HypiHub main server code (relay/video.go, provider/pixverse/video.go, provider/bach/video.go).

- 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.
@rponeawa
rponeawa merged commit 0294a9f into main Nov 11, 2026
9 checks passed
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