Skip to content

[feat] Connect Dreamverse creation settings to generation - #1856

Merged
Davids048 merged 1 commit into
ds8/dreamversev2-devfrom
fastvideo_dreamverse_backend_wiring
Sep 16, 2026
Merged

Davids048 merged 1 commit into
ds8/dreamversev2-devfrom
fastvideo_dreamverse_backend_wiring

Conversation

@Davids048

Copy link
Copy Markdown
Collaborator

Purpose

Connect Dreamverse creation settings to server validation and generation. The browser sends model, mode,
aspect ratio, resolution, duration, and reference-image inputs; the server resolves and echoes the configuration.

This draft carries the additional changes from #1854 beyond the UI uplift merged in #1853, targeting
ds8/dreamversev2-dev for review and refactoring.

Changes

  • Add per-model creation capabilities and the /creation-capabilities endpoint.
  • Parse session creation settings and pass dimensions and frame counts through the worker request path.
  • Serialize reference-image inputs and validate supported creation selections in the frontend.
  • Display the resolved session settings as read-only controls.
  • Include the source capability/configuration tests and architecture documentation.

Source verification

The patch is byte-for-byte identical to the difference between these author branches:

  • UI uplift: aryan5v/dreamverse-ui-uplift-9f15 at 90d739a91892302edf37c4b23f807f402c83071d.
  • Backend wiring: aryan5v/dreamverse-backend-wiring-9f15 at 8c5ee9b51cc3b75f4eba9cb3904fe08578c9dc9e.

Base: e57543b79dd556e5fc5d264f33328f9021072e46 on ds8/dreamversev2-dev.
Diff: 28 files, 1,540 insertions, 86 deletions. Changes outside those paths remain identical to the dev base.

Test Plan

Run from the repository root:

PYTHONPATH=apps/dreamverse:. python -m pytest \
  apps/dreamverse/dreamverse/tests/test_creation_capabilities.py \
  apps/dreamverse/dreamverse/tests/test_session_creation_config.py \
  apps/dreamverse/dreamverse/tests/test_session_init_image.py \
  apps/dreamverse/dreamverse/tests/test_generation_worker.py \
  apps/dreamverse/dreamverse/tests/test_mock_server.py -q
npm --prefix apps/dreamverse/web run typecheck
npm --prefix apps/dreamverse/web test -- --maxWorkers=4
git diff --name-only -z e57543b79dd556e5fc5d264f33328f9021072e46 HEAD | xargs -0 pre-commit run --files

Test Results

  • Backend: 25 passed.
  • Frontend typecheck: passed.
  • Frontend tests: 80 passed, 27 skipped.
  • Patch provenance and whitespace checks: passed.
  • Pre-commit: inherited yapf formatting failures and a mypy error at
    session_creation_config.py:102 (int(object)). Hook-generated changes were excluded to preserve the source patch.
  • GPU generation was not run for this transfer.

Known issues for refactoring

The source implementation retains the issues identified during review:

  • LTX dimensions use 32-pixel alignment while refinement requires 64; the default 720p request fails validation.
  • Changing models through project_init_v1 updates configuration without reloading the worker.
  • A delayed capability response can overwrite lobby selections.
  • The advertised 15 MiB image limit can exceed the WebSocket message limit after base64 encoding.
  • Invalid model IDs and some invalid durations are silently replaced with defaults.
  • H3 configuration metadata disagrees with the backend's fixed geometry and frame count.
  • Mock generation enforces the global segment cap instead of the requested project cap.

The inherited UI also needs Enter-key submission and reference-image removal/reset fixes.
FL2AV and 4K remain explicitly unsupported by the source capability contract.

Checklist

  • Verified the exact backend-wiring minus UI-uplift patch.
  • Ran frontend typechecking and unit tests.
  • Ran targeted backend tests.
  • Included source tests and documentation.
  • Resolve inherited pre-commit failures.
  • Resolve generation and UI findings before marking ready for merge.
  • Complete GPU validation before merging.

Apply the backend-wiring changes beyond the UI uplift to
ds8/dreamversev2-dev for review and refactoring.

Source PR: #1854
Source range: 90d739a..8c5ee9b
The 28-file patch is identical to that source range.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
@mergify mergify Bot added the type: feat New feature or capability label Sep 16, 2026
@Davids048
Davids048 marked this pull request as ready for review September 16, 2026 00:15
@Davids048
Davids048 merged commit 0c16ec9 into ds8/dreamversev2-dev Sep 16, 2026
4 of 5 checks passed
@Davids048
Davids048 deleted the fastvideo_dreamverse_backend_wiring branch September 16, 2026 00:16
@Davids048
Davids048 restored the fastvideo_dreamverse_backend_wiring branch September 16, 2026 00:16
@Davids048
Davids048 deleted the fastvideo_dreamverse_backend_wiring branch September 16, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feat New feature or capability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant