Commit graph

7 commits

Author SHA1 Message Date
Anil Matcha
82215cbf63 Add mode selector for video models and API key UI
- Add mode control (fun/normal/spicy) to VideoStudio for models that support it; wired through generateVideo and generateI2V in muapi.js
- Add getModesForModel helper to models.js
- Header key button now opens SettingsModal to update API key in-place instead of wiping and reloading
2026-03-13 19:39:48 +05:30
Anil Matcha
7ca2f280e7 Improve generation reliability and error handling
- Fix silent failures: catch block no longer overridden by finally; errors now display for 4s before resetting
- Restore hero section on generation failure so the page doesn't look broken
- Extend video polling timeout from 4 min to 30 min (900 attempts)
- Add pending job recovery: save requestId to localStorage on submit, resume polling on studio load with a live banner showing progress
- Add onRequestId callback to all muapi generate methods (generateImage, generateI2I, generateVideo, generateI2V, processV2V)
- New pendingJobs.js utility for CRUD operations on pending jobs in localStorage
2026-03-10 10:17:44 +05:30
Anil Matcha
a85089c607 Video generation fix 2026-03-09 19:17:11 +05:30
Anil Matcha
ade8e20fe8 Seedance 2.0 watermark remover changes added 2026-03-07 20:13:03 +05:30
Anil Matcha
d707604afe Add Seedance 2.0 i2v and video extend support
- Add seedance-v2.0-i2v to i2vModels with images_list field, aspect ratio, duration (5/10/15s), and quality controls
- Add seedance-v2.0-extend to t2vModels for seamlessly continuing Seedance 2.0 generations
- Auto-store request_id after each Seedance 2.0 t2v/i2v generation
- Show Extend button on canvas after Seedance 2.0 generation; clicking it pre-selects the extend model and auto-passes stored request_id
- Add quality dropdown control to VideoStudio for models that support it
- Show extend banner when extend model is active; optional prompt guides the continuation
- Restore extend context when browsing Seedance 2.0 history entries
- Make prompt optional in muapi.generateVideo and forward request_id for extend endpoint
- Update README with new models and features
2026-03-04 15:11:09 +05:30
Anil Matcha
996571828c Add image upload history, i2i/i2v model support with dynamic mode switching
- Add uploadHistory.js: localStorage CRUD + canvas thumbnail generation
- Add UploadPicker.js: reusable upload button + history panel component
- Add i2i/i2v models from schema_data.json to models.js (115 models)
- Add generateI2I, generateI2V, uploadFile methods to muapi.js
- ImageStudio: dynamically switches between t2i and i2i models based on image presence
- VideoStudio: dynamically switches between t2v and i2v models based on image presence
- Fix i2i/i2v model display names derived from slugs instead of generic variant labels
2026-02-23 21:04:33 +05:30
Anil Matcha
6eebebc9ec Added Video Studio 2026-02-17 21:52:55 +05:30