* [OPEND-5723] fix(cloud): stop offering checks for settled Cloud audio tasks A failed Cloud audio task never changes: the media API settles it once and never resubmits it, including when the outcome is audio_outcome_unknown. OpenMotion still treated that unknown outcome as resumable, so "Check original task" re-polled the same failed task and failed again, while the failure copy told users to inspect the task. - Mark failed or cancelled Cloud audio poll results as remote-terminal and persist that flag, so Studio hides the action and the resume API rejects it. - Explain that the original audio task cannot be checked again and that generating again creates a new request. - Replace the developer-facing resume refusal with a user-facing message that Studio localizes instead of the generic retry toast. - Document the resume boundary in the MCP descriptions and guides. * [OPEND-5742] fix(studio): limit Eleven Music duration to five minutes The Eleven Music v2 profile allowed 3-600 s because the ElevenLabs API documents a 600 s maximum. The OpenDesign media gateway gives each music request 360 s, so 599 s and 600 s requests ended with an unknown outcome and no track. - Cap music_length_ms at 300000 (five minutes, the length the ElevenLabs Music overview documents). Studio, MCP and REST share this profile, so longer values are corrected or rejected before any paid request. - Show the allowed range in the Sound Studio custom duration field. - Build on the OPEND-5721/5725 duration handling and update its tests. * [OPEND-5743] fix(studio): hide speech speed for Eleven v3 Studio offered 0.7-1.2x speed for Eleven v3 and the adapter forwarded it as voice_settings.speed, but ElevenLabs does not apply speed to Eleven v3: QA generated the same text at 0.8x and 1.2x with matching durations in three pairs (16/17 s, 45/45 s, 21/21 s). - Remove the speed field from the Eleven v3 profile so Studio no longer offers a control that has no effect. Kokoro keeps its speed control. - Note in the generation-options guide and the media skill that Eleven v3 ignores speed. A speed supplied in advanced parameters is still sent as voice_settings.speed. * [OPEND-5723] fix(cloud,studio): settle older audio failures and report check results QA retested on the assets page: failed BytePlus TTS 2.0 cards saved before this branch still offered "Check original task", and a check that ended in the same failure left the card unchanged, so users could not tell whether it had run. - Treat stored audio_outcome_unknown failures as settled when serializing and resuming jobs, and return the current message, so cards saved before audio failures recorded remoteTerminal stop offering the check. - Show "Checking original task…" while a check is queued, and report the original task's latest state in a toast once the check settles, including when nothing changed. - Localize the new results in every interface language. * [OPEND-5723] fix(cloud,studio): split resume errors, align mock gateway, handbook and i18n - Return reason-specific 409 guidance from resumeJob for non-failed jobs, savePending (pointing at retry_save), terminal remote failures (keeping regenerate), and missing remoteId, with matching translations across all interface locales. - Share buildGatewayPollError between OpenDesignModelGateway and MockModelGateway so mock audio failures mirror the remoteTerminal rule. - Share CLOUD_RESUME_LIMITATION across MCP tool descriptions, integration guidance and the Studio MCP handbook (library capability and recovery FAQ) with translations in all interface languages. - Translate Check original task and Checking original task... across all 10 non-English locales and extend locale regression tests. * [OPEND-5723] fix(studio): keep mcp-ui.json under 1 MiB by storing new handbook i18n in mcp-tools-ui.json --------- Co-authored-by: heggria <bshengtao@gmail.com>
6.6 KiB
Generation options
Studio, external MCP callers and the embedded asset Agent receive the same optional Model.generationOptions from Model Gateway discovery. shared/generation-options.ts maintains exact provider/model profiles. The service validates known fields before queueing a new job; idempotent replay returns the original job. Unknown model IDs receive no guessed profile. Advanced JSON remains available for provider-specific fields, including custom FLUX image dimensions.
Quick controls override matching advanced fields; request parameters override saved model defaults. Unchanged fields are omitted and inherit saved/provider defaults. Studio preserves separate parameter drafts for each model while the creator is open. These drafts are not account settings. Returned jobs and asset versions record actual submitted parameters. Local Codex image preferences are appended to its instruction: they are creative requests, not guaranteed raster specifications.
Maintained profiles
Checked on 2026-11-15 against the following official endpoint schemas and current adapters:
| Exact endpoint | Quick controls | Source |
|---|---|---|
codex:image-generation |
Requested aspect ratio and background, delivered as prompt preferences | gateway/agents.ts, gateway/service.ts |
atlascloud:google/nano-banana-2/text-to-image |
Aspect ratio, resolution, format, thinking level, web search, seed | Atlas schema |
atlascloud:bytedance/seedance-2.0/text-to-video |
Ratio, resolution, integer duration, audio, bitrate, seed | Atlas schema |
atlascloud:suno/chirp-v4 |
Instrumental-only and vocal gender; prompt remains an inspiration brief | Atlas schema |
fal:fal-ai/flux/schnell |
Image size, output count, format, seed | fal schema |
fal:fal-ai/wan/v2.2-a14b/text-to-video |
Ratio, resolution, frames, frame rate, prompt expansion, negative prompt, seed | fal schema |
fal:fal-ai/kokoro/american-english |
Voice (20 American English presets with bundled Apache-2.0 Kokoro-82M audition samples in Sound Studio) and speed; spoken input uses prompt |
fal schema |
fal:fal-ai/elevenlabs/sound-effects/v2 |
Duration (0.5–22s) and seamless loop; sound cue input uses text |
fal schema |
| OpenDesign Cloud/account image | Aspect ratio, resolution (paired from the active generations or edits envelope in capabilities.profiles; Cloud packs paired fields into output: { aspect_ratio, resolution }, and both Cloud and account reject incomplete pairs when no profiles are published as well as size combined with aspect_ratio, resolution or output), legacy image size (when no profiles are published), and quality |
Current Cloud/account /api/v1/media/models catalogue contract |
| OpenDesign Cloud/account video | Dynamic ratio, resolution, integer duration (slider for contiguous ranges, discrete pills for small sets) from published capabilities (plain AMR arrays default to their first published value), plus generate_audio (enabled by default for Seedance 2.5; always on in Studio and passed as --generate-audio through @powerformer/vela-cli@0.1.10 for wan-2.7 because CLI 0.1.10 otherwise defaults to generate_audio: false which AMR rejects) |
Current Cloud/account /api/v1/media/models catalogue contract |
| OpenDesign Cloud/account speech | elevenlabs-v3 (with official premade previewUrls) and byteplus-tts-2 (with bundled Vivi audition sample in Sound Studio) offer voices checked against the media API, defaulting to the first; another non-empty voice ID for the same model is passed through unchecked. Other speech models require a voice ID |
Current Cloud/account adapter contract |
| OpenDesign music | Optional duration in seconds in Sound Studio, 3–300 s for elevenlabs-music-v2: the media gateway gives each music request 360 s, so longer tracks end with an unknown outcome. The OpenDesign API receives music_length_ms; the account connector receives duration in seconds. |
OpenDesign media API and connector audio music --duration |
These controls cover a maintained subset, not all models or all provider parameters. Custom model names and live catalogue labels do not establish wire compatibility. Provider-native types remain intact: Seedance duration is an integer, audio is a boolean, and Wan takes frames rather than a fabricated duration field. Local asset references are limited to image models that report supportsImageReference: the Codex image adapter and OpenDesign account image models whose catalogue publishes edits. No local-upload support is inferred from a model accepting remote reference URLs.
The embedded Codex conversation separately exposes model selection and discovered reasoning efforts. Effort is passed as turn/start.effort, with null restoring the model default on subsequent turns. This field was checked against the installed Codex app-server JSON schema. Other Agents continue to use external MCP; selecting a local CLI in settings does not add an embedded runner.
Guest creation pages use the public OpenDesign model descriptions to preview settings before sign-in. The authenticated gateway determines which models the workspace can run. opendesign:elevenlabs-v3 has no speech speed control because ElevenLabs does not apply speed to Eleven v3. A speed value supplied in advanced parameters is still sent as parameters.voice_settings.speed.
Interaction and validation
Generation settings use an anchored, non-modal popover with ratio tiles, selections, switches and bounded numeric controls. Known failures use the shared Toast layer. The asset navigation and creation pane have drag separators, keyboard arrows (Shift for larger steps), Home/End limits and double-click reset. Width preferences survive reloads; available content space bounds their rendered widths, and narrow creation uses the whole workspace.
Deterministic tests cover model discovery, invalid native parameter types, queued parameter identity, replay without another submission, Kokoro wire mapping, reasoning forwarding, JSON/control precedence and pane persistence/bounds. Browser inspection covers opened nested menus, actual drags, both themes and narrow layouts. Live paid generation, provider entitlement and human visual acceptance remain separate.