Skip to content

[feat]: Wire creation studio config to backend session init and generation - #39

Draft
aryan5v wants to merge 6 commits into
aryan5v/dreamverse-ui-uplift-9f15from
aryan5v/dreamverse-backend-wiring-9f15
Draft

[feat]: Wire creation studio config to backend session init and generation#39
aryan5v wants to merge 6 commits into
aryan5v/dreamverse-ui-uplift-9f15from
aryan5v/dreamverse-backend-wiring-9f15

Conversation

@aryan5v

@aryan5v aryan5v commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Update: FastH3 in model list

The lobby model list now mirrors MODEL_REGISTRY and includes fast-h3 (MiniMax H3 / FastH3), which is already wired in the backend via the merged H3 integration.

Per-model capabilities

Model Modes Aspect ratios Resolutions
fast-ltx2, fast-ltx23 t2va, ref2va all 6 480p–1080p
fast-h3 t2va, ref2va 16:9 only 720p (fixed 768×1344 output)

GET /creation-capabilities now returns a models map with per-model caps. The UI clamps aspect/resolution when switching to H3.

FL2VA and 4K remain rejected across models.

Open in Web Open in Cursor 

Connect lobby model/mode/aspect/resolution/duration and reference images
to session_init_v2 and project_init_v1. Backend parses creation config,
validates mode assets, resolves frame size and segment cap, and passes
per-step sampling overrides to the GPU worker. Frontend builds init
payloads from creation state and applies echoed creation_config.

Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Sep 8, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

cursoragent and others added 2 commits September 11, 2026 03:05
Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
Use canonical t2va/fl2va/ref2va from hao-ai-lab#1834/hao-ai-lab#1835 instead of a parallel
creation_mode field. Wire model, resolution, duration, and image assets
through session_creation_config while leaving H3 mode routing to upstream.

Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
@cursor

cursor Bot commented Sep 11, 2026

Copy link
Copy Markdown

Combined stack verification (UI #38 + backend #39 + mock server)

Tested on branch aryan5v/dreamverse-backend-wiring-9f15 with mock backend (uvicorn dreamverse.mock_server:app on :8009) + Next.js dev (:5299).

E2E (9/9 core checks passed):

  • frontend-shell — lobby loads, FastLTX pill, mode/resolution/duration pills, preset rail
  • backend-health — healthz/readyz/status/curated-presets via Next rewrite
  • mock-backed-generation — prompt → Generate → streaming state + playback/download smoke

Manual checks:

  • Model dropdown lists FastLTX 2.3 and FastLTX 2
  • Resolution dropdown includes 480P
  • Session init sends generation_mode + model_id + sampling fields; mock accepts and streams

Fix included: frontend-shell.spec.ts placeholder assertion (placeholder text is not visible DOM text).

Note: Full GPU dreamverse-server deploy not run in cloud agent (no GPU). Mock server requires pip install pillow websockets uvicorn[standard].

Playwright was matching placeholder copy as visible text; the lobby
composer only exposes it via the textarea placeholder attribute.

Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
cursoragent and others added 2 commits September 11, 2026 03:32
Expose GET /creation-capabilities from backend and mirror it in the
frontend so only supported models, modes (t2va/ref2va), resolutions
(480p-1080p), and image references are selectable. Reject FL2VA, 4K,
and invalid assets client-side and in session_creation_config. Lock
in-session config pills read-only until live updates exist.

Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
Derive lobby model_ids from MODEL_REGISTRY and expose per-model creation
capabilities so FastH3 appears in the composer alongside FastLTX models.
H3 keeps fixed 16:9 / 720p-class geometry while LTX models retain the
full aspect and resolution surface.

Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
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.

2 participants