* feat(studio): hide Speech Custom voice ID behind Cloud P1 feature gate
Gate the inline Custom voice ID toggle, input box, and badge in Sound Studio Text to speech behind CLOUD_P1_FEATURES.customVoiceId (false), while falling back cleanly to the model default preset voice when recreating or submitting drafts with legacy custom voice IDs.
* refactor(studio): centralize speech voice fallback and cover Assets composer
Extract resolveSpeechVoice and sanitizeSpeechVoiceParameters into shared/generation-options.ts so SoundParameters, SoundStudioWorkspace, SoundComposer, GenerationParameters, and AssetComposer share one canonical custom-voice gating and default-voice fallback rule.
---------
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* feat(sound-studio): redesign waveforms, live playback flow, voice cards and audio track library
- Extract real 128-bucket PCM audio waveforms with noise gating and smoothing on probe and playback decode
- Redesign Sound Studio waveforms into pixel-crisp 1:1 SVG bars with generous horizontal breathing room, pointer-capture drag scrubbing, monochrome played progress, accent needle, and 60/120fps direct-DOM living playback flow
- Redesign Speech voice selector into clean typographic studio cards with authentic localized timbre traits, isolated inline auditioning, balanced featured grids for large catalogs, and single-column layout for single-voice models
- Refine Audio track library filtering, server-side audioKind queries, voice metadata display, overflow actions, and bottom player dock polish across dark and light themes
* fix(sound-studio): preserve cross-tab starter drafts and persist resolved audioKind
- Route Music, SFX, and Speech starter Use actions through selectSoundTab/reuseInScene with the target draft and resolved SFX model parameters so draftKey transitions never drop prompts or SFX settings
- Persist resolved audioKind on audio AssetVersion records during generation (using model id, mode, modelId, and label) and uploads, keeping id-only inference as legacy fallback across gateway filtering and Sound Studio UI
- Add regression tests covering cross-tab starter handoff and opaque model ID audioKind classification
* fix(sound-studio): split structured vs advanced JSON params on draftKey transitions
- Split persisted or cross-tab draft.parameters via parameterDraftFromParams using the model's structured generationOptions fields so schema-less BYOK raw JSON keys stay in advanced and never leak into ParameterDraft.values
- Seed parameterDrafts once per draftKey transition rather than on local SoundComposer handleParamChange updates
- Add regression test verifying editing and clearing raw JSON on a schema-less BYOK audio model
---------
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
* feat(audio): rebuild Sound Studio workbench, inline voice auditions, and playback dock
- Add the 7-tab Audio / Sound Studio workbench (live Music, Sound effects, and Text to speech tabs alongside capability-preview upcoming tabs) with dedicated top navigation dropdown and route separation.
- Add inline voice auditions (bundled Kokoro-82M Apache-2.0 and BytePlus Vivi samples plus official ElevenLabs preview URLs), unified live generation/asset stream rows, interactive waveforms, and cross-tab Recreate hydration.
- Refine the bottom audio player dock into a compact single-row playback controller with click-to-locate and inline voice playback without opening the full dock; hide redundant Advanced JSON panels for built-in models and place Custom voice ID inline inside the Voice section.
- Expose built-in OpenDesign account audio fallbacks and fal ElevenLabs Sound Effects v2 generation options with full i18n and unit test coverage.
* fix(audio): hide raw JSON advanced panel for OpenDesign Cloud music models
* fix(studio): resolve i18n key collisions and register Sound Studio CSS in token gate
* feat(studio): unify image creation with fixed OpenDesign models and image features
- Image menu and creation page list a fixed model set (OpenDesign models first,
Codex Image last), with provider then model pickers.
- Open background removal, relight and character consistency as image scenes,
following the measured OpenDesign image model capabilities: per-model
reference limits, GPT Image 2.6 quality and transparent background, Seedream
sizes, and a 2 MiB reference limit.
- The OpenDesign account submits image jobs the connector cannot express
(transparent background, several references) to the same media API with its
control key, so signed-in users get the same features as an API key.
- Transparent results preview on a checkerboard; remove the creation page back
arrow; add missing translations.
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
* fix(studio): address PR #734 review feedback on library BYOK preservation, featureMode scope, MCP handbook, and architecture docs
---------
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
* fix(media): enforce OpenDesign parameter contracts, CLI errors, and first-frame references
- Validate paired aspect_ratio/resolution and mutually exclusive size/output parameters for OpenDesign account and Cloud image models even when capabilities.profiles are absent.
- Classify local vela CLI flag errors without HTTP status codes as invalid_request instead of misreporting network or sign-in failures.
- Expose maxInputImages on OpenDesign account video models and forward first-frame images via `vela video gen --first-frame`.
- Enforce the 2 MiB OpenDesign reference image upload limit before queueing account or Cloud media jobs.
- Reset draft.parameters on model or modality switches in AssetComposer, and restrict reference pickers and "Use as reference" / "Edit as new version" actions to image assets.
- Update provider/assets/architecture documentation and add backend and Studio regression tests.
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
* docs(mcp): align FAQ, schemas, and docs with account first-frame and 2 MiB limit
- Update the MCP Connect reference-image FAQ and all 10 locale translations in studio/src/i18n/mcp-ui.json to reflect OpenDesign account first-frame video support (one image) and the 2 MiB upload limit.
- Propagate the 2 MiB OpenDesign reference image upload limit (while keeping 20 MB for other local adapters) to shared/phase1-tools.ts, mcp-tools.ts, docs/model-gateway.md, and skills/openmotion-media/references/jobs.md.
- Extend tests/mcp-onboarding.test.ts to verify the updated FAQ and schema copy.
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
---------
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
* fix(studio): surface provider setup, Free/Go upgrade guidance, and OpenDesign media options
- Show a non-blocking subscription upgrade banner with a direct Manage subscription link in Studio when the signed-in OpenDesign account reports mediaEntitlement: not-included, and prefer totalAvailableCreditsUsd over balanceUsd when reading account billing.
- Show a direct Configure <provider> or Sign in with OpenDesign action in Studio when a selected model belongs to an unconfigured provider, routing straight to that provider or Account settings.
- Derive quick generation options for OpenDesign Cloud and account image/video models from published capabilities (paired aspect_ratio + resolution profiles with fallback to sizes, quality, and video ratio/resolution/duration), pack Cloud image aspect_ratio + resolution into output on submission, filter compatible image resolutions in GenerationParameters, and let Shorts Studio default to 9:16.
- Add localized UI copy across all 10 non-English locales, update generation-options documentation, and add unit tests covering backend parameter resolution, billing precedence, and Studio UI flows.
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
* fix(media): enforce edit profile envelope and document Cloud image wire shape
- Validate and filter OpenDesign image aspect_ratio/resolution choices against the active generations vs edits profile envelope across shared/generation-options.ts, gateway/service.ts, and Studio GenerationParameters.
- Reject lone aspect_ratio or resolution values (and size/output conflicts) in gateway/opendesign.ts before uploading references when no capabilities.profiles envelope is available to complete the pair.
- Update opendesign.md, account.md, and docs/generation-options.md to document the Cloud output wire envelope, active profile pairing rules, and auto-completion behavior.
- Add regression tests covering distinct generations/edits envelopes and unprofiled Cloud image rejection.
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
---------
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Reverts dc01084107 (#552).
Withdraw Fish Audio, MiniMax Speech, and the saved-voice UI and MCP action. Preserve the existing MCP tools, provider configuration, audio-version editing, and streamed response limits. Existing audio files and saved voice records remain on disk.
OpenDesign speech models elevenlabs-v3 and byteplus-tts-2 now offer voices checked against the media API, defaulting to the first. The adapters fill the default when no voice is given, without writing it into saved model defaults. Other non-empty voice IDs still pass through; other speech models keep a required voice ID.
* Edit images and generate music with OpenDesign account models
- Map audio_music catalogue rows to text-to-audio account models and run
`audio music`, with an optional whole-second duration.
- Mark account image models whose catalogue publishes `edits` with
supportsImageReference and run `image edit --image` with the job's
snapshotted reference.
- Accept one image reference for any model that reports
supportsImageReference in the gateway, the Studio asset composer and the
MCP tool descriptions.
- Reject a caller mode that differs from an account model's catalogue mode,
so speech and music cannot be swapped on one model.
- Update provider docs, media skills and READMEs.
* fix(render): retry socket-buffer failures with fewer workers (#443)
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* [OPEND-5344] feat(skills): streamline unchanged template file delivery (#440)
* feat(skills): streamline unchanged template file delivery
* test(ci): run unchanged template delivery regressions
* fix(skills): exclude render outputs and caches from template packages
HTML packaging for unchanged template delivery only filtered tool caches, so a
project that had produced a Studio render shipped renders/*.mp4 (and dist/,
output/ or arbitrary .hyperframes cache files) inside HTML/ and HTML.zip while
the receipt still pinned the revision and claimed sourceUnchanged.
Mirror the WorkspaceStore non-source directories and restrict .hyperframes to
the pinned native entries plus history-id, so the package holds exactly the
pinned source. Extend the delivery test fixture with render outputs and cache
files and assert the receipt, the written tree and the ZIP contain only pinned
source.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix(skills): reject unpinned drift and quoted CSS imports in template packaging
HTML packaging accepted any file the workspace added after the pinned project
read, so a native manifest or ordinary source written mid-delivery was shipped
under the old revision with sourceUnchanged: true, and the second scan could not
notice because both scans contained it. Packaging now requires the scanned
source set to equal the pinned inventory plus editor-only metadata
(.hyperframes/history-id), and dotted entries mirror WorkspaceStore caches.
Quoted CSS @import targets were also missed by the dependency scan, so a missing
or remote stylesheet still produced dependencies: "local". Quoted imports are
now resolved relative to their containing file, including inside HTML <style>.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix(skills): scope quoted import validation to active CSS
* fix(skills): ship vendored dist dependencies in template packages
Excluding `dist` at any depth mirrored the WorkspaceStore revision and
dropped files the page actually loads, so packaging
`vendor/gsap-3.14.2/dist/gsap.min.js` was skipped and the dependency check
then rejected decision-tree, nyt-graph and product-promo with
MISSING_DEPENDENCY.
Keep render outputs, node_modules and caches out of the package but treat
store-ignored dist trees as packageable non-revision content: scan them,
ship them, and allow them outside the pinned inventory while unpinned
source additions still fail. Restore a `vendor/.../dist/...` dependency
case in the delivery tests and describe the packaging rule accurately.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
---------
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* Expect the enlarged account catalogue in the settings browser check
The shared account fixture now publishes five media models (image, video,
speech, a non-editing image model and music) and maps the music row into the
account catalogue, so the account provider renders seven model rows instead
of five. The browser check waited for exactly five rows and would have timed
out; it now expects the seven rows the fixture produces, alongside the two
language models.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix(installer): recover Windows host setup and legacy workspaces (#434)
* fix(installer): recover Windows host setup and legacy workspaces
* fix(installer): preserve registered Harness bundles across failures
* fix(runtime): preserve kill signal for native spawn cancellation
---------
Co-authored-by: stevenguotj <stevenguotj@stevenguotjdeMacBook-Pro.local>
* Restore optional npm installation and the existing release workflow (#444)
* Restore optional npm installation and manual release workflows
* Localize the optional npm README sections and align the install.md note
Translate the new optional npm installation section in README.zh-CN.md,
docs/README.zh-CN.md and docs/README.ja.md so the shipped localized READMEs
keep localized headings, instructions and link labels next to the existing
source-install prompt.
Reword docs/release-guide.md to describe docs/install.md the same way as
docs/release-workflows.md: it is not a generator input, but the source
repository entry that routes explicitly selected npm installations to the
published stable or test guide while install.md remains the default route.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
---------
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* List Claude Motion before CapCut across the localized READMEs (#453)
Co-authored-by: joeylee12629-star <236967869+joeylee12629-star@users.noreply.github.com>
* [OPEND-5342] Select media by content need and prefer matching OpenMotion capabilities (#439)
* [OPEND-5342] Keep media sourcing within OpenMotion workflows
* [OPEND-5342] Route media tools by content need and capability
---------
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
* Add unified asset use, media reads and per-action MCP telemetry (#455)
* Add unified asset use tool with bounded media reads
* Track asset tool actions across MCP transports
---------
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
---------
Co-authored-by: heggria <bshengtao@gmail.com>
Co-authored-by: open-design-crew[bot] <299007234+open-design-crew[bot]@users.noreply.github.com>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
Co-authored-by: MasonJJ <jinmeihong@refly.ai>
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
Co-authored-by: stevenguotj <stevenguotj@stevenguotjdeMacBook-Pro.local>
Co-authored-by: Joey-nexu <joeylee12629@gmail.com>
Co-authored-by: joeylee12629-star <236967869+joeylee12629-star@users.noreply.github.com>
* feat: add a shared asset workspace with generation and version history
Unify direct model jobs and embedded Codex conversations around shared asset operations exposed through MCP. Add reusable media uploads, pinned references, version browsing, trash undo, and verified project imports.
Refine compact creation controls, persistent task history, solid menus, and stable resizable preview layouts. Integrate asset navigation with main's history and deep links, and align onboarding, tracking, documentation, and distribution.
* test: exercise openmotion_assets in the packaged phase-one e2e
The phase-one profile now exposes openmotion_assets, but the packaged
distribution smoke test still asserted that every public Tool was called
without ever invoking it, so the Distribution regression lane failed.
Import a real audio file into the library, read it back by asset and
version, list it by modality, and import the pinned version into the
project so the new Tool is covered end to end.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix: preserve asset request receipts and pending draft edits
Exercise asset library replay in the packaged MCP smoke test and align compact control documentation with verified shared geometry.