Commit graph

27 commits

Author SHA1 Message Date
Anil Matcha
aa4a4202b5 fix(video-studio): support kling motion-control + correct higgsfield endpoints
Kling motion-control models (kling-v2.6-std, kling-v3.0-std/pro) require
image_url + video_url (and prompt for v2.6), but the v2v flow assumed a
single video upload (watermark-remover style) and called processV2V with
only video_url, getting 422 back from muapi.

- VideoStudio (vanilla + React studio): when a motion-control v2v model
  is selected, keep the image upload picker active alongside the video
  upload, keep the prompt textarea editable, and validate all required
  inputs before generating
- processV2V (both clients): forward image_url + prompt when the model
  declares imageField / hasPrompt; packages/studio adds a dedicated
  processV2V export so the React studio uses it instead of generateVideo
- v2.6 motion-control marked promptRequired so the UI surfaces it
- Higgsfield Soul / Dop endpoints corrected from
  higgsfield-{soul,dop}-* to hf-{soul,dop}-* (matches muapi routes)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 20:37:55 +05:30
Anil Matcha
5e01f60758 feat(studio): port first/last frame i2v support + t2v→i2v family map to web JSX
The earlier first/last-frame work in commit 8cbaf7f only updated the
standalone Electron VideoStudio.js. The Next.js web app actually
consumes packages/studio/src/components/VideoStudio.jsx (a separate React
component with its own muapi.js + models.js), so the web UI never showed
the END picker on Kling/Veo/Seedance/Wan/Minimax i2v models.

- packages/studio/src/models.js: add lastImageField (last_image or
  end_image_url) to the same 16 i2v entries.
- packages/studio/src/muapi.js: forward params.last_image into the
  per-model server field in generateI2V.
- packages/studio/src/components/VideoStudio.jsx:
  * uploadedEndImageUrl state + endImageFileInputRef + upload handler
  * END-badged picker rendered when imageMode && model.lastImageField
  * thread last_image into i2vParams; clear it in clearImageUpload
  * map t2v selection to i2v sibling by family on image upload (drop
    + file change paths) instead of jumping to i2vModels[0]

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 00:13:03 +05:30
Anil Matcha
4fc6606d14 feat(studio): add MCP & CLI tab
Adds a new "MCP & CLI" tab introducing muapi-cli, muapi-mcp-server,
and the Generative Media Skills repos with quick-start, feature cards,
and example commands. Wired into both the Next.js StudioShell (via
packages/studio) and the standalone Vite shell.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 23:39:37 +05:30
Anil Matcha
94b71fddf7 feat(studio): add gpt-image-2 (t2i + i2i edit) to Image Studio
Wires up the new KIE.ai gpt-image-2 model so users can pick it in
Image Studio. Adds the t2i entry (endpoint gpt-image-2-text-to-image)
and the i2i edit variant (endpoint gpt-image-2-image-to-image, up to
16 input images via images_list). Uses resolution (1K/2K/4K, default
2K) instead of quality, and the wider aspect set (auto/1:1/16:9/9:16/
4:3/3:4) — existing helper functions auto-detect both shapes so the
UI dropdowns switch over without further changes.

Closes #136

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 10:46:53 +05:30
Anil Matcha
b3b5744758 fix(lipsync): always send prompt for hasPrompt models so backend doesn't forward null
Infinite Talk i2v (and other hasPrompt lipsync models) rejected requests with
"field 'prompt' failed nullable validation" when the prompt textarea was blank,
because omitting the key caused the muapi backend to forward prompt: null.
Default to an empty string for hasPrompt models; keep omitting it for the rest.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 09:53:26 +05:30
Jaya Prasad Kavuru
fe87f4ad6a feat: Integrate Explore Apps studio with backend parity and premium dark theme 2026-04-28 13:33:22 +05:30
Jaya Prasad Kavuru
0f4748829a added market studio 2026-04-23 20:33:05 +05:30
Jaya Prasad Kavuru
ebacfd4748 refactor: sync with public monorepos and add as submodules 2026-04-23 16:08:38 +05:30
octo-patch
bf32a393cc feat: add MiniMax image-01 T2I model and document MiniMax provider support
- Add minimax-image-01 to t2iModels in src/lib/models.js and
  packages/studio/src/models.js (8 aspect ratios, up to 4 images per
  request, 1500-char prompt)
- Add minimax-image-01 entry to models_dump.json (t2i section)
- Update README: list MiniMax Image 01 in newly-added image models
  and call out existing MiniMax Hailuo 02/2.3 video model support
- Add scripts/test_minimax_provider.js: validates model registration
  and optionally runs a live API smoke test (MUAPI_KEY env var)

MiniMax Hailuo 02/2.3 T2V and I2V models were already present;
this commit brings MiniMax image generation to feature parity.
2026-04-22 23:41:38 +08:00
Jaya Prasad Kavuru
4efb8593a4 feat: modernize Cinema Studio upload UI, implement batch generation in Image Studio, and fix textarea auto-resize across studios 2026-04-22 16:40:51 +05:30
Jaya Prasad Kavuru
911bcdd558 Merge remote-tracking branch 'origin/main' into feat/modernize-studio-upload 2026-04-22 15:46:10 +05:30
Jaya Prasad Kavuru
fddc2ff69f feat: implement drag-and-drop media uploads and modernize upload UI with circular progress indicators 2026-04-22 15:39:22 +05:30
Jaya Prasad Kavuru
62be9ace66 feat: integrate AI agent studio with minimal UI and upgrade Tailwind v4 2026-04-22 15:22:26 +05:30
Anil Matcha
9de0de3430 fix: correct predictions poll URL in studio muapi client
PROXY_APP_BASE ('/api/app') produced /api/app/v1/predictions/... which
after the Next.js rewrite hit 127.0.0.1:8000/app/v1/... → 404.
Poll now uses BASE_URL directly, consistent with how submit works.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 12:04:52 +05:30
Jaya Prasad Kavuru
efa772e772 feat: implement workflow identity persistence, unify api auth, and upgrade tailwind to v4 2026-04-21 19:38:34 +05:30
Anil Matcha
ebcddfa187 Rename project from Open-Higgsfield-AI to Open-Generative-AI
Update all references across source files, config, and docs — including
page titles, app name, package name, Electron window title, and release
asset URLs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 00:14:45 +05:30
Anil Matcha
1c6a0c863e Add Kling 2.6 and 3.0 Motion Control models 2026-04-12 00:01:04 +05:30
Anil Matcha
20bf1bce42 Merge: resolve conflict, keep updated styling with /access-keys URLs 2026-04-11 21:15:24 +05:30
Anil Matcha
046f4ac071 Update API key access and add Veo 3.1 lite models 2026-04-11 21:02:57 +05:30
Jaya Prasad Kavuru
91ce11df6f feat: finalize studio persistence and multiple reference image upload UI 2026-04-10 18:40:41 +05:30
Jaya Prasad Kavuru
b924f0caf8 feat: modernize studio upload pipeline with cloud-only previews and progress indicators 2026-04-09 17:25:07 +05:30
Anil Matcha
0c29954889 fix: replace DropdownPanel with inline conditional rendering matching ImageStudio
Removes the DropdownPanel component that depended on the external `glass`
CSS class. Uses inline {open && <div bg-[#111]>} pattern and a single
dropdownRef, consistent with ImageStudio.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 04:36:02 +05:30
Anil Matcha
11f850abfc Fix: only register window click listener when dropdown is open 2026-03-24 03:35:49 +05:30
Anil Matcha
fc49614a87 fix: remove overflow-x-auto from VideoStudio controls row
overflow-x-auto implicitly sets overflow-y:auto, creating a clipping
context that cut off the upward-opening position:absolute dropdown
panels. Changed to flex-wrap so buttons wrap on narrow screens and
dropdowns display correctly.
2026-03-23 00:16:14 +05:30
Anil Matcha
29cff36eef fix: use margin-auto centering for Cinema Studio prompt bar
Replace translate-based centering (md:left-1/2 md:-translate-x-1/2)
with margin-auto approach (md:left-0 md:right-0 md:mx-auto) to fix
prompt bar not being centered when rendered inside Tailwind v4 host app.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 19:04:53 +05:30
Anil Matcha
268102ab46 Add missing muted/secondary colors to studio tailwind config 2026-03-21 16:01:46 +05:30
Anil Matcha
df7d2dd9a7 Convert to Next.js monorepo with shared studio component library
- Migrated from Vite/vanilla JS to Next.js App Router
- Added packages/studio: shared React component library (ImageStudio, VideoStudio, LipSyncStudio, CinemaStudio)
- BYOK flow via StandaloneShell (localStorage API key) + ApiKeyModal
- Fixed dropdown clipping caused by overflow-x-auto on controls row
- Fixed dropdown background to solid bg-[#111] (was glass/transparent)
- Renamed Cinema tab to Cinema Studio
- Updated README: architecture, quick start port (3000), tech stack

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 10:47:00 +05:30