diff --git a/.claude/skills/formcut-skillset/sub-skills/engine-architect/references/engine-map.md b/.claude/skills/formcut-skillset/sub-skills/engine-architect/references/engine-map.md index 0f32e4ce..63d3bfa5 100644 --- a/.claude/skills/formcut-skillset/sub-skills/engine-architect/references/engine-map.md +++ b/.claude/skills/formcut-skillset/sub-skills/engine-architect/references/engine-map.md @@ -41,6 +41,7 @@ The rest is written by hand. | extensions.py | /api/extensions | 9 | | focus_motion.py | /api/focus-motion | 1 | | fonts.py | /api/assets | 1 | +| formbridge.py | /api/formbridge | 5 | | generate.py | /api/generate | 6 | | generative.py | /api/generative | 5 | | instagram.py | /api/connect/instagram | 4 | diff --git a/.claude/skills/formcut-skillset/sub-skills/interface-architect/references/interface-map.md b/.claude/skills/formcut-skillset/sub-skills/interface-architect/references/interface-map.md index 6d75f791..505d128d 100644 --- a/.claude/skills/formcut-skillset/sub-skills/interface-architect/references/interface-map.md +++ b/.claude/skills/formcut-skillset/sub-skills/interface-architect/references/interface-map.md @@ -69,6 +69,7 @@ The module list and the engine commands are generated from `frontend/src` by - `ui/clip-visuals.ts` - `ui/cloud.ts` - `ui/color-section.ts` +- `ui/comfyui-page.ts` - `ui/compact.ts` - `ui/creator-panel.ts` - `ui/device-inspector.ts` diff --git a/.docs/wiki/Models.md b/.docs/wiki/Models.md index f30547b4..13ec4020 100644 --- a/.docs/wiki/Models.md +++ b/.docs/wiki/Models.md @@ -204,6 +204,41 @@ the official weights by a published, reproducible recipe and pinned to the converter's stated SHA-256. The upscaler tiles the frame and runs through the same provider ordering as everything else. +## 4a. Your own ComfyUI, through the FormBridge pack + +Used by: **Studio, ComfyUI**. formcut downloads no model for this: it sends a +clip or picture from the media bin to a ComfyUI server you run (on this +computer or another one), where the Comfy-FormBridge-Suite pack runs one of its +workflows (erase, add, relight, upscale and caption for pictures; clean, carry +an edit, animate, matte and upscale for clips), and the result comes back into +the media bin. Each model a workflow needs is fetched by you into ComfyUI's +model folders; the page lists any that are missing and where each one goes. + +1. Install the pack in ComfyUI's `custom_nodes` folder and its requirements + with ComfyUI's own Python, then restart ComfyUI (0.46.0 or newer). +2. In Studio, ComfyUI, give the address (default `http://127.0.0.1:8188`) and + press **Check**. +3. Pick a workflow, the clip or picture for each of its media fields, and + **Run in ComfyUI**. The job shows in the footer with Cancel. + +- Frame results are joined into an H.264 movie at the result's frame rate. A + matte comes back as its own clip. The `layer` and `preview` outputs are left + on the server. +- A caption comes back as text on the page, not as a media item. +- The address is kept in `formbridge.json` in the data folder. formcut talks to + that address only, with no system proxy and no redirect, and deletes what it + uploaded once the job ends. +- Workflows whose required fields are points, keyframes or a size are listed + but cannot be run from formcut yet. + +``` +GET /api/formbridge the address +PUT /api/formbridge {"base"} +GET /api/formbridge/handshake what the pack at that address answers +GET /api/formbridge/workflows the pack's workflows, each with "ready" and "missing" +POST /api/formbridge/run {"workflow", "media": {slot: media id}, "slots", "reuse"}: a job whose result is {"media", "caption"} +``` + --- ## 5. Not yet wired, but the obvious next additions diff --git a/README.md b/README.md index b83efa65..338cb2fe 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@

- version v2.22.0 + version v2.23.0 TypeScript and Vite Python FastAPI macOS, Windows, Linux diff --git a/backend/HASHOUT_LOG.md b/backend/HASHOUT_LOG.md index bb15b421..aef827e1 100644 --- a/backend/HASHOUT_LOG.md +++ b/backend/HASHOUT_LOG.md @@ -2,6 +2,18 @@ Reasoning behind engine changes, newest first. +## 2.23.0 · ComfyUI through the FormBridge pack (`app/formbridge.py` new; `main.py` import and include) + +- **Why.** The Comfy-FormBridge-Suite README named formcut as one of its apps, and formcut had no client. The pack runs in the person's own ComfyUI and answers contract 1 under `/formbridge/v1`; this module is written from that contract. +- **Any address.** Unlike the voice app, a ComfyUI server is often another machine with the graphics card, so `normalize_base` takes any `http` or `https` host and port, a path prefix, and refuses a user, password, query or fragment. The client still has `trust_env=False` and `follow_redirects=False`, and calls only the pack's routes. +- **Headers.** Every call carries `X-FormBridge-Contract: 1` and `X-FormBridge-Client: formcut/`. `APP_VERSION` is read from `main` inside `_headers`, since `main` imports this module. +- **Errors.** A 404 or 405 with no pack error body is "the pack is not installed" with what to do. A pack error passes its own message on, with its status when it is 400, 404, 409, 413 or 422, else 502. Nothing answering is a 502 that names the address. +- **Workflows.** The list is the pack's, each entry with `ready` and `missing` (model files with the folder to put them in, then packs, then nodes), read through six readiness calls at once. +- **Run.** The route checks each media slot against the workflow's slot types before a job starts: a picture for `image` and `mask`, a clip for `movie` and `video`, either for `media`, and `frames` refused for a clip. The `comfyui` job uploads each item (`still` or `movie`), queues the job with this engine's client id, polls every 1.5 s, reports 0.1 to 0.85 from the pack's progress, and on Cancel asks the pack to cancel too. The uploaded inputs are deleted when it ends, whatever the outcome. +- **Landing.** `text` outputs become the caption. A single picture is ingested as it is. Frames, mattes and masks with more than one file are renamed in order and joined by ffmpeg into H.264 at the output's fps (else the item's, else 24), CRF 12, padded to even sizes. `layer` and `preview` outputs stay on the server, since formcut has no composite that rebuilds from a layer and the preview duplicates the frames. +- **Not done.** No MCP tool; points, keyframes and size slots are not sent (the page says so for a workflow that requires one); no sign-in for a ComfyUI behind a proxy. +- **Seen.** Against ComfyUI 0.46.0 on CPU with the pack: the handshake, 15 workflows with two ready, `still.erase`'s missing files with their folders, the self test on a picture (a 128 by 96 picture back), on a 9-frame clip (a 0.375 s, 24 fps clip back) and the matte self test on the clip (the frames and the matte as two clips). A slot name the workflow lacks and a clip in a picture slot answer 400 before any job. + ## 2.22.0 · a voice app on this computer speaks for the Studio (`app/voice_app.py` new; `main.py` include) - **Why.** Issue 43, second part. FormMorpheus #31 asked for narration in a voice cloned in a separate free app (qwentts.cpp, AudioCpp Desktop, VoiceStudio), each of which answers the OpenAI-compatible speech API on this computer, by default at `http://127.0.0.1:8080`. FormCut clones a voice itself with Pocket TTS and Chatterbox, but had no way to use an outside app. The pattern is FormMorpheus's `services/voice_remote.py` (Apache-2.0, same owner), written again in this engine's idiom: `httpx` as `tts.py` uses it, `durable.write_json` for the settings, and a job that ingests the sound as `local_speech.py`'s jobs do. diff --git a/backend/app/formbridge.py b/backend/app/formbridge.py new file mode 100644 index 00000000..53124cda --- /dev/null +++ b/backend/app/formbridge.py @@ -0,0 +1,316 @@ +"""ComfyUI through the FormBridge pack (Comfy-FormBridge-Suite, contract 1): a clip or picture from the media bin is sent +to the person's own ComfyUI server, one of the pack's workflows runs on it there, and what comes back lands in the +media bin as new items (frames joined into a movie), or as text for a caption. + +The address is kept in formbridge.json in the data folder. The engine sends nothing but the chosen media to that +address, follows no redirect and uses no system proxy. The pack's routes are the only ones called.""" + +from __future__ import annotations + +import contextlib +import shutil +import subprocess +import tempfile +import time +import urllib.parse +import uuid +from concurrent.futures import ThreadPoolExecutor +from pathlib import Path + +import httpx +from fastapi import APIRouter, HTTPException +from pydantic import BaseModel, Field + +from . import jobs, media +from .durable import read_json, write_json +from .media import ingest_path +from .paths import DATA_DIR +from .tools import ffmpeg + +router = APIRouter(prefix="/api/formbridge", tags=["formbridge"]) + +STORE = DATA_DIR / "formbridge.json" +STAGING = DATA_DIR / "formbridge-staging" +DEFAULT_BASE = "http://127.0.0.1:8188" +PREFIX = "/formbridge/v1" +PACK = "Comfy-FormBridge-Suite" +CLIENT_ID = "formcut-" + uuid.uuid4().hex[:16] +STATUS_SECONDS = 5 +TRANSFER_SECONDS = 600 +POLL_SECONDS = 1.5 +MEDIA_TYPES = {"image", "mask", "frames", "movie", "video", "media"} +SKIPPED_OUTPUTS = {"layer", "preview"} +NOT_INSTALLED = ( + f"The {PACK} pack does not answer at {{base}}. Put it in ComfyUI's custom_nodes folder, install its " + "requirements with ComfyUI's own Python, restart ComfyUI, then press Check again." +) + + +def normalize_base(base: str) -> str: + refused = HTTPException(422, "Give ComfyUI's address, such as http://127.0.0.1:8188") + try: + parts = urllib.parse.urlsplit((base or "").strip()) + host, port = parts.hostname, parts.port + except ValueError as exc: + raise refused from exc + if parts.scheme not in ("http", "https") or not host or parts.username or parts.password or parts.query or parts.fragment: + raise refused + shown = f"[{host}]" if ":" in host else host + return f"{parts.scheme}://{shown}" + (f":{port}" if port is not None else "") + parts.path.rstrip("/") + + +def settings() -> dict: + stored = read_json(STORE, {}) + base = stored.get("base") if isinstance(stored, dict) else None + return {"base": str(base or DEFAULT_BASE), "default": DEFAULT_BASE} + + +def _client(seconds: float) -> httpx.Client: + return httpx.Client(timeout=seconds, follow_redirects=False, trust_env=False) + + +def _headers(json_body: bool = False) -> dict: + from .main import APP_VERSION + + headers = {"X-FormBridge-Contract": "1", "X-FormBridge-Client": f"formcut/{APP_VERSION}", "Accept": "application/json"} + if json_body: + headers["Content-Type"] = "application/json" + return headers + + +def _answer(response: httpx.Response, base: str) -> dict: + if response.status_code in (404, 405) and "error" not in response.text[:200]: + raise HTTPException(404, NOT_INSTALLED.format(base=base)) + try: + body = response.json() + except ValueError: + body = {} + if response.status_code >= 400: + err = body.get("error") if isinstance(body, dict) else None + message = err.get("message") if isinstance(err, dict) else None + status = response.status_code if response.status_code in (400, 404, 409, 413, 422) else 502 + raise HTTPException(status, message or f"ComfyUI answered with status {response.status_code}.") + return body if isinstance(body, dict) else {} + + +def call(method: str, path: str, base: str | None = None, body: dict | None = None, seconds: float = STATUS_SECONDS) -> dict: + root = normalize_base(base or settings()["base"]) + try: + with _client(seconds) as client: + response = client.request(method, root + PREFIX + path, json=body, headers=_headers(body is not None)) + except httpx.HTTPError as exc: + raise HTTPException(502, f"Nothing answers at {root}: start ComfyUI there, or set its address.") from exc + return _answer(response, root) + + +def handshake(base: str) -> dict: + found = call("GET", "/handshake", base) + comfy = found.get("comfyui") or {} + out = { + "ok": True, + "pack": found.get("pack"), + "comfyui": comfy, + "device": found.get("device"), + "packs": (found.get("nodes") or {}).get("packs") or [], + "message": "", + } + if 1 not in (found.get("contract") or []): + out.update(ok=False, message="This ComfyUI's FormBridge pack does not serve contract 1. Update the pack.") + elif not comfy.get("supported"): + wanted = comfy.get("minimum") or "a newer version" + out.update(ok=False, message=f"ComfyUI {comfy.get('version') or ''} is too old for the pack; update it to {wanted} or later.") + return out + + +def _quoted(workflow: str) -> str: + return urllib.parse.quote(workflow, safe=".") + + +def readiness(workflow: str, base: str | None = None) -> dict: + return call("GET", f"/workflows/{_quoted(workflow)}/readiness", base) + + +def workflows(base: str | None = None) -> list[dict]: + listed = [w for w in call("GET", "/workflows", base).get("workflows") or [] if isinstance(w, dict)] + + def with_readiness(entry: dict) -> dict: + try: + ready = readiness(str(entry.get("id")), base) + except HTTPException: + ready = {"ready": False, "models": []} + missing = [f"{m.get('file')} in {m.get('place') or m.get('folder')}" for m in ready.get("models") or [] if not m.get("present")] + missing += [f"the {p.get('name')} node pack" for p in ready.get("packs") or [] if not p.get("present")] + missing += [f"the {n.get('class')} node" for n in ready.get("nodes") or [] if not n.get("present")] + return {**entry, "ready": bool(ready.get("ready")), "missing": missing} + + with ThreadPoolExecutor(max_workers=6) as pool: + return list(pool.map(with_readiness, listed)) + + +def _item(media_id: str) -> tuple[dict, Path]: + item = next((m for m in media._read() if m.get("id") == media_id), None) + path = media.media_path(media_id) if item else None + if not item or not path: + raise HTTPException(404, "That media item is not in the media bin, or its file is missing.") + return item, path + + +def _input_kind(slot_type: str, item: dict) -> str: + if slot_type in ("image", "mask"): + if item.get("kind") != "image": + raise HTTPException(400, f"{item.get('name')} is not a picture.") + return "still" + if item.get("kind") == "video": + if slot_type == "frames": + raise HTTPException(400, "This workflow takes a frame sequence, not a movie.") + return "movie" + if item.get("kind") == "image" and slot_type == "media": + return "still" + raise HTTPException(400, f"{item.get('name')} cannot go in a {slot_type} slot.") + + +def _upload(root: str, kind: str, path: Path, name: str) -> str: + with _client(TRANSFER_SECONDS) as client, open(path, "rb") as fh: + response = client.post( + root + PREFIX + "/inputs", + data={"kind": kind}, + files={"files": (name, fh)}, + headers={k: v for k, v in _headers().items() if k != "Accept"}, + ) + return str((_answer(response, root).get("input") or {}).get("id") or "") + + +def _download(root: str, file_id: str, dest: Path) -> Path: + url = root + PREFIX + f"/files/{urllib.parse.quote(file_id)}" + with _client(TRANSFER_SECONDS) as client, client.stream("GET", url, headers=_headers()) as response: + if response.status_code >= 400: + response.read() + _answer(response, root) + with open(dest, "wb") as fh: + fh.writelines(response.iter_bytes(1 << 20)) + return dest + + +def _join(frames: list[Path], fps: float, dest: Path) -> Path: + folder = frames[0].parent + for index, frame in enumerate(frames): + frame.rename(folder / f"{index:06d}{frame.suffix}") + pattern = str(folder / f"%06d{frames[0].suffix}") + command = [ffmpeg(), "-y", "-loglevel", "error", "-framerate", f"{fps:g}", "-start_number", "0", "-i", pattern] + command += ["-c:v", "libx264", "-crf", "12", "-pix_fmt", "yuv420p", "-vf", "pad=ceil(iw/2)*2:ceil(ih/2)*2", str(dest)] + done = subprocess.run(command, capture_output=True, text=True, check=False) + if done.returncode or not dest.is_file(): + raise ValueError("ffmpeg could not join the result frames into a movie: " + (done.stderr or "").strip()[-300:]) + return dest + + +def _land(root: str, workflow: str, job: dict, item: dict, folder: Path) -> dict: + made, caption = [], "" + for output in job.get("outputs") or []: + name, kind, files = str(output.get("name") or "result"), output.get("kind"), output.get("files") or [] + if not files or name in SKIPPED_OUTPUTS: + continue + label = f"{item.get('name')} ({workflow} {name})" + extra = {"source": "comfyui", "workflow": workflow, "output": name, "from": item.get("id")} + if kind == "text": + got = _download(root, files[0]["file_id"], folder / f"{uuid.uuid4().hex}.txt") + caption = got.read_text(encoding="utf-8", errors="replace").strip() + continue + got = [ + _download(root, f["file_id"], folder / (uuid.uuid4().hex + (Path(str(f.get("name") or "")).suffix or ".png"))) for f in files + ] + if kind in ("frames", "matte", "mask") and len(got) > 1: + fps = float(output.get("fps") or item.get("fps") or 24) + sub = folder / uuid.uuid4().hex + sub.mkdir() + moved = [p.rename(sub / p.name) for p in got] + made.append(ingest_path(_join(moved, fps, folder / f"{uuid.uuid4().hex}.mp4"), label, extra=extra)) + else: + made.append(ingest_path(got[0], label, extra=extra)) + return {"media": made, "caption": caption, "cached": bool(job.get("cached"))} + + +class SettingsBody(BaseModel): + base: str = Field(default=DEFAULT_BASE, max_length=500) + + +class RunBody(BaseModel): + workflow: str = Field(min_length=1, max_length=120) + slots: dict = Field(default_factory=dict) + media: dict[str, str] = Field(default_factory=dict) + reuse: bool = True + + +@router.get("") +def get_settings() -> dict: + return settings() + + +@router.put("") +def put_settings(body: SettingsBody) -> dict: + write_json(STORE, {"base": normalize_base(body.base)}) + return settings() + + +@router.get("/handshake") +def get_handshake(base: str | None = None) -> dict: + try: + return handshake(normalize_base(base or settings()["base"])) + except HTTPException as exc: + return {"ok": False, "message": str(exc.detail)} + + +@router.get("/workflows") +def get_workflows() -> dict: + return {"workflows": workflows()} + + +@router.post("/run", status_code=202) +def run(body: RunBody) -> dict: + root = normalize_base(settings()["base"]) + entry = call("GET", f"/workflows/{_quoted(body.workflow)}", root) + types = {str(s.get("name")): str(s.get("type")) for s in entry.get("slots") or [] if isinstance(s, dict)} + picked = {} + for slot, media_id in body.media.items(): + if types.get(slot) not in MEDIA_TYPES: + raise HTTPException(400, f"The workflow has no picture or video slot called {slot}.") + item, path = _item(media_id) + picked[slot] = (item, path, _input_kind(types[slot], item)) + if not picked: + raise HTTPException(400, "Choose a clip or picture from the media bin.") + first = next(iter(picked.values()))[0] + + def operation(job_id, report, cancelled): + STAGING.mkdir(parents=True, exist_ok=True) + folder = Path(tempfile.mkdtemp(dir=STAGING)) + sent: list[str] = [] + try: + slots = dict(body.slots) + for slot, (item, path, kind) in picked.items(): + input_id = _upload(root, kind, path, str(item.get("name") or path.name).replace("/", "_") + path.suffix) + sent.append(input_id) + slots[slot] = input_id + report(0.1) + asked = {"workflow": body.workflow, "slots": slots, "client_id": CLIENT_ID, "reuse": body.reuse} + job = call("POST", "/jobs", root, asked, 30).get("job") or {} + while job.get("state") in ("queued", "running"): + if cancelled(): + call("POST", f"/jobs/{job['id']}/cancel", root, {}, 10) + raise InterruptedError("Cancelled") + time.sleep(POLL_SECONDS) + job = call("GET", f"/jobs/{job['id']}", root).get("job") or {} + step = job.get("progress") or {} + if step.get("max"): + report(0.1 + 0.75 * min(1.0, float(step.get("value") or 0) / float(step["max"]))) + if job.get("state") != "done": + err = job.get("error") or {} + raise ValueError(err.get("message") or f"The ComfyUI job ended {job.get('state')}.") + report(0.85) + return _land(root, body.workflow, job, first, folder) + finally: + for input_id in sent: + with contextlib.suppress(HTTPException): + call("DELETE", f"/inputs/{urllib.parse.quote(input_id)}", root) + shutil.rmtree(folder, ignore_errors=True) + + return jobs.submit("comfyui", operation) diff --git a/backend/app/main.py b/backend/app/main.py index ef4c8fc3..6144a21c 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -11,6 +11,7 @@ from .brush import router as brush_router from .cloud import router as cloud_router from .features import router as features_router +from .formbridge import router as formbridge_router from .instagram import router as instagram_router from .library import router as library_router from .media import router as media_router @@ -38,7 +39,7 @@ prefer_bundled() -APP_VERSION = "2.22.0" +APP_VERSION = "2.23.0" app = FastAPI(title="formcut engine", version=APP_VERSION) @@ -172,6 +173,7 @@ def filter(self, record: logging.LogRecord) -> bool: app.include_router(stock_router) app.include_router(tts_router) app.include_router(voice_app_router) +app.include_router(formbridge_router) app.include_router(presets_router) from .generate import router as generate_router diff --git a/form-functions.json b/form-functions.json index fcb5acb8..85cb5eb9 100644 --- a/form-functions.json +++ b/form-functions.json @@ -2,7 +2,7 @@ "format": "form-functions", "format_version": 1, "app": "formcut", - "app_version": "2.22.0", + "app_version": "2.23.0", "functions": [ { "id": "transcribe", diff --git a/frontend/HASHOUT_LOG.md b/frontend/HASHOUT_LOG.md index f0decf5a..94a63992 100644 --- a/frontend/HASHOUT_LOG.md +++ b/frontend/HASHOUT_LOG.md @@ -2,6 +2,15 @@ Reasoning behind interface changes, newest first. +## 2.23.0 · Studio, ComfyUI (`ui/comfyui-page.ts` new; `ui/studio-tools.ts` the tab, the empty section, the mount after `reconcileOptions`, `showPage`; `i18n/language-pack.ts`, `text.ts`; `public/locales/ar`, `fa`, `he`, `hr`) + +- **Where it is.** A ComfyUI tab beside Local models, with the grid icon. Its section is empty in the Studio markup and filled once by `mountComfyPage`, which keeps studio-tools.ts from growing and owns its own `data-cf-*` names. +- **Check** saves the address (`PUT /api/formbridge`) and asks the handshake. A failure shows the engine's sentence in the page's note; success shows the ComfyUI and pack versions and the device, then loads the workflows. Opening the page checks once per window; after that only Check asks again. +- **Fields from the slots.** A workflow's slot rows are made the first time it is chosen and kept, keyed by workflow and slot, then shown or hidden with the workflow select: nothing is rebuilt when the choice changes, and a typed prompt survives switching away and back. Media slots are selects of the bin's items of the kinds the slot takes, kept current through `bin.subscribe` and `reconcileOptions`; an optional one starts at None. Numbers carry the slot's min, max and step, a seed starts at -1, text is a textarea, choice a select, bool a checkbox. +- **Run in ComfyUI** is disabled for a workflow that is not ready (the note lists what is missing and where it goes) or that requires points, keyframes or a size, which this page does not send yet (the note names those slots). It goes through the page's `job`, so the footer shows progress and Cancel, then `bin.load()`; the note names what was added, and a caption appears in a read-only box. +- **Strings.** Ten phrases, each in the language pack (nine languages), in `text.ts`'s German and Spanish, and as `phrase:` entries in the four shipped locale files. "ComfyUI" is a name and is not translated. +- **Seen.** `tsc --noEmit` and `npm run build` pass; the locale key counts and the language pack's column check pass. The page was not opened in a window, so its layout and the throttled no-flicker check are still to do. + ## 2.22.0 · Studio, Local speech: Voice app on this computer (`ui/studio-tools.ts` the speech page's markup, ENGINE_NOTES, appChoices, saveVoiceApp, loadVoiceApp, loadSpeechEngine, speech-create; `i18n/language-pack.ts`, `text.ts`; `public/locales/ar.json`, `fa.json`, `he.json`, `hr.json`) - **Where it is.** The Engine list gains **Voice app on this computer**. Choosing it shows four rows that are otherwise hidden: Address (default `http://127.0.0.1:8080`), Key if the app asks for one (a password field, never filled back; its placeholder shows dots while a key is kept), Check, and Model. Voice is the panel's own Voice select. Language, Clone, consent and Expression are hidden; Speed stays. diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 7bb1f7d0..1a145e4a 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "formcut-frontend", - "version": "2.22.0", + "version": "2.23.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "formcut-frontend", - "version": "2.22.0", + "version": "2.23.0", "dependencies": { "@huggingface/transformers": "^4.3.0", "@xterm/addon-fit": "0.11.0", diff --git a/frontend/package.json b/frontend/package.json index 1eb84054..84f19266 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "formcut-frontend", - "version": "2.22.0", + "version": "2.23.0", "private": true, "type": "module", "scripts": { diff --git a/frontend/public/locales/ar.json b/frontend/public/locales/ar.json index 83344047..dcc70e57 100644 --- a/frontend/public/locales/ar.json +++ b/frontend/public/locales/ar.json @@ -1753,6 +1753,16 @@ "phrase:The app's default": "الافتراضي في التطبيق", "phrase:A voice app on this computer that answers the OpenAI-compatible speech API, such as one with your cloned voice. Start it, press Check, then pick its model and voice.": "تطبيق صوت على هذا الحاسوب يستجيب لواجهة الكلام المتوافقة مع OpenAI، مثل تطبيق فيه صوتك المستنسخ. شغّله، واضغط تحقق، ثم اختر نموذجه وصوته.", "phrase:Voice app found.": "تم العثور على تطبيق الصوت.", + "phrase:Runs the FormBridge pack's workflows on your own ComfyUI server. Install Comfy-FormBridge-Suite in ComfyUI's custom_nodes folder, then press Check.": "يشغّل مسارات عمل حزمة FormBridge على خادم ComfyUI الخاص بك. ثبّت Comfy-FormBridge-Suite في مجلد custom_nodes الخاص بـ ComfyUI، ثم اضغط تحقق.", + "phrase:Workflow": "مسار العمل", + "phrase:Run in ComfyUI": "تشغيل في ComfyUI", + "phrase:Reuse an identical earlier result": "أعد استخدام نتيجة سابقة مطابقة", + "phrase:formcut cannot fill these slots yet:": "لا يستطيع formcut ملء هذه الحقول بعد:", + "phrase:Not ready. Missing:": "غير جاهز. ينقص:", + "phrase:not ready": "غير جاهز", + "phrase:Added to the media bin": "أُضيف إلى حاوية الوسائط", + "phrase:Caption ready.": "الوصف جاهز.", + "phrase:Done.": "تم.", "phrase:Install": "تثبيت", "phrase:Clone a voice from": "استنسخ صوتًا من", "phrase:I have the speaker's permission": "لدي إذن المتحدث", diff --git a/frontend/public/locales/fa.json b/frontend/public/locales/fa.json index 1ba7e511..f7c7e9d1 100644 --- a/frontend/public/locales/fa.json +++ b/frontend/public/locales/fa.json @@ -1753,6 +1753,16 @@ "phrase:The app's default": "پیش‌فرض برنامه", "phrase:A voice app on this computer that answers the OpenAI-compatible speech API, such as one with your cloned voice. Start it, press Check, then pick its model and voice.": "برنامه صدایی روی این رایانه که به API گفتار سازگار با OpenAI پاسخ می‌دهد، مثلاً با صدای شبیه‌سازی‌شده شما. آن را اجرا کنید، بررسی را بزنید، سپس مدل و صدای آن را انتخاب کنید.", "phrase:Voice app found.": "برنامه صدا پیدا شد.", + "phrase:Runs the FormBridge pack's workflows on your own ComfyUI server. Install Comfy-FormBridge-Suite in ComfyUI's custom_nodes folder, then press Check.": "گردش‌کارهای بسته FormBridge را روی سرور ComfyUI خودتان اجرا می‌کند. Comfy-FormBridge-Suite را در پوشه custom_nodes در ComfyUI نصب کنید، سپس بررسی را بزنید.", + "phrase:Workflow": "گردش کار", + "phrase:Run in ComfyUI": "اجرا در ComfyUI", + "phrase:Reuse an identical earlier result": "استفاده دوباره از نتیجه یکسان قبلی", + "phrase:formcut cannot fill these slots yet:": "formcut هنوز نمی‌تواند این فیلدها را پر کند:", + "phrase:Not ready. Missing:": "آماده نیست. کم است:", + "phrase:not ready": "آماده نیست", + "phrase:Added to the media bin": "به سطل رسانه افزوده شد", + "phrase:Caption ready.": "شرح آماده است.", + "phrase:Done.": "انجام شد.", "phrase:Install": "نصب", "phrase:Clone a voice from": "شبیه‌سازی صدا از", "phrase:I have the speaker's permission": "اجازهٔ گوینده را دارم", diff --git a/frontend/public/locales/he.json b/frontend/public/locales/he.json index 73644205..2ddde2f5 100644 --- a/frontend/public/locales/he.json +++ b/frontend/public/locales/he.json @@ -1753,6 +1753,16 @@ "phrase:The app's default": "ברירת המחדל של האפליקציה", "phrase:A voice app on this computer that answers the OpenAI-compatible speech API, such as one with your cloned voice. Start it, press Check, then pick its model and voice.": "אפליקציית קול במחשב הזה שעונה ל־API הדיבור התואם ל־OpenAI, למשל עם הקול המשוכפל שלך. הפעילו אותה, לחצו על בדיקה ואז בחרו מודל וקול.", "phrase:Voice app found.": "אפליקציית הקול נמצאה.", + "phrase:Runs the FormBridge pack's workflows on your own ComfyUI server. Install Comfy-FormBridge-Suite in ComfyUI's custom_nodes folder, then press Check.": "מריץ את תהליכי העבודה של חבילת FormBridge בשרת ComfyUI שלך. התקן את Comfy-FormBridge-Suite בתיקייה custom_nodes של ComfyUI, ואז לחץ על בדיקה.", + "phrase:Workflow": "תהליך עבודה", + "phrase:Run in ComfyUI": "הרצה ב-ComfyUI", + "phrase:Reuse an identical earlier result": "שימוש חוזר בתוצאה קודמת זהה", + "phrase:formcut cannot fill these slots yet:": "formcut עדיין לא יכול למלא את השדות האלה:", + "phrase:Not ready. Missing:": "לא מוכן. חסר:", + "phrase:not ready": "לא מוכן", + "phrase:Added to the media bin": "נוסף לסל המדיה", + "phrase:Caption ready.": "הכיתוב מוכן.", + "phrase:Done.": "הושלם.", "phrase:Install": "התקנה", "phrase:Clone a voice from": "שכפול קול מתוך", "phrase:I have the speaker's permission": "יש לי את רשות הדובר", diff --git a/frontend/public/locales/hr.json b/frontend/public/locales/hr.json index b6133078..19975677 100644 --- a/frontend/public/locales/hr.json +++ b/frontend/public/locales/hr.json @@ -1753,6 +1753,16 @@ "phrase:The app's default": "Zadano u aplikaciji", "phrase:A voice app on this computer that answers the OpenAI-compatible speech API, such as one with your cloned voice. Start it, press Check, then pick its model and voice.": "Glasovna aplikacija na ovom računalu koja odgovara na govorni API kompatibilan s OpenAI-jem, na primjer s vašim kloniranim glasom. Pokrenite je, pritisnite Provjeri, zatim odaberite njezin model i glas.", "phrase:Voice app found.": "Glasovna aplikacija pronađena.", + "phrase:Runs the FormBridge pack's workflows on your own ComfyUI server. Install Comfy-FormBridge-Suite in ComfyUI's custom_nodes folder, then press Check.": "Pokreće tijekove rada paketa FormBridge na vašem ComfyUI poslužitelju. Instalirajte Comfy-FormBridge-Suite u mapu custom_nodes u ComfyUI-ju, zatim pritisnite Provjeri.", + "phrase:Workflow": "Tijek rada", + "phrase:Run in ComfyUI": "Pokreni u ComfyUI-ju", + "phrase:Reuse an identical earlier result": "Ponovno upotrijebi isti raniji rezultat", + "phrase:formcut cannot fill these slots yet:": "formcut još ne može ispuniti ova polja:", + "phrase:Not ready. Missing:": "Nije spremno. Nedostaje:", + "phrase:not ready": "nije spremno", + "phrase:Added to the media bin": "Dodano u spremnik medija", + "phrase:Caption ready.": "Opis je spreman.", + "phrase:Done.": "Gotovo.", "phrase:Install": "Instaliraj", "phrase:Clone a voice from": "Kloniraj glas iz", "phrase:I have the speaker's permission": "Imam dopuštenje govornika", diff --git a/frontend/src/i18n/language-pack.ts b/frontend/src/i18n/language-pack.ts index 2875ba37..a3d6da28 100644 --- a/frontend/src/i18n/language-pack.ts +++ b/frontend/src/i18n/language-pack.ts @@ -964,6 +964,16 @@ Check|Vérifier|Verifica|確認|확인|Verificar|Проверить|Denetle|检 The app's default|Par défaut de l'application|Predefinito dell'app|アプリの既定|앱 기본값|Padrão do app|По умолчанию в приложении|Uygulamanın varsayılanı|应用默认|應用程式預設 A voice app on this computer that answers the OpenAI-compatible speech API, such as one with your cloned voice. Start it, press Check, then pick its model and voice.|Une application vocale sur cet ordinateur qui répond à l'API vocale compatible OpenAI, par exemple avec votre voix clonée. Lancez-la, cliquez sur Vérifier, puis choisissez son modèle et sa voix.|Un'app vocale su questo computer che risponde all'API vocale compatibile con OpenAI, ad esempio con la tua voce clonata. Avviala, premi Verifica, poi scegli modello e voce.|OpenAI 互換の音声 API に応答する、このコンピューター上の音声アプリ(クローンした自分の声など)。アプリを起動し、「確認」を押してから、モデルと声を選びます。|OpenAI 호환 음성 API에 응답하는 이 컴퓨터의 음성 앱(복제한 내 목소리 등). 앱을 실행하고 확인을 누른 다음 모델과 목소리를 고르세요.|Um app de voz neste computador que responde à API de fala compatível com a OpenAI, como um com sua voz clonada. Abra-o, clique em Verificar e escolha o modelo e a voz.|Голосовое приложение на этом компьютере, отвечающее на совместимый с OpenAI речевой API, например с вашим клонированным голосом. Запустите его, нажмите «Проверить», затем выберите модель и голос.|Bu bilgisayarda OpenAI uyumlu konuşma API'sine yanıt veren bir ses uygulaması, örneğin klonlanmış sesinizle. Uygulamayı başlatın, Denetle'ye basın, sonra modelini ve sesini seçin.|本机上响应 OpenAI 兼容语音 API 的语音应用,例如带有你克隆声音的应用。启动它,点击“检查”,然后选择模型和声音。|本機上回應 OpenAI 相容語音 API 的語音應用程式,例如帶有你複製聲音的應用程式。啟動它,按「檢查」,然後選擇模型與聲音。 Voice app found.|Application vocale trouvée.|App vocale trovata.|音声アプリが見つかりました。|음성 앱을 찾았습니다.|App de voz encontrado.|Голосовое приложение найдено.|Ses uygulaması bulundu.|已找到语音应用。|已找到語音應用程式。 +Runs the FormBridge pack's workflows on your own ComfyUI server. Install Comfy-FormBridge-Suite in ComfyUI's custom_nodes folder, then press Check.|Exécute les workflows du pack FormBridge sur votre propre serveur ComfyUI. Installez Comfy-FormBridge-Suite dans le dossier custom_nodes de ComfyUI, puis appuyez sur Vérifier.|Esegue i workflow del pack FormBridge sul tuo server ComfyUI. Installa Comfy-FormBridge-Suite nella cartella custom_nodes di ComfyUI, poi premi Verifica.|FormBridge パックのワークフローを自分の ComfyUI サーバーで実行します。Comfy-FormBridge-Suite を ComfyUI の custom_nodes フォルダーにインストールしてから「確認」を押してください。|FormBridge 팩의 워크플로를 내 ComfyUI 서버에서 실행합니다. Comfy-FormBridge-Suite를 ComfyUI의 custom_nodes 폴더에 설치한 다음 확인을 누르세요.|Executa os fluxos de trabalho do pacote FormBridge no seu próprio servidor ComfyUI. Instale o Comfy-FormBridge-Suite na pasta custom_nodes do ComfyUI e pressione Verificar.|Запускает рабочие процессы пакета FormBridge на вашем сервере ComfyUI. Установите Comfy-FormBridge-Suite в папку custom_nodes ComfyUI, затем нажмите «Проверить».|FormBridge paketinin iş akışlarını kendi ComfyUI sunucunuzda çalıştırır. Comfy-FormBridge-Suite'i ComfyUI'nin custom_nodes klasörüne kurun, ardından Denetle'ye basın.|在你自己的 ComfyUI 服务器上运行 FormBridge 包的工作流。将 Comfy-FormBridge-Suite 安装到 ComfyUI 的 custom_nodes 文件夹,然后按“检查”。|在你自己的 ComfyUI 伺服器上執行 FormBridge 套件的工作流程。將 Comfy-FormBridge-Suite 安裝到 ComfyUI 的 custom_nodes 資料夾,然後按「檢查」。 +Workflow|Workflow|Workflow|ワークフロー|워크플로|Fluxo de trabalho|Рабочий процесс|İş akışı|工作流|工作流程 +Run in ComfyUI|Exécuter dans ComfyUI|Esegui in ComfyUI|ComfyUI で実行|ComfyUI에서 실행|Executar no ComfyUI|Запустить в ComfyUI|ComfyUI'de çalıştır|在 ComfyUI 中运行|在 ComfyUI 中執行 +Reuse an identical earlier result|Réutiliser un résultat antérieur identique|Riusa un risultato precedente identico|同じ内容の以前の結果を再利用|동일한 이전 결과 재사용|Reutilizar um resultado anterior idêntico|Повторно использовать такой же прежний результат|Aynı önceki sonucu yeniden kullan|复用相同的先前结果|重用相同的先前結果 +formcut cannot fill these slots yet:|formcut ne peut pas encore remplir ces champs :|formcut non può ancora compilare questi campi:|formcut ではまだ次の項目を入力できません:|formcut은 아직 다음 항목을 채울 수 없습니다:|O formcut ainda não consegue preencher estes campos:|formcut пока не умеет заполнять эти поля:|formcut bu alanları henüz dolduramıyor:|formcut 暂时无法填写这些字段:|formcut 暫時無法填寫這些欄位: +Not ready. Missing:|Pas prêt. Manquant :|Non pronto. Mancano:|準備ができていません。不足:|준비되지 않았습니다. 누락:|Não está pronto. Faltando:|Не готово. Не хватает:|Hazır değil. Eksik:|未就绪。缺少:|未就緒。缺少: +not ready|pas prêt|non pronto|準備未完了|준비 안 됨|não está pronto|не готово|hazır değil|未就绪|未就緒 +Added to the media bin|Ajouté au chutier|Aggiunto al contenitore media|メディアビンに追加しました|미디어 빈에 추가됨|Adicionado à caixa de mídia|Добавлено в корзину медиа|Medya kutusuna eklendi|已添加到媒体箱|已加入媒體箱 +Caption ready.|Légende prête.|Didascalia pronta.|キャプションの準備ができました。|캡션이 준비되었습니다.|Legenda pronta.|Подпись готова.|Açıklama hazır.|描述已就绪。|描述已就緒。 +Done.|Terminé.|Fatto.|完了しました。|완료되었습니다.|Concluído.|Готово.|Tamamlandı.|完成。|完成。 Install|Installer|Installa|インストール|설치|Instalar|Установить|Yükle|安装|安裝 Clone a voice from|Cloner une voix depuis|Clona una voce da|声をクローンする元|음성 복제 원본|Clonar uma voz de|Клонировать голос из|Sesi şuradan klonla|克隆声音来源|複製聲音來源 I have the speaker's permission|J'ai l'autorisation de la personne qui parle|Ho il permesso di chi parla|話者の許可を得ています|화자의 허락을 받았습니다|Tenho a permissão de quem fala|У меня есть разрешение говорящего|Konuşan kişinin iznini aldım|我已获得说话人的许可|我已取得說話者的許可 diff --git a/frontend/src/i18n/text.ts b/frontend/src/i18n/text.ts index 8ba5636c..c1a8dd0b 100644 --- a/frontend/src/i18n/text.ts +++ b/frontend/src/i18n/text.ts @@ -3,8 +3,8 @@ import en from "./en.json"; import { PHRASES } from "./language-pack"; const additional: Record> = { - de: { "Voice app on this computer": "Sprach-App auf diesem Computer", "Address": "Adresse", "Key, if the app asks for one": "Schlüssel, falls die App einen verlangt", "Check": "Prüfen", "The app's default": "Standard der App", "A voice app on this computer that answers the OpenAI-compatible speech API, such as one with your cloned voice. Start it, press Check, then pick its model and voice.": "Eine Sprach-App auf diesem Computer, die die OpenAI-kompatible Sprach-API beantwortet, etwa eine mit Ihrer geklonten Stimme. Starten Sie sie, klicken Sie auf Prüfen und wählen Sie dann Modell und Stimme.", "Voice app found.": "Sprach-App gefunden.", "Move earlier": "Nach vorn verschieben","Turn off": "Ausschalten", "Turn on": "Einschalten", "System default": "Systemstandard", "Animated property": "Animierte Eigenschaft", "Apply expression": "Ausdruck anwenden", "Remove LUT": "LUT entfernen", "Remove shader": "Shader entfernen", "Transition": "Übergang", "WGSL shader": "WGSL-Shader", "Neutral": "Neutral", "Exposure": "Belichtung", "Contrast": "Kontrast", "Saturation": "Sättigung", "Monochrome": "Monochrom", "Warmth": "Wärme", "Cooling": "Kühlung", "Sepia": "Sepia", "Faded": "Verblasst", "Halide Mono": "Halogenid-Mono", "Burnished": "Brüniert", "Cyan Shadows": "Cyan-Schatten", "Amber Highlights": "Bernstein-Lichter", "Teal Amber": "Petrol und Bernstein", "Blush Lift": "Rosé-Anhebung", "Moss Tint": "Moostönung", "Nightfall": "Einbruch der Nacht", "First Light": "Morgendämmerung", "Skip Bleach": "Bleach Bypass", "Chalk Soft": "Kreideweich", "Hard Snap": "Harter Kontrast", "Low Key": "Low Key", "High Key": "High Key", "Matte": "Matt", "Jade Contrast": "Jade-Kontrast", "Lilac Haze": "Fliederdunst", "Dune Wash": "Dünenschleier", "Glacier Bright": "Gletscherhell", "Harvest": "Ernte", "Ink Shadow": "Tintenschatten", "Newsprint": "Zeitungspapier", "Split Purple": "Split Violett", "Split Green": "Split Grün", "Red Lift": "Rot-Anhebung", "Blue Lift": "Blau-Anhebung", "Green Lift": "Grün-Anhebung", "Highlight Rolloff": "Weiche Lichter", "Shadow Detail": "Schattendetails", "Vibrance": "Dynamik", "Soft Contrast": "Weicher Kontrast", "Crisp Mids": "Klare Mitten", "Lift Blacks": "Schwarz anheben", "Crush Blacks": "Schwarz absenken", "Half Stop Down": "Halbe Blende dunkler", "Desaturate": "Entsättigen", "Brighten Mids": "Mitten aufhellen", "Cross Process": "Crossentwicklung", "Push Process": "Push-Entwicklung", "Pull Process": "Pull-Entwicklung", "Expired Stock": "Abgelaufener Film", "Tintype": "Ferrotypie", "Cyanotype": "Cyanotypie", "Night Print": "Nachtabzug", "Tungsten": "Kunstlicht", "Candlelit": "Kerzenschein", "Honey Glow": "Honigschimmer", "Terracotta": "Terrakotta", "Peach Lift": "Pfirsich-Anhebung", "Late Sun": "Abendsonne", "Rust Shadows": "Rostschatten", "Overcast": "Bedeckt", "Steel Blue": "Stahlblau", "Moonlit": "Mondschein", "Mint Air": "Minzluft", "Deep Water": "Tiefes Wasser", "Frost Highlights": "Frostlichter", "Slate Shade": "Schieferschatten", "Red Cyan": "Rot-Cyan", "Pine Sky": "Kiefernhimmel", "Navy Blush": "Marine und Rosé", "Violet Gold": "Violett-Gold", "Teal Magenta": "Petrol-Magenta", "Cocoa Cream": "Kakao und Creme", "Muted Split": "Gedämpftes Split-Toning", "Gaussian Blur": "Gaußscher Weichzeichner", "Box Blur": "Rechteck-Weichzeichner", "Directional Blur": "Richtungsunschärfe", "Radial Blur": "Radiale Unschärfe", "Sharpen": "Schärfen", "Edge Detect": "Kantenerkennung", "Emboss": "Relief", "Invert": "Umkehren", "Posterize": "Tontrennung", "Solarize": "Solarisation", "Pixelate": "Verpixeln", "Vignette": "Vignette", "Film Grain": "Filmkorn", "Glow": "Leuchten", "Chromatic Aberration": "Chromatische Aberration", "Fisheye": "Fischauge", "Wave": "Welle", "Mirror": "Spiegeln", "Kaleidoscope": "Kaleidoskop", "Scanlines": "Zeilenraster", "Signal Interference": "Signalstörung", "Cartoon": "Cartoon", "Pencil Sketch": "Bleistiftskizze", "Rain": "Regen", "Dust": "Staub", "Camera Shake": "Kamerawackeln", "Tilt Shift": "Tilt-Shift", "Spin Blur": "Drehunschärfe", "Lens Blur": "Objektivunschärfe", "Median Soften": "Median-Glättung", "Soft Focus": "Weichzeichnung", "Diagonal Blur": "Diagonale Unschärfe", "Ghost Trail": "Geisterspur", "Halftone": "Rasterdruck", "Duotone": "Duplex", "Paint Wash": "Lavierung", "Thermal": "Wärmebild", "Night Vision": "Nachtsicht", "Ink Outline": "Tintenkontur", "Crosshatch": "Kreuzschraffur", "Swirl": "Strudel", "Ripple": "Kräuseln", "Pinch": "Zusammenziehen", "Slice Glitch": "Scheiben-Glitch", "Tile Repeat": "Kachelwiederholung", "Polar Wrap": "Polarkoordinaten", "Heat Haze": "Hitzeflimmern", "Film Scratches": "Filmkratzer", "Light Leak": "Lichtleck", "Aperture Grille": "Streifenmaske", "Paper Texture": "Papierstruktur", "Snowfall": "Schneefall", "Bokeh Spots": "Bokeh-Lichter", "Chroma Noise": "Farbrauschen", "Pitch Up": "Tonhöhe hoch", "Pitch Down": "Tonhöhe runter", "Denoise": "Entrauschen", "Voice Clean": "Stimme säubern", "Bass": "Bass", "Treble": "Höhen", "Telephone": "Telefon", "Room": "Zimmer", "Hall": "Halle", "Cathedral": "Kathedrale", "Plate": "Plattenhall", "Robot": "Roboter", "Tremolo": "Tremolo", "Vibrato": "Vibrato", "Distortion": "Verzerrung", "Compress": "Kompressor", "Normalize": "Normalisieren", "De-ess": "De-Esser", "Octave Up": "Oktave höher", "Octave Down": "Oktave tiefer", "Double Voice": "Stimmdopplung", "Jet Flange": "Jet-Flanger", "Swirl Phase": "Wirbel-Phaser", "Bullhorn": "Megafon", "Two Way Radio": "Funkgerät", "Warm Lows": "Warme Tiefen", "Presence Lift": "Präsenzanhebung", "Mid Scoop": "Mittensenke", "Bit Crush": "Bitcrusher", "Tape Warmth": "Bandwärme", "Crisp Detail": "Klare Details", "Lofi Band": "Lo-Fi-Band", "Slapback": "Slapback", "Wide Stage": "Breite Bühne", "Stereo Bloom": "Stereo-Weite", "Long Tail": "Langer Nachhall", "Tunnel": "Tunnel", "Small Booth": "Kleine Kabine", "Far Away": "Weit entfernt", "Noise Gate": "Noise Gate", "Hiss Cut": "Rauschfilter", "Hum Remover": "Brummentferner", "Rumble Cut": "Rumpelfilter", "Level Rider": "Pegelausgleich", "Peak Limiter": "Spitzenbegrenzer", "Deep Denoise": "Starkes Entrauschen", "Wipe Left": "Wischen nach links", "Wipe Right": "Wischen nach rechts", "Wipe Up": "Wischen nach oben", "Wipe Down": "Wischen nach unten", "Slide Left": "Schieben nach links", "Slide Right": "Schieben nach rechts", "Zoom": "Zoom", "Iris": "Iris", "Dissolve": "Auflösen", "Push Up": "Hochschieben", "Normal": "Normal", "Multiply": "Multiplizieren", "Screen": "Negativ multiplizieren", "Overlay": "Ineinanderkopieren", "Darken": "Abdunkeln", "Lighten": "Aufhellen", "Difference": "Differenz", "Add": "Addieren", "Subtract": "Subtrahieren", "Soft Light": "Weiches Licht", "media": "Medien", "effect previews": "Effektvorschauen", "filmstrips": "Filmstreifen", "waveforms": "Wellenformen", "thumbnails": "Miniaturansichten", "Uniform": "Gleichmäßig", "Accelerate": "Beschleunigen", "Decelerate": "Verlangsamen", "Valley": "Tal", "Peak": "Gipfel", "Pulse": "Puls", "Slide left": "Nach links gleiten", "Slide right": "Nach rechts gleiten", "Slide up": "Nach oben gleiten", "Slide down": "Nach unten gleiten", "Spin in": "Hineindrehen", "Float": "Schweben", "Shake": "Schütteln", "Video effects": "Videoeffekte", "Audio effects": "Audioeffekte", "Blur": "Weichzeichnen", "Stylize": "Stilisieren", "Distort": "Verzerren", "Texture": "Textur", "Cutout": "Freistellen", "Tone": "Klang", "Space": "Raum", "Clean": "Bereinigen", "Film": "Film", "Warm": "Warm", "Cool": "Kühl", "Split": "Split-Toning", "Basic": "Grundlagen", "Animation": "Animation", "Adjust": "Anpassen", "Focus preview": "Vorschau fokussieren", "Panels": "Bereiche", "Studio": "Studio", "saved": "gespeichert", "edited": "bearbeitet", "Start": "Anfang", "Previous frame": "Vorheriges Bild", "Play or pause": "Wiedergabe oder Pause", "Next frame": "Nächstes Bild", "End": "Ende", "Video preview": "Videovorschau", "Preview resolution": "Vorschauauflösung", "Remove track": "Spur entfernen", "Lock track": "Spur sperren", "Hide track": "Spur ausblenden", "Mute track": "Spur stummschalten", "Magnetic track": "Magnetische Spur", "Double-click to rename track": "Doppelklicken, um die Spur umzubenennen", "Scrub playhead": "Abspielkopf ziehen", "Timeline height": "Höhe der Zeitleiste", "Resize selected clip nw": "Ausgewählten Clip skalieren (oben links)", "Resize selected clip n": "Ausgewählten Clip skalieren (oben)", "Resize selected clip ne": "Ausgewählten Clip skalieren (oben rechts)", "Resize selected clip e": "Ausgewählten Clip skalieren (rechts)", "Resize selected clip se": "Ausgewählten Clip skalieren (unten rechts)", "Resize selected clip s": "Ausgewählten Clip skalieren (unten)", "Resize selected clip sw": "Ausgewählten Clip skalieren (unten links)", "Resize selected clip w": "Ausgewählten Clip skalieren (links)", "Rotate selected clip": "Ausgewählten Clip drehen", "Move selected clip": "Ausgewählten Clip verschieben", "Media panel": "Medienbereich", "Inspector panel": "Inspektorbereich", "Timeline panel": "Zeitleistenbereich", "Reset layout": "Layout zurücksetzen", "Short timeline": "Niedrige Zeitleiste", "Medium timeline": "Mittlere Zeitleiste", "Tall timeline": "Hohe Zeitleiste", "Undo": "Rückgängig", "Redo": "Wiederholen", "Copy clip": "Clip kopieren", "Paste clip": "Clip einfügen", "Duplicate clip": "Clip duplizieren", "Split at playhead": "Am Abspielkopf teilen", "Detach audio": "Audio ablösen", "Delete clip": "Clip löschen", "Fullscreen": "Vollbild", "Add point at playhead": "Punkt am Abspielkopf hinzufügen", "Preset": "Vorgabe", "Select a clip to edit its tools": "Wähle einen Clip, um seine Werkzeuge zu bearbeiten", "Creator tool": "Kreativwerkzeug", "Motion": "Bewegung", "Seconds": "Sekunden", "Chroma key": "Chroma-Key", "Remove last stroke": "Letzten Strich entfernen", "Model": "Modell", "Threshold": "Schwellenwert", "Edge softness": "Kantenweichheit", "Brush": "Pinsel", "Brush radius": "Pinselradius", "Paint on the preview. Brush edits use source coordinates and are saved with the clip.": "Male auf der Vorschau. Pinselbearbeitungen nutzen Quellkoordinaten und werden mit dem Clip gespeichert.", "Mute clip": "Clip stummschalten", "Processor": "Prozessor", "Effect": "Effekt", "Remove active timeline": "Aktive Zeitleiste entfernen", "Studio tools": "Studiowerkzeuge", "Timeline structure": "Aufbau der Zeitleiste", "Frame rate": "Bildrate", "Name": "Name", "Active timeline": "Aktive Zeitleiste", "All settings and structure changes support Undo.": "Alle Einstellungen und Strukturänderungen lassen sich rückgängig machen.", "Save current project as template": "Aktuelles Projekt als Vorlage speichern", "Reusable timeline templates": "Wiederverwendbare Zeitleistenvorlagen", "Template name": "Vorlagenname", "Import template": "Vorlage importieren", "Generate and add to timeline": "Erzeugen und zur Zeitleiste hinzufügen", "Text to speak": "Zu sprechender Text", "Object cutout (U2Net small)": "Objekt freistellen (U2Net small)", "Person cutout (U2Net)": "Person freistellen (U2Net)", "Kokoro local speech": "Lokale Sprachausgabe Kokoro", "Import Object cutout (U2Net small)": "Objekt freistellen (U2Net small) importieren", "Import Person cutout (U2Net)": "Person freistellen (U2Net) importieren", "Import Kokoro local speech": "Lokale Sprachausgabe Kokoro importieren", "Creator tools": "Kreativwerkzeuge", "Speed curve": "Geschwindigkeitskurve", "Motion presets": "Bewegungsvorlagen", "Visual effects": "Visuelle Effekte", "Audio processing": "Audioverarbeitung", "Cutout and brushes": "Freistellen und Pinsel", "LUT, shader and expressions": "LUT, Shader und Ausdrücke", "Apply curve": "Kurve anwenden", "Constant speed": "Konstante Geschwindigkeit", "Apply keyframes": "Keyframes anwenden", "Add effect": "Effekt hinzufügen", "Remove": "Entfernen", "Up": "Nach oben", "Volume": "Lautstärke", "Pan": "Panorama", "Add processor": "Verarbeitung hinzufügen", "Apply transition": "Übergang anwenden", "Object cutout": "Objekt freistellen", "Person cutout": "Person freistellen", "Enable cutout": "Freistellen aktivieren", "Remove cutout": "Freistellung entfernen", "Restore": "Wiederherstellen", "Erase": "Radieren", "Off": "Aus", "Project": "Projekt", "Timeline templates": "Zeitleistenvorlagen", "Local speech": "Lokale Sprachausgabe", "Local models": "Lokale Modelle", "Project settings": "Projekteinstellungen", "Apply settings": "Einstellungen anwenden", "Add track": "Spur hinzufügen", "Add timeline": "Zeitleiste hinzufügen", "Create project": "Projekt erstellen", "Download": "Herunterladen", "Cancel job": "Auftrag abbrechen", "Ready offline": "Offline bereit", "Not installed": "Nicht installiert", "Preview": "Vorschau", "Full size": "Volle Größe", "Fine edges (IS-Net)": "Feine Kanten (IS-Net)", "Video matting (people)": "Video-Freistellung (Personen)", "Point to select (SAM 2)": "Zum Auswählen zeigen (SAM 2)", "A person": "Eine Person", "Anything (object)": "Beliebiges (Objekt)", "Subject (Auto)": "Motiv (automatisch)", "Smart restore": "Intelligent wiederherstellen", "Smart erase": "Intelligent radieren", "Draw a box around it": "Rahmen darum ziehen", "Drag a box around what to keep": "Ziehe einen Rahmen um das, was bleiben soll", "Kept what is in the box": "Behalten, was im Rahmen ist", "SAM 2.1 video tracking": "SAM 2.1 Videoverfolgung", "Import SAM 2.1 video tracking": "SAM 2.1 Videoverfolgung importieren", "Oil Paint": "Ölgemälde", "Hex Pixelate": "Sechseck-Pixel", "Neon Edges": "Neonkanten", "Pop Art Grid": "Pop-Art-Raster", "Stained Glass": "Buntglas", "Infrared": "Infrarot", "Clarity": "Klarheit", "Dehaze": "Dunst entfernen", "Skin Smoothing": "Hautglättung", "Block Glitch": "Block-Glitch", "Anaglyph 3D": "Anaglyphen-3D", "LED Wall": "LED-Wand", "Retro Dither": "Retro-Dithering", "Fog": "Nebel", "Sparkles": "Funkeln", "VHS Tape": "VHS-Band", "CRT Screen": "Röhrenbildschirm", "Lens Flare": "Blendenfleck", "Push Down": "Nach unten schieben", "Cover Left": "Nach links überdecken", "Cover Up": "Nach oben überdecken", "Clock Wipe": "Uhrzeigerblende", "Blinds": "Jalousie", "Diagonal Wipe": "Diagonale Blende", "Pixel Dissolve": "Pixelauflösung", "Blur Fade": "Unschärfeblende", "Spin": "Drehen", "Diamond": "Raute", "Barn Door": "Scheunentor", "Looks": "Looks", "Packages": "Pakete", "Engine": "Engine", "Install": "Installieren", "Clone a voice from": "Stimme klonen aus", "None": "Keine", "I have the speaker's permission": "Ich habe die Erlaubnis der sprechenden Person", "Expression": "Ausdruck", "Kokoro, Apache-2.0: many voices and languages, fast.": "Kokoro, Apache-2.0: viele Stimmen und Sprachen, schnell.", "Pocket TTS by Kyutai, CC-BY-4.0: small and quick on a CPU; built-in voices, or clone one with permission.": "Pocket TTS von Kyutai, CC-BY-4.0: klein und schnell auf der CPU; eingebaute Stimmen oder mit Erlaubnis eine klonen.", "Chatterbox by Resemble AI, MIT: expressive, multilingual, clones a voice from seconds of audio. Its audio carries an inaudible watermark.": "Chatterbox von Resemble AI, MIT: ausdrucksstark, mehrsprachig, klont eine Stimme aus Sekunden Audio. Seine Ausgabe trägt ein unhörbares Wasserzeichen.", "Install this engine to use it; it downloads PyTorch and its model once.": "Installiere diese Engine, um sie zu nutzen; sie lädt PyTorch und ihr Modell einmal herunter.", "Installing; this can take several minutes.": "Wird installiert; das kann einige Minuten dauern.", "Person": "Person", "Object": "Objekt", "Soft edge": "Weiche Kante", "Hard edge": "Harte Kante", "Tight": "Eng", "Loose": "Weit", "Hair detail": "Haardetails", "Fine detail": "Feine Details", "Green screen": "Greenscreen", "Blue screen": "Bluescreen" }, - es: { "Voice app on this computer": "Aplicación de voz en este equipo", "Address": "Dirección", "Key, if the app asks for one": "Clave, si la aplicación pide una", "Check": "Comprobar", "The app's default": "Predeterminado de la aplicación", "A voice app on this computer that answers the OpenAI-compatible speech API, such as one with your cloned voice. Start it, press Check, then pick its model and voice.": "Una aplicación de voz en este equipo que responde a la API de voz compatible con OpenAI, como una con tu voz clonada. Iníciala, pulsa Comprobar y elige su modelo y su voz.", "Voice app found.": "Aplicación de voz encontrada.", "Move earlier": "Mover antes","Turn off": "Desactivar", "Turn on": "Activar", "System default": "Predeterminado del sistema", "Animated property": "Propiedad animada", "Apply expression": "Aplicar expresión", "Remove LUT": "Quitar LUT", "Remove shader": "Quitar shader", "Transition": "Transición", "WGSL shader": "Shader WGSL", "Neutral": "Neutro", "Exposure": "Exposición", "Contrast": "Contraste", "Saturation": "Saturación", "Monochrome": "Monocromo", "Warmth": "Calidez", "Cooling": "Enfriamiento", "Sepia": "Sepia", "Faded": "Desvaído", "Halide Mono": "Mono haluro", "Burnished": "Bruñido", "Cyan Shadows": "Sombras cian", "Amber Highlights": "Luces ámbar", "Teal Amber": "Verde azulado y ámbar", "Blush Lift": "Realce rosado", "Moss Tint": "Tinte musgo", "Nightfall": "Anochecer", "First Light": "Primera luz", "Skip Bleach": "Sin blanqueo", "Chalk Soft": "Tiza suave", "Hard Snap": "Contraste duro", "Low Key": "Clave baja", "High Key": "Clave alta", "Matte": "Mate", "Jade Contrast": "Contraste jade", "Lilac Haze": "Bruma lila", "Dune Wash": "Velo de duna", "Glacier Bright": "Glaciar brillante", "Harvest": "Cosecha", "Ink Shadow": "Sombra de tinta", "Newsprint": "Papel de periódico", "Split Purple": "Virado morado", "Split Green": "Virado verde", "Red Lift": "Realce rojo", "Blue Lift": "Realce azul", "Green Lift": "Realce verde", "Highlight Rolloff": "Luces suavizadas", "Shadow Detail": "Detalle en sombras", "Vibrance": "Intensidad", "Soft Contrast": "Contraste suave", "Crisp Mids": "Medios nítidos", "Lift Blacks": "Levantar negros", "Crush Blacks": "Aplastar negros", "Half Stop Down": "Medio paso menos", "Desaturate": "Desaturar", "Brighten Mids": "Aclarar medios", "Cross Process": "Proceso cruzado", "Push Process": "Forzado", "Pull Process": "Subrevelado", "Expired Stock": "Película caducada", "Tintype": "Ferrotipo", "Cyanotype": "Cianotipia", "Night Print": "Copia nocturna", "Tungsten": "Tungsteno", "Candlelit": "A la luz de las velas", "Honey Glow": "Brillo de miel", "Terracotta": "Terracota", "Peach Lift": "Realce melocotón", "Late Sun": "Sol de tarde", "Rust Shadows": "Sombras óxido", "Overcast": "Nublado", "Steel Blue": "Azul acero", "Moonlit": "Luz de luna", "Mint Air": "Aire de menta", "Deep Water": "Aguas profundas", "Frost Highlights": "Luces heladas", "Slate Shade": "Sombra pizarra", "Red Cyan": "Rojo cian", "Pine Sky": "Pino y cielo", "Navy Blush": "Marino y rosa", "Violet Gold": "Violeta y oro", "Teal Magenta": "Verde azulado y magenta", "Cocoa Cream": "Cacao y crema", "Muted Split": "Virado suave", "Gaussian Blur": "Desenfoque gaussiano", "Box Blur": "Desenfoque de cuadro", "Directional Blur": "Desenfoque direccional", "Radial Blur": "Desenfoque radial", "Sharpen": "Enfocar", "Edge Detect": "Detección de bordes", "Emboss": "Relieve", "Invert": "Invertir", "Posterize": "Posterizar", "Solarize": "Solarizar", "Pixelate": "Pixelar", "Vignette": "Viñeta", "Film Grain": "Grano de película", "Glow": "Resplandor", "Chromatic Aberration": "Aberración cromática", "Fisheye": "Ojo de pez", "Wave": "Onda", "Mirror": "Espejo", "Kaleidoscope": "Caleidoscopio", "Scanlines": "Líneas de escaneo", "Signal Interference": "Interferencia de señal", "Cartoon": "Dibujo animado", "Pencil Sketch": "Boceto a lápiz", "Rain": "Lluvia", "Dust": "Polvo", "Camera Shake": "Temblor de cámara", "Tilt Shift": "Tilt-shift", "Spin Blur": "Desenfoque giratorio", "Lens Blur": "Desenfoque de lente", "Median Soften": "Suavizado mediano", "Soft Focus": "Foco suave", "Diagonal Blur": "Desenfoque diagonal", "Ghost Trail": "Estela fantasma", "Halftone": "Semitono", "Duotone": "Duotono", "Paint Wash": "Aguada", "Thermal": "Térmico", "Night Vision": "Visión nocturna", "Ink Outline": "Contorno de tinta", "Crosshatch": "Sombreado cruzado", "Swirl": "Remolino", "Ripple": "Ondulación", "Pinch": "Pellizco", "Slice Glitch": "Glitch en franjas", "Tile Repeat": "Repetición en mosaico", "Polar Wrap": "Envoltura polar", "Heat Haze": "Calima", "Film Scratches": "Arañazos de película", "Light Leak": "Fuga de luz", "Aperture Grille": "Rejilla de apertura", "Paper Texture": "Textura de papel", "Snowfall": "Nevada", "Bokeh Spots": "Puntos de bokeh", "Chroma Noise": "Ruido cromático", "Pitch Up": "Tono más agudo", "Pitch Down": "Tono más grave", "Denoise": "Reducir ruido", "Voice Clean": "Voz limpia", "Bass": "Graves", "Treble": "Agudos", "Telephone": "Teléfono", "Room": "Sala", "Hall": "Salón", "Cathedral": "Catedral", "Plate": "Placa", "Robot": "Robot", "Tremolo": "Trémolo", "Vibrato": "Vibrato", "Distortion": "Distorsión", "Compress": "Compresor", "Normalize": "Normalizar", "De-ess": "De-esser", "Octave Up": "Octava arriba", "Octave Down": "Octava abajo", "Double Voice": "Voz doblada", "Jet Flange": "Flanger de reactor", "Swirl Phase": "Phaser de remolino", "Bullhorn": "Megáfono", "Two Way Radio": "Walkie-talkie", "Warm Lows": "Graves cálidos", "Presence Lift": "Realce de presencia", "Mid Scoop": "Hueco en medios", "Bit Crush": "Bitcrusher", "Tape Warmth": "Calidez de cinta", "Crisp Detail": "Detalle nítido", "Lofi Band": "Banda lo-fi", "Slapback": "Slapback", "Wide Stage": "Escenario amplio", "Stereo Bloom": "Apertura estéreo", "Long Tail": "Cola larga", "Tunnel": "Túnel", "Small Booth": "Cabina pequeña", "Far Away": "A lo lejos", "Noise Gate": "Puerta de ruido", "Hiss Cut": "Quitar siseo", "Hum Remover": "Quitar zumbido", "Rumble Cut": "Quitar retumbe", "Level Rider": "Nivelador", "Peak Limiter": "Limitador de picos", "Deep Denoise": "Reducción de ruido profunda", "Wipe Left": "Barrido a la izquierda", "Wipe Right": "Barrido a la derecha", "Wipe Up": "Barrido hacia arriba", "Wipe Down": "Barrido hacia abajo", "Slide Left": "Deslizar a la izquierda", "Slide Right": "Deslizar a la derecha", "Zoom": "Zoom", "Iris": "Iris", "Dissolve": "Disolver", "Push Up": "Empujar hacia arriba", "Normal": "Normal", "Multiply": "Multiplicar", "Screen": "Trama", "Overlay": "Superponer", "Darken": "Oscurecer", "Lighten": "Aclarar", "Difference": "Diferencia", "Add": "Sumar", "Subtract": "Restar", "Soft Light": "Luz suave", "media": "medios", "effect previews": "vistas previas de efectos", "filmstrips": "tiras de película", "waveforms": "formas de onda", "thumbnails": "miniaturas", "Uniform": "Uniforme", "Accelerate": "Acelerar", "Decelerate": "Desacelerar", "Valley": "Valle", "Peak": "Pico", "Pulse": "Pulso", "Slide left": "Deslizar a la izquierda", "Slide right": "Deslizar a la derecha", "Slide up": "Deslizar hacia arriba", "Slide down": "Deslizar hacia abajo", "Spin in": "Entrada giratoria", "Float": "Flotar", "Shake": "Sacudir", "Video effects": "Efectos de vídeo", "Audio effects": "Efectos de audio", "Blur": "Desenfoque", "Stylize": "Estilizar", "Distort": "Distorsión", "Texture": "Textura", "Cutout": "Recorte", "Tone": "Tono", "Space": "Espacio", "Clean": "Limpieza", "Film": "Película", "Warm": "Cálido", "Cool": "Frío", "Split": "Virado dividido", "Basic": "Básico", "Animation": "Animación", "Adjust": "Ajustar", "Focus preview": "Enfocar la vista previa", "Panels": "Paneles", "Studio": "Estudio", "saved": "guardado", "edited": "editado", "Start": "Inicio", "Previous frame": "Fotograma anterior", "Play or pause": "Reproducir o pausar", "Next frame": "Fotograma siguiente", "End": "Final", "Video preview": "Vista previa del vídeo", "Preview resolution": "Resolución de la vista previa", "Remove track": "Quitar pista", "Lock track": "Bloquear pista", "Hide track": "Ocultar pista", "Mute track": "Silenciar pista", "Magnetic track": "Pista magnética", "Double-click to rename track": "Doble clic para renombrar la pista", "Scrub playhead": "Arrastrar el cursor de reproducción", "Timeline height": "Altura de la línea de tiempo", "Resize selected clip nw": "Redimensionar el clip seleccionado (esquina superior izquierda)", "Resize selected clip n": "Redimensionar el clip seleccionado (borde superior)", "Resize selected clip ne": "Redimensionar el clip seleccionado (esquina superior derecha)", "Resize selected clip e": "Redimensionar el clip seleccionado (borde derecho)", "Resize selected clip se": "Redimensionar el clip seleccionado (esquina inferior derecha)", "Resize selected clip s": "Redimensionar el clip seleccionado (borde inferior)", "Resize selected clip sw": "Redimensionar el clip seleccionado (esquina inferior izquierda)", "Resize selected clip w": "Redimensionar el clip seleccionado (borde izquierdo)", "Rotate selected clip": "Girar el clip seleccionado", "Move selected clip": "Mover el clip seleccionado", "Media panel": "Panel de medios", "Inspector panel": "Panel del inspector", "Timeline panel": "Panel de la línea de tiempo", "Reset layout": "Restablecer diseño", "Short timeline": "Línea de tiempo baja", "Medium timeline": "Línea de tiempo media", "Tall timeline": "Línea de tiempo alta", "Undo": "Deshacer", "Redo": "Rehacer", "Copy clip": "Copiar clip", "Paste clip": "Pegar clip", "Duplicate clip": "Duplicar clip", "Split at playhead": "Dividir en el cursor", "Detach audio": "Separar audio", "Delete clip": "Eliminar clip", "Fullscreen": "Pantalla completa", "Add point at playhead": "Añadir punto en el cursor", "Preset": "Preajuste", "Select a clip to edit its tools": "Selecciona un clip para editar sus herramientas", "Creator tool": "Herramienta creativa", "Motion": "Movimiento", "Seconds": "Segundos", "Chroma key": "Croma", "Remove last stroke": "Quitar el último trazo", "Model": "Modelo", "Threshold": "Umbral", "Edge softness": "Suavidad del borde", "Brush": "Pincel", "Brush radius": "Radio del pincel", "Paint on the preview. Brush edits use source coordinates and are saved with the clip.": "Pinta sobre la vista previa. Las ediciones con pincel usan las coordenadas de origen y se guardan con el clip.", "Mute clip": "Silenciar clip", "Processor": "Procesador", "Effect": "Efecto", "Remove active timeline": "Quitar la línea de tiempo activa", "Studio tools": "Herramientas del estudio", "Timeline structure": "Estructura de la línea de tiempo", "Frame rate": "Velocidad de fotogramas", "Name": "Nombre", "Active timeline": "Línea de tiempo activa", "All settings and structure changes support Undo.": "Todos los ajustes y cambios de estructura se pueden deshacer.", "Save current project as template": "Guardar el proyecto actual como plantilla", "Reusable timeline templates": "Plantillas reutilizables de línea de tiempo", "Template name": "Nombre de la plantilla", "Import template": "Importar plantilla", "Generate and add to timeline": "Generar y añadir a la línea de tiempo", "Text to speak": "Texto para locutar", "Object cutout (U2Net small)": "Recorte de objetos (U2Net small)", "Person cutout (U2Net)": "Recorte de personas (U2Net)", "Kokoro local speech": "Voz local Kokoro", "Import Object cutout (U2Net small)": "Importar recorte de objetos (U2Net small)", "Import Person cutout (U2Net)": "Importar recorte de personas (U2Net)", "Import Kokoro local speech": "Importar voz local Kokoro", "Creator tools": "Herramientas creativas", "Speed curve": "Curva de velocidad", "Motion presets": "Preajustes de movimiento", "Visual effects": "Efectos visuales", "Audio processing": "Procesamiento de audio", "Cutout and brushes": "Recorte y pinceles", "LUT, shader and expressions": "LUT, shader y expresiones", "Apply curve": "Aplicar curva", "Constant speed": "Velocidad constante", "Apply keyframes": "Aplicar fotogramas clave", "Add effect": "Añadir efecto", "Remove": "Eliminar", "Up": "Subir", "Volume": "Volumen", "Pan": "Panorámica", "Add processor": "Añadir procesamiento", "Apply transition": "Aplicar transición", "Object cutout": "Recorte de objeto", "Person cutout": "Recorte de persona", "Enable cutout": "Activar recorte", "Remove cutout": "Quitar recorte", "Restore": "Restaurar", "Erase": "Borrar", "Off": "Desactivado", "Project": "Proyecto", "Timeline templates": "Plantillas de línea de tiempo", "Local speech": "Voz local", "Local models": "Modelos locales", "Project settings": "Ajustes del proyecto", "Apply settings": "Aplicar ajustes", "Add track": "Añadir pista", "Add timeline": "Añadir línea de tiempo", "Create project": "Crear proyecto", "Download": "Descargar", "Cancel job": "Cancelar tarea", "Ready offline": "Disponible sin conexión", "Not installed": "No instalado", "Preview": "Vista previa", "Full size": "Tamaño completo", "Fine edges (IS-Net)": "Bordes finos (IS-Net)", "Video matting (people)": "Recorte de vídeo (personas)", "Point to select (SAM 2)": "Señalar para seleccionar (SAM 2)", "A person": "Una persona", "Anything (object)": "Cualquier cosa (objeto)", "Subject (Auto)": "Sujeto (automático)", "Smart restore": "Restauración inteligente", "Smart erase": "Borrado inteligente", "Draw a box around it": "Dibujar un recuadro alrededor", "Drag a box around what to keep": "Arrastra un recuadro alrededor de lo que quieras conservar", "Kept what is in the box": "Conservado lo que está en el recuadro", "SAM 2.1 video tracking": "Seguimiento de vídeo SAM 2.1", "Import SAM 2.1 video tracking": "Importar seguimiento de vídeo SAM 2.1", "Oil Paint": "Pintura al óleo", "Hex Pixelate": "Pixelado hexagonal", "Neon Edges": "Bordes de neón", "Pop Art Grid": "Cuadrícula pop art", "Stained Glass": "Vitral", "Infrared": "Infrarrojo", "Clarity": "Claridad", "Dehaze": "Eliminar neblina", "Skin Smoothing": "Suavizado de piel", "Block Glitch": "Glitch de bloques", "Anaglyph 3D": "Anaglifo 3D", "LED Wall": "Pantalla LED", "Retro Dither": "Tramado retro", "Fog": "Niebla", "Sparkles": "Destellos", "VHS Tape": "Cinta VHS", "CRT Screen": "Pantalla CRT", "Lens Flare": "Destello de lente", "Push Down": "Empujar abajo", "Cover Left": "Cubrir a la izquierda", "Cover Up": "Cubrir hacia arriba", "Clock Wipe": "Barrido de reloj", "Blinds": "Persianas", "Diagonal Wipe": "Barrido diagonal", "Pixel Dissolve": "Disolución en píxeles", "Blur Fade": "Fundido con desenfoque", "Spin": "Giro", "Diamond": "Diamante", "Barn Door": "Puerta de granero", "Looks": "Estilos", "Packages": "Paquetes", "Engine": "Motor", "Install": "Instalar", "Clone a voice from": "Clonar una voz de", "None": "Ninguno", "I have the speaker's permission": "Tengo el permiso de la persona que habla", "Expression": "Expresión", "Kokoro, Apache-2.0: many voices and languages, fast.": "Kokoro, Apache-2.0: muchas voces e idiomas, rápido.", "Pocket TTS by Kyutai, CC-BY-4.0: small and quick on a CPU; built-in voices, or clone one with permission.": "Pocket TTS de Kyutai, CC-BY-4.0: pequeño y rápido en CPU; voces incluidas, o clona una con permiso.", "Chatterbox by Resemble AI, MIT: expressive, multilingual, clones a voice from seconds of audio. Its audio carries an inaudible watermark.": "Chatterbox de Resemble AI, MIT: expresivo, multilingüe, clona una voz con segundos de audio. Su audio lleva una marca de agua inaudible.", "Install this engine to use it; it downloads PyTorch and its model once.": "Instala este motor para usarlo; descarga PyTorch y su modelo una sola vez.", "Installing; this can take several minutes.": "Instalando; puede tardar varios minutos.", "Person": "Persona", "Object": "Objeto", "Soft edge": "Borde suave", "Hard edge": "Borde duro", "Tight": "Ajustado", "Loose": "Holgado", "Hair detail": "Detalle de cabello", "Fine detail": "Detalle fino", "Green screen": "Pantalla verde", "Blue screen": "Pantalla azul" }, + de: { "Runs the FormBridge pack's workflows on your own ComfyUI server. Install Comfy-FormBridge-Suite in ComfyUI's custom_nodes folder, then press Check.": "Führt die Workflows des FormBridge-Pakets auf Ihrem eigenen ComfyUI-Server aus. Installieren Sie Comfy-FormBridge-Suite im Ordner custom_nodes von ComfyUI und drücken Sie dann Prüfen.", "Workflow": "Workflow", "Run in ComfyUI": "In ComfyUI ausführen", "Reuse an identical earlier result": "Ein identisches früheres Ergebnis wiederverwenden", "formcut cannot fill these slots yet:": "formcut kann diese Felder noch nicht füllen:", "Not ready. Missing:": "Nicht bereit. Es fehlt:", "not ready": "nicht bereit", "Added to the media bin": "Zur Medienablage hinzugefügt", "Caption ready.": "Beschreibung fertig.", "Done.": "Fertig.", "Voice app on this computer": "Sprach-App auf diesem Computer","Address": "Adresse", "Key, if the app asks for one": "Schlüssel, falls die App einen verlangt", "Check": "Prüfen", "The app's default": "Standard der App", "A voice app on this computer that answers the OpenAI-compatible speech API, such as one with your cloned voice. Start it, press Check, then pick its model and voice.": "Eine Sprach-App auf diesem Computer, die die OpenAI-kompatible Sprach-API beantwortet, etwa eine mit Ihrer geklonten Stimme. Starten Sie sie, klicken Sie auf Prüfen und wählen Sie dann Modell und Stimme.", "Voice app found.": "Sprach-App gefunden.", "Move earlier": "Nach vorn verschieben","Turn off": "Ausschalten", "Turn on": "Einschalten", "System default": "Systemstandard", "Animated property": "Animierte Eigenschaft", "Apply expression": "Ausdruck anwenden", "Remove LUT": "LUT entfernen", "Remove shader": "Shader entfernen", "Transition": "Übergang", "WGSL shader": "WGSL-Shader", "Neutral": "Neutral", "Exposure": "Belichtung", "Contrast": "Kontrast", "Saturation": "Sättigung", "Monochrome": "Monochrom", "Warmth": "Wärme", "Cooling": "Kühlung", "Sepia": "Sepia", "Faded": "Verblasst", "Halide Mono": "Halogenid-Mono", "Burnished": "Brüniert", "Cyan Shadows": "Cyan-Schatten", "Amber Highlights": "Bernstein-Lichter", "Teal Amber": "Petrol und Bernstein", "Blush Lift": "Rosé-Anhebung", "Moss Tint": "Moostönung", "Nightfall": "Einbruch der Nacht", "First Light": "Morgendämmerung", "Skip Bleach": "Bleach Bypass", "Chalk Soft": "Kreideweich", "Hard Snap": "Harter Kontrast", "Low Key": "Low Key", "High Key": "High Key", "Matte": "Matt", "Jade Contrast": "Jade-Kontrast", "Lilac Haze": "Fliederdunst", "Dune Wash": "Dünenschleier", "Glacier Bright": "Gletscherhell", "Harvest": "Ernte", "Ink Shadow": "Tintenschatten", "Newsprint": "Zeitungspapier", "Split Purple": "Split Violett", "Split Green": "Split Grün", "Red Lift": "Rot-Anhebung", "Blue Lift": "Blau-Anhebung", "Green Lift": "Grün-Anhebung", "Highlight Rolloff": "Weiche Lichter", "Shadow Detail": "Schattendetails", "Vibrance": "Dynamik", "Soft Contrast": "Weicher Kontrast", "Crisp Mids": "Klare Mitten", "Lift Blacks": "Schwarz anheben", "Crush Blacks": "Schwarz absenken", "Half Stop Down": "Halbe Blende dunkler", "Desaturate": "Entsättigen", "Brighten Mids": "Mitten aufhellen", "Cross Process": "Crossentwicklung", "Push Process": "Push-Entwicklung", "Pull Process": "Pull-Entwicklung", "Expired Stock": "Abgelaufener Film", "Tintype": "Ferrotypie", "Cyanotype": "Cyanotypie", "Night Print": "Nachtabzug", "Tungsten": "Kunstlicht", "Candlelit": "Kerzenschein", "Honey Glow": "Honigschimmer", "Terracotta": "Terrakotta", "Peach Lift": "Pfirsich-Anhebung", "Late Sun": "Abendsonne", "Rust Shadows": "Rostschatten", "Overcast": "Bedeckt", "Steel Blue": "Stahlblau", "Moonlit": "Mondschein", "Mint Air": "Minzluft", "Deep Water": "Tiefes Wasser", "Frost Highlights": "Frostlichter", "Slate Shade": "Schieferschatten", "Red Cyan": "Rot-Cyan", "Pine Sky": "Kiefernhimmel", "Navy Blush": "Marine und Rosé", "Violet Gold": "Violett-Gold", "Teal Magenta": "Petrol-Magenta", "Cocoa Cream": "Kakao und Creme", "Muted Split": "Gedämpftes Split-Toning", "Gaussian Blur": "Gaußscher Weichzeichner", "Box Blur": "Rechteck-Weichzeichner", "Directional Blur": "Richtungsunschärfe", "Radial Blur": "Radiale Unschärfe", "Sharpen": "Schärfen", "Edge Detect": "Kantenerkennung", "Emboss": "Relief", "Invert": "Umkehren", "Posterize": "Tontrennung", "Solarize": "Solarisation", "Pixelate": "Verpixeln", "Vignette": "Vignette", "Film Grain": "Filmkorn", "Glow": "Leuchten", "Chromatic Aberration": "Chromatische Aberration", "Fisheye": "Fischauge", "Wave": "Welle", "Mirror": "Spiegeln", "Kaleidoscope": "Kaleidoskop", "Scanlines": "Zeilenraster", "Signal Interference": "Signalstörung", "Cartoon": "Cartoon", "Pencil Sketch": "Bleistiftskizze", "Rain": "Regen", "Dust": "Staub", "Camera Shake": "Kamerawackeln", "Tilt Shift": "Tilt-Shift", "Spin Blur": "Drehunschärfe", "Lens Blur": "Objektivunschärfe", "Median Soften": "Median-Glättung", "Soft Focus": "Weichzeichnung", "Diagonal Blur": "Diagonale Unschärfe", "Ghost Trail": "Geisterspur", "Halftone": "Rasterdruck", "Duotone": "Duplex", "Paint Wash": "Lavierung", "Thermal": "Wärmebild", "Night Vision": "Nachtsicht", "Ink Outline": "Tintenkontur", "Crosshatch": "Kreuzschraffur", "Swirl": "Strudel", "Ripple": "Kräuseln", "Pinch": "Zusammenziehen", "Slice Glitch": "Scheiben-Glitch", "Tile Repeat": "Kachelwiederholung", "Polar Wrap": "Polarkoordinaten", "Heat Haze": "Hitzeflimmern", "Film Scratches": "Filmkratzer", "Light Leak": "Lichtleck", "Aperture Grille": "Streifenmaske", "Paper Texture": "Papierstruktur", "Snowfall": "Schneefall", "Bokeh Spots": "Bokeh-Lichter", "Chroma Noise": "Farbrauschen", "Pitch Up": "Tonhöhe hoch", "Pitch Down": "Tonhöhe runter", "Denoise": "Entrauschen", "Voice Clean": "Stimme säubern", "Bass": "Bass", "Treble": "Höhen", "Telephone": "Telefon", "Room": "Zimmer", "Hall": "Halle", "Cathedral": "Kathedrale", "Plate": "Plattenhall", "Robot": "Roboter", "Tremolo": "Tremolo", "Vibrato": "Vibrato", "Distortion": "Verzerrung", "Compress": "Kompressor", "Normalize": "Normalisieren", "De-ess": "De-Esser", "Octave Up": "Oktave höher", "Octave Down": "Oktave tiefer", "Double Voice": "Stimmdopplung", "Jet Flange": "Jet-Flanger", "Swirl Phase": "Wirbel-Phaser", "Bullhorn": "Megafon", "Two Way Radio": "Funkgerät", "Warm Lows": "Warme Tiefen", "Presence Lift": "Präsenzanhebung", "Mid Scoop": "Mittensenke", "Bit Crush": "Bitcrusher", "Tape Warmth": "Bandwärme", "Crisp Detail": "Klare Details", "Lofi Band": "Lo-Fi-Band", "Slapback": "Slapback", "Wide Stage": "Breite Bühne", "Stereo Bloom": "Stereo-Weite", "Long Tail": "Langer Nachhall", "Tunnel": "Tunnel", "Small Booth": "Kleine Kabine", "Far Away": "Weit entfernt", "Noise Gate": "Noise Gate", "Hiss Cut": "Rauschfilter", "Hum Remover": "Brummentferner", "Rumble Cut": "Rumpelfilter", "Level Rider": "Pegelausgleich", "Peak Limiter": "Spitzenbegrenzer", "Deep Denoise": "Starkes Entrauschen", "Wipe Left": "Wischen nach links", "Wipe Right": "Wischen nach rechts", "Wipe Up": "Wischen nach oben", "Wipe Down": "Wischen nach unten", "Slide Left": "Schieben nach links", "Slide Right": "Schieben nach rechts", "Zoom": "Zoom", "Iris": "Iris", "Dissolve": "Auflösen", "Push Up": "Hochschieben", "Normal": "Normal", "Multiply": "Multiplizieren", "Screen": "Negativ multiplizieren", "Overlay": "Ineinanderkopieren", "Darken": "Abdunkeln", "Lighten": "Aufhellen", "Difference": "Differenz", "Add": "Addieren", "Subtract": "Subtrahieren", "Soft Light": "Weiches Licht", "media": "Medien", "effect previews": "Effektvorschauen", "filmstrips": "Filmstreifen", "waveforms": "Wellenformen", "thumbnails": "Miniaturansichten", "Uniform": "Gleichmäßig", "Accelerate": "Beschleunigen", "Decelerate": "Verlangsamen", "Valley": "Tal", "Peak": "Gipfel", "Pulse": "Puls", "Slide left": "Nach links gleiten", "Slide right": "Nach rechts gleiten", "Slide up": "Nach oben gleiten", "Slide down": "Nach unten gleiten", "Spin in": "Hineindrehen", "Float": "Schweben", "Shake": "Schütteln", "Video effects": "Videoeffekte", "Audio effects": "Audioeffekte", "Blur": "Weichzeichnen", "Stylize": "Stilisieren", "Distort": "Verzerren", "Texture": "Textur", "Cutout": "Freistellen", "Tone": "Klang", "Space": "Raum", "Clean": "Bereinigen", "Film": "Film", "Warm": "Warm", "Cool": "Kühl", "Split": "Split-Toning", "Basic": "Grundlagen", "Animation": "Animation", "Adjust": "Anpassen", "Focus preview": "Vorschau fokussieren", "Panels": "Bereiche", "Studio": "Studio", "saved": "gespeichert", "edited": "bearbeitet", "Start": "Anfang", "Previous frame": "Vorheriges Bild", "Play or pause": "Wiedergabe oder Pause", "Next frame": "Nächstes Bild", "End": "Ende", "Video preview": "Videovorschau", "Preview resolution": "Vorschauauflösung", "Remove track": "Spur entfernen", "Lock track": "Spur sperren", "Hide track": "Spur ausblenden", "Mute track": "Spur stummschalten", "Magnetic track": "Magnetische Spur", "Double-click to rename track": "Doppelklicken, um die Spur umzubenennen", "Scrub playhead": "Abspielkopf ziehen", "Timeline height": "Höhe der Zeitleiste", "Resize selected clip nw": "Ausgewählten Clip skalieren (oben links)", "Resize selected clip n": "Ausgewählten Clip skalieren (oben)", "Resize selected clip ne": "Ausgewählten Clip skalieren (oben rechts)", "Resize selected clip e": "Ausgewählten Clip skalieren (rechts)", "Resize selected clip se": "Ausgewählten Clip skalieren (unten rechts)", "Resize selected clip s": "Ausgewählten Clip skalieren (unten)", "Resize selected clip sw": "Ausgewählten Clip skalieren (unten links)", "Resize selected clip w": "Ausgewählten Clip skalieren (links)", "Rotate selected clip": "Ausgewählten Clip drehen", "Move selected clip": "Ausgewählten Clip verschieben", "Media panel": "Medienbereich", "Inspector panel": "Inspektorbereich", "Timeline panel": "Zeitleistenbereich", "Reset layout": "Layout zurücksetzen", "Short timeline": "Niedrige Zeitleiste", "Medium timeline": "Mittlere Zeitleiste", "Tall timeline": "Hohe Zeitleiste", "Undo": "Rückgängig", "Redo": "Wiederholen", "Copy clip": "Clip kopieren", "Paste clip": "Clip einfügen", "Duplicate clip": "Clip duplizieren", "Split at playhead": "Am Abspielkopf teilen", "Detach audio": "Audio ablösen", "Delete clip": "Clip löschen", "Fullscreen": "Vollbild", "Add point at playhead": "Punkt am Abspielkopf hinzufügen", "Preset": "Vorgabe", "Select a clip to edit its tools": "Wähle einen Clip, um seine Werkzeuge zu bearbeiten", "Creator tool": "Kreativwerkzeug", "Motion": "Bewegung", "Seconds": "Sekunden", "Chroma key": "Chroma-Key", "Remove last stroke": "Letzten Strich entfernen", "Model": "Modell", "Threshold": "Schwellenwert", "Edge softness": "Kantenweichheit", "Brush": "Pinsel", "Brush radius": "Pinselradius", "Paint on the preview. Brush edits use source coordinates and are saved with the clip.": "Male auf der Vorschau. Pinselbearbeitungen nutzen Quellkoordinaten und werden mit dem Clip gespeichert.", "Mute clip": "Clip stummschalten", "Processor": "Prozessor", "Effect": "Effekt", "Remove active timeline": "Aktive Zeitleiste entfernen", "Studio tools": "Studiowerkzeuge", "Timeline structure": "Aufbau der Zeitleiste", "Frame rate": "Bildrate", "Name": "Name", "Active timeline": "Aktive Zeitleiste", "All settings and structure changes support Undo.": "Alle Einstellungen und Strukturänderungen lassen sich rückgängig machen.", "Save current project as template": "Aktuelles Projekt als Vorlage speichern", "Reusable timeline templates": "Wiederverwendbare Zeitleistenvorlagen", "Template name": "Vorlagenname", "Import template": "Vorlage importieren", "Generate and add to timeline": "Erzeugen und zur Zeitleiste hinzufügen", "Text to speak": "Zu sprechender Text", "Object cutout (U2Net small)": "Objekt freistellen (U2Net small)", "Person cutout (U2Net)": "Person freistellen (U2Net)", "Kokoro local speech": "Lokale Sprachausgabe Kokoro", "Import Object cutout (U2Net small)": "Objekt freistellen (U2Net small) importieren", "Import Person cutout (U2Net)": "Person freistellen (U2Net) importieren", "Import Kokoro local speech": "Lokale Sprachausgabe Kokoro importieren", "Creator tools": "Kreativwerkzeuge", "Speed curve": "Geschwindigkeitskurve", "Motion presets": "Bewegungsvorlagen", "Visual effects": "Visuelle Effekte", "Audio processing": "Audioverarbeitung", "Cutout and brushes": "Freistellen und Pinsel", "LUT, shader and expressions": "LUT, Shader und Ausdrücke", "Apply curve": "Kurve anwenden", "Constant speed": "Konstante Geschwindigkeit", "Apply keyframes": "Keyframes anwenden", "Add effect": "Effekt hinzufügen", "Remove": "Entfernen", "Up": "Nach oben", "Volume": "Lautstärke", "Pan": "Panorama", "Add processor": "Verarbeitung hinzufügen", "Apply transition": "Übergang anwenden", "Object cutout": "Objekt freistellen", "Person cutout": "Person freistellen", "Enable cutout": "Freistellen aktivieren", "Remove cutout": "Freistellung entfernen", "Restore": "Wiederherstellen", "Erase": "Radieren", "Off": "Aus", "Project": "Projekt", "Timeline templates": "Zeitleistenvorlagen", "Local speech": "Lokale Sprachausgabe", "Local models": "Lokale Modelle", "Project settings": "Projekteinstellungen", "Apply settings": "Einstellungen anwenden", "Add track": "Spur hinzufügen", "Add timeline": "Zeitleiste hinzufügen", "Create project": "Projekt erstellen", "Download": "Herunterladen", "Cancel job": "Auftrag abbrechen", "Ready offline": "Offline bereit", "Not installed": "Nicht installiert", "Preview": "Vorschau", "Full size": "Volle Größe", "Fine edges (IS-Net)": "Feine Kanten (IS-Net)", "Video matting (people)": "Video-Freistellung (Personen)", "Point to select (SAM 2)": "Zum Auswählen zeigen (SAM 2)", "A person": "Eine Person", "Anything (object)": "Beliebiges (Objekt)", "Subject (Auto)": "Motiv (automatisch)", "Smart restore": "Intelligent wiederherstellen", "Smart erase": "Intelligent radieren", "Draw a box around it": "Rahmen darum ziehen", "Drag a box around what to keep": "Ziehe einen Rahmen um das, was bleiben soll", "Kept what is in the box": "Behalten, was im Rahmen ist", "SAM 2.1 video tracking": "SAM 2.1 Videoverfolgung", "Import SAM 2.1 video tracking": "SAM 2.1 Videoverfolgung importieren", "Oil Paint": "Ölgemälde", "Hex Pixelate": "Sechseck-Pixel", "Neon Edges": "Neonkanten", "Pop Art Grid": "Pop-Art-Raster", "Stained Glass": "Buntglas", "Infrared": "Infrarot", "Clarity": "Klarheit", "Dehaze": "Dunst entfernen", "Skin Smoothing": "Hautglättung", "Block Glitch": "Block-Glitch", "Anaglyph 3D": "Anaglyphen-3D", "LED Wall": "LED-Wand", "Retro Dither": "Retro-Dithering", "Fog": "Nebel", "Sparkles": "Funkeln", "VHS Tape": "VHS-Band", "CRT Screen": "Röhrenbildschirm", "Lens Flare": "Blendenfleck", "Push Down": "Nach unten schieben", "Cover Left": "Nach links überdecken", "Cover Up": "Nach oben überdecken", "Clock Wipe": "Uhrzeigerblende", "Blinds": "Jalousie", "Diagonal Wipe": "Diagonale Blende", "Pixel Dissolve": "Pixelauflösung", "Blur Fade": "Unschärfeblende", "Spin": "Drehen", "Diamond": "Raute", "Barn Door": "Scheunentor", "Looks": "Looks", "Packages": "Pakete", "Engine": "Engine", "Install": "Installieren", "Clone a voice from": "Stimme klonen aus", "None": "Keine", "I have the speaker's permission": "Ich habe die Erlaubnis der sprechenden Person", "Expression": "Ausdruck", "Kokoro, Apache-2.0: many voices and languages, fast.": "Kokoro, Apache-2.0: viele Stimmen und Sprachen, schnell.", "Pocket TTS by Kyutai, CC-BY-4.0: small and quick on a CPU; built-in voices, or clone one with permission.": "Pocket TTS von Kyutai, CC-BY-4.0: klein und schnell auf der CPU; eingebaute Stimmen oder mit Erlaubnis eine klonen.", "Chatterbox by Resemble AI, MIT: expressive, multilingual, clones a voice from seconds of audio. Its audio carries an inaudible watermark.": "Chatterbox von Resemble AI, MIT: ausdrucksstark, mehrsprachig, klont eine Stimme aus Sekunden Audio. Seine Ausgabe trägt ein unhörbares Wasserzeichen.", "Install this engine to use it; it downloads PyTorch and its model once.": "Installiere diese Engine, um sie zu nutzen; sie lädt PyTorch und ihr Modell einmal herunter.", "Installing; this can take several minutes.": "Wird installiert; das kann einige Minuten dauern.", "Person": "Person", "Object": "Objekt", "Soft edge": "Weiche Kante", "Hard edge": "Harte Kante", "Tight": "Eng", "Loose": "Weit", "Hair detail": "Haardetails", "Fine detail": "Feine Details", "Green screen": "Greenscreen", "Blue screen": "Bluescreen" }, + es: { "Runs the FormBridge pack's workflows on your own ComfyUI server. Install Comfy-FormBridge-Suite in ComfyUI's custom_nodes folder, then press Check.": "Ejecuta los flujos de trabajo del paquete FormBridge en tu propio servidor ComfyUI. Instala Comfy-FormBridge-Suite en la carpeta custom_nodes de ComfyUI y pulsa Comprobar.", "Workflow": "Flujo de trabajo", "Run in ComfyUI": "Ejecutar en ComfyUI", "Reuse an identical earlier result": "Reutilizar un resultado anterior idéntico", "formcut cannot fill these slots yet:": "formcut aún no puede rellenar estos campos:", "Not ready. Missing:": "No está listo. Falta:", "not ready": "no está listo", "Added to the media bin": "Añadido al contenedor de medios", "Caption ready.": "Descripción lista.", "Done.": "Listo.", "Voice app on this computer": "Aplicación de voz en este equipo","Address": "Dirección", "Key, if the app asks for one": "Clave, si la aplicación pide una", "Check": "Comprobar", "The app's default": "Predeterminado de la aplicación", "A voice app on this computer that answers the OpenAI-compatible speech API, such as one with your cloned voice. Start it, press Check, then pick its model and voice.": "Una aplicación de voz en este equipo que responde a la API de voz compatible con OpenAI, como una con tu voz clonada. Iníciala, pulsa Comprobar y elige su modelo y su voz.", "Voice app found.": "Aplicación de voz encontrada.", "Move earlier": "Mover antes","Turn off": "Desactivar", "Turn on": "Activar", "System default": "Predeterminado del sistema", "Animated property": "Propiedad animada", "Apply expression": "Aplicar expresión", "Remove LUT": "Quitar LUT", "Remove shader": "Quitar shader", "Transition": "Transición", "WGSL shader": "Shader WGSL", "Neutral": "Neutro", "Exposure": "Exposición", "Contrast": "Contraste", "Saturation": "Saturación", "Monochrome": "Monocromo", "Warmth": "Calidez", "Cooling": "Enfriamiento", "Sepia": "Sepia", "Faded": "Desvaído", "Halide Mono": "Mono haluro", "Burnished": "Bruñido", "Cyan Shadows": "Sombras cian", "Amber Highlights": "Luces ámbar", "Teal Amber": "Verde azulado y ámbar", "Blush Lift": "Realce rosado", "Moss Tint": "Tinte musgo", "Nightfall": "Anochecer", "First Light": "Primera luz", "Skip Bleach": "Sin blanqueo", "Chalk Soft": "Tiza suave", "Hard Snap": "Contraste duro", "Low Key": "Clave baja", "High Key": "Clave alta", "Matte": "Mate", "Jade Contrast": "Contraste jade", "Lilac Haze": "Bruma lila", "Dune Wash": "Velo de duna", "Glacier Bright": "Glaciar brillante", "Harvest": "Cosecha", "Ink Shadow": "Sombra de tinta", "Newsprint": "Papel de periódico", "Split Purple": "Virado morado", "Split Green": "Virado verde", "Red Lift": "Realce rojo", "Blue Lift": "Realce azul", "Green Lift": "Realce verde", "Highlight Rolloff": "Luces suavizadas", "Shadow Detail": "Detalle en sombras", "Vibrance": "Intensidad", "Soft Contrast": "Contraste suave", "Crisp Mids": "Medios nítidos", "Lift Blacks": "Levantar negros", "Crush Blacks": "Aplastar negros", "Half Stop Down": "Medio paso menos", "Desaturate": "Desaturar", "Brighten Mids": "Aclarar medios", "Cross Process": "Proceso cruzado", "Push Process": "Forzado", "Pull Process": "Subrevelado", "Expired Stock": "Película caducada", "Tintype": "Ferrotipo", "Cyanotype": "Cianotipia", "Night Print": "Copia nocturna", "Tungsten": "Tungsteno", "Candlelit": "A la luz de las velas", "Honey Glow": "Brillo de miel", "Terracotta": "Terracota", "Peach Lift": "Realce melocotón", "Late Sun": "Sol de tarde", "Rust Shadows": "Sombras óxido", "Overcast": "Nublado", "Steel Blue": "Azul acero", "Moonlit": "Luz de luna", "Mint Air": "Aire de menta", "Deep Water": "Aguas profundas", "Frost Highlights": "Luces heladas", "Slate Shade": "Sombra pizarra", "Red Cyan": "Rojo cian", "Pine Sky": "Pino y cielo", "Navy Blush": "Marino y rosa", "Violet Gold": "Violeta y oro", "Teal Magenta": "Verde azulado y magenta", "Cocoa Cream": "Cacao y crema", "Muted Split": "Virado suave", "Gaussian Blur": "Desenfoque gaussiano", "Box Blur": "Desenfoque de cuadro", "Directional Blur": "Desenfoque direccional", "Radial Blur": "Desenfoque radial", "Sharpen": "Enfocar", "Edge Detect": "Detección de bordes", "Emboss": "Relieve", "Invert": "Invertir", "Posterize": "Posterizar", "Solarize": "Solarizar", "Pixelate": "Pixelar", "Vignette": "Viñeta", "Film Grain": "Grano de película", "Glow": "Resplandor", "Chromatic Aberration": "Aberración cromática", "Fisheye": "Ojo de pez", "Wave": "Onda", "Mirror": "Espejo", "Kaleidoscope": "Caleidoscopio", "Scanlines": "Líneas de escaneo", "Signal Interference": "Interferencia de señal", "Cartoon": "Dibujo animado", "Pencil Sketch": "Boceto a lápiz", "Rain": "Lluvia", "Dust": "Polvo", "Camera Shake": "Temblor de cámara", "Tilt Shift": "Tilt-shift", "Spin Blur": "Desenfoque giratorio", "Lens Blur": "Desenfoque de lente", "Median Soften": "Suavizado mediano", "Soft Focus": "Foco suave", "Diagonal Blur": "Desenfoque diagonal", "Ghost Trail": "Estela fantasma", "Halftone": "Semitono", "Duotone": "Duotono", "Paint Wash": "Aguada", "Thermal": "Térmico", "Night Vision": "Visión nocturna", "Ink Outline": "Contorno de tinta", "Crosshatch": "Sombreado cruzado", "Swirl": "Remolino", "Ripple": "Ondulación", "Pinch": "Pellizco", "Slice Glitch": "Glitch en franjas", "Tile Repeat": "Repetición en mosaico", "Polar Wrap": "Envoltura polar", "Heat Haze": "Calima", "Film Scratches": "Arañazos de película", "Light Leak": "Fuga de luz", "Aperture Grille": "Rejilla de apertura", "Paper Texture": "Textura de papel", "Snowfall": "Nevada", "Bokeh Spots": "Puntos de bokeh", "Chroma Noise": "Ruido cromático", "Pitch Up": "Tono más agudo", "Pitch Down": "Tono más grave", "Denoise": "Reducir ruido", "Voice Clean": "Voz limpia", "Bass": "Graves", "Treble": "Agudos", "Telephone": "Teléfono", "Room": "Sala", "Hall": "Salón", "Cathedral": "Catedral", "Plate": "Placa", "Robot": "Robot", "Tremolo": "Trémolo", "Vibrato": "Vibrato", "Distortion": "Distorsión", "Compress": "Compresor", "Normalize": "Normalizar", "De-ess": "De-esser", "Octave Up": "Octava arriba", "Octave Down": "Octava abajo", "Double Voice": "Voz doblada", "Jet Flange": "Flanger de reactor", "Swirl Phase": "Phaser de remolino", "Bullhorn": "Megáfono", "Two Way Radio": "Walkie-talkie", "Warm Lows": "Graves cálidos", "Presence Lift": "Realce de presencia", "Mid Scoop": "Hueco en medios", "Bit Crush": "Bitcrusher", "Tape Warmth": "Calidez de cinta", "Crisp Detail": "Detalle nítido", "Lofi Band": "Banda lo-fi", "Slapback": "Slapback", "Wide Stage": "Escenario amplio", "Stereo Bloom": "Apertura estéreo", "Long Tail": "Cola larga", "Tunnel": "Túnel", "Small Booth": "Cabina pequeña", "Far Away": "A lo lejos", "Noise Gate": "Puerta de ruido", "Hiss Cut": "Quitar siseo", "Hum Remover": "Quitar zumbido", "Rumble Cut": "Quitar retumbe", "Level Rider": "Nivelador", "Peak Limiter": "Limitador de picos", "Deep Denoise": "Reducción de ruido profunda", "Wipe Left": "Barrido a la izquierda", "Wipe Right": "Barrido a la derecha", "Wipe Up": "Barrido hacia arriba", "Wipe Down": "Barrido hacia abajo", "Slide Left": "Deslizar a la izquierda", "Slide Right": "Deslizar a la derecha", "Zoom": "Zoom", "Iris": "Iris", "Dissolve": "Disolver", "Push Up": "Empujar hacia arriba", "Normal": "Normal", "Multiply": "Multiplicar", "Screen": "Trama", "Overlay": "Superponer", "Darken": "Oscurecer", "Lighten": "Aclarar", "Difference": "Diferencia", "Add": "Sumar", "Subtract": "Restar", "Soft Light": "Luz suave", "media": "medios", "effect previews": "vistas previas de efectos", "filmstrips": "tiras de película", "waveforms": "formas de onda", "thumbnails": "miniaturas", "Uniform": "Uniforme", "Accelerate": "Acelerar", "Decelerate": "Desacelerar", "Valley": "Valle", "Peak": "Pico", "Pulse": "Pulso", "Slide left": "Deslizar a la izquierda", "Slide right": "Deslizar a la derecha", "Slide up": "Deslizar hacia arriba", "Slide down": "Deslizar hacia abajo", "Spin in": "Entrada giratoria", "Float": "Flotar", "Shake": "Sacudir", "Video effects": "Efectos de vídeo", "Audio effects": "Efectos de audio", "Blur": "Desenfoque", "Stylize": "Estilizar", "Distort": "Distorsión", "Texture": "Textura", "Cutout": "Recorte", "Tone": "Tono", "Space": "Espacio", "Clean": "Limpieza", "Film": "Película", "Warm": "Cálido", "Cool": "Frío", "Split": "Virado dividido", "Basic": "Básico", "Animation": "Animación", "Adjust": "Ajustar", "Focus preview": "Enfocar la vista previa", "Panels": "Paneles", "Studio": "Estudio", "saved": "guardado", "edited": "editado", "Start": "Inicio", "Previous frame": "Fotograma anterior", "Play or pause": "Reproducir o pausar", "Next frame": "Fotograma siguiente", "End": "Final", "Video preview": "Vista previa del vídeo", "Preview resolution": "Resolución de la vista previa", "Remove track": "Quitar pista", "Lock track": "Bloquear pista", "Hide track": "Ocultar pista", "Mute track": "Silenciar pista", "Magnetic track": "Pista magnética", "Double-click to rename track": "Doble clic para renombrar la pista", "Scrub playhead": "Arrastrar el cursor de reproducción", "Timeline height": "Altura de la línea de tiempo", "Resize selected clip nw": "Redimensionar el clip seleccionado (esquina superior izquierda)", "Resize selected clip n": "Redimensionar el clip seleccionado (borde superior)", "Resize selected clip ne": "Redimensionar el clip seleccionado (esquina superior derecha)", "Resize selected clip e": "Redimensionar el clip seleccionado (borde derecho)", "Resize selected clip se": "Redimensionar el clip seleccionado (esquina inferior derecha)", "Resize selected clip s": "Redimensionar el clip seleccionado (borde inferior)", "Resize selected clip sw": "Redimensionar el clip seleccionado (esquina inferior izquierda)", "Resize selected clip w": "Redimensionar el clip seleccionado (borde izquierdo)", "Rotate selected clip": "Girar el clip seleccionado", "Move selected clip": "Mover el clip seleccionado", "Media panel": "Panel de medios", "Inspector panel": "Panel del inspector", "Timeline panel": "Panel de la línea de tiempo", "Reset layout": "Restablecer diseño", "Short timeline": "Línea de tiempo baja", "Medium timeline": "Línea de tiempo media", "Tall timeline": "Línea de tiempo alta", "Undo": "Deshacer", "Redo": "Rehacer", "Copy clip": "Copiar clip", "Paste clip": "Pegar clip", "Duplicate clip": "Duplicar clip", "Split at playhead": "Dividir en el cursor", "Detach audio": "Separar audio", "Delete clip": "Eliminar clip", "Fullscreen": "Pantalla completa", "Add point at playhead": "Añadir punto en el cursor", "Preset": "Preajuste", "Select a clip to edit its tools": "Selecciona un clip para editar sus herramientas", "Creator tool": "Herramienta creativa", "Motion": "Movimiento", "Seconds": "Segundos", "Chroma key": "Croma", "Remove last stroke": "Quitar el último trazo", "Model": "Modelo", "Threshold": "Umbral", "Edge softness": "Suavidad del borde", "Brush": "Pincel", "Brush radius": "Radio del pincel", "Paint on the preview. Brush edits use source coordinates and are saved with the clip.": "Pinta sobre la vista previa. Las ediciones con pincel usan las coordenadas de origen y se guardan con el clip.", "Mute clip": "Silenciar clip", "Processor": "Procesador", "Effect": "Efecto", "Remove active timeline": "Quitar la línea de tiempo activa", "Studio tools": "Herramientas del estudio", "Timeline structure": "Estructura de la línea de tiempo", "Frame rate": "Velocidad de fotogramas", "Name": "Nombre", "Active timeline": "Línea de tiempo activa", "All settings and structure changes support Undo.": "Todos los ajustes y cambios de estructura se pueden deshacer.", "Save current project as template": "Guardar el proyecto actual como plantilla", "Reusable timeline templates": "Plantillas reutilizables de línea de tiempo", "Template name": "Nombre de la plantilla", "Import template": "Importar plantilla", "Generate and add to timeline": "Generar y añadir a la línea de tiempo", "Text to speak": "Texto para locutar", "Object cutout (U2Net small)": "Recorte de objetos (U2Net small)", "Person cutout (U2Net)": "Recorte de personas (U2Net)", "Kokoro local speech": "Voz local Kokoro", "Import Object cutout (U2Net small)": "Importar recorte de objetos (U2Net small)", "Import Person cutout (U2Net)": "Importar recorte de personas (U2Net)", "Import Kokoro local speech": "Importar voz local Kokoro", "Creator tools": "Herramientas creativas", "Speed curve": "Curva de velocidad", "Motion presets": "Preajustes de movimiento", "Visual effects": "Efectos visuales", "Audio processing": "Procesamiento de audio", "Cutout and brushes": "Recorte y pinceles", "LUT, shader and expressions": "LUT, shader y expresiones", "Apply curve": "Aplicar curva", "Constant speed": "Velocidad constante", "Apply keyframes": "Aplicar fotogramas clave", "Add effect": "Añadir efecto", "Remove": "Eliminar", "Up": "Subir", "Volume": "Volumen", "Pan": "Panorámica", "Add processor": "Añadir procesamiento", "Apply transition": "Aplicar transición", "Object cutout": "Recorte de objeto", "Person cutout": "Recorte de persona", "Enable cutout": "Activar recorte", "Remove cutout": "Quitar recorte", "Restore": "Restaurar", "Erase": "Borrar", "Off": "Desactivado", "Project": "Proyecto", "Timeline templates": "Plantillas de línea de tiempo", "Local speech": "Voz local", "Local models": "Modelos locales", "Project settings": "Ajustes del proyecto", "Apply settings": "Aplicar ajustes", "Add track": "Añadir pista", "Add timeline": "Añadir línea de tiempo", "Create project": "Crear proyecto", "Download": "Descargar", "Cancel job": "Cancelar tarea", "Ready offline": "Disponible sin conexión", "Not installed": "No instalado", "Preview": "Vista previa", "Full size": "Tamaño completo", "Fine edges (IS-Net)": "Bordes finos (IS-Net)", "Video matting (people)": "Recorte de vídeo (personas)", "Point to select (SAM 2)": "Señalar para seleccionar (SAM 2)", "A person": "Una persona", "Anything (object)": "Cualquier cosa (objeto)", "Subject (Auto)": "Sujeto (automático)", "Smart restore": "Restauración inteligente", "Smart erase": "Borrado inteligente", "Draw a box around it": "Dibujar un recuadro alrededor", "Drag a box around what to keep": "Arrastra un recuadro alrededor de lo que quieras conservar", "Kept what is in the box": "Conservado lo que está en el recuadro", "SAM 2.1 video tracking": "Seguimiento de vídeo SAM 2.1", "Import SAM 2.1 video tracking": "Importar seguimiento de vídeo SAM 2.1", "Oil Paint": "Pintura al óleo", "Hex Pixelate": "Pixelado hexagonal", "Neon Edges": "Bordes de neón", "Pop Art Grid": "Cuadrícula pop art", "Stained Glass": "Vitral", "Infrared": "Infrarrojo", "Clarity": "Claridad", "Dehaze": "Eliminar neblina", "Skin Smoothing": "Suavizado de piel", "Block Glitch": "Glitch de bloques", "Anaglyph 3D": "Anaglifo 3D", "LED Wall": "Pantalla LED", "Retro Dither": "Tramado retro", "Fog": "Niebla", "Sparkles": "Destellos", "VHS Tape": "Cinta VHS", "CRT Screen": "Pantalla CRT", "Lens Flare": "Destello de lente", "Push Down": "Empujar abajo", "Cover Left": "Cubrir a la izquierda", "Cover Up": "Cubrir hacia arriba", "Clock Wipe": "Barrido de reloj", "Blinds": "Persianas", "Diagonal Wipe": "Barrido diagonal", "Pixel Dissolve": "Disolución en píxeles", "Blur Fade": "Fundido con desenfoque", "Spin": "Giro", "Diamond": "Diamante", "Barn Door": "Puerta de granero", "Looks": "Estilos", "Packages": "Paquetes", "Engine": "Motor", "Install": "Instalar", "Clone a voice from": "Clonar una voz de", "None": "Ninguno", "I have the speaker's permission": "Tengo el permiso de la persona que habla", "Expression": "Expresión", "Kokoro, Apache-2.0: many voices and languages, fast.": "Kokoro, Apache-2.0: muchas voces e idiomas, rápido.", "Pocket TTS by Kyutai, CC-BY-4.0: small and quick on a CPU; built-in voices, or clone one with permission.": "Pocket TTS de Kyutai, CC-BY-4.0: pequeño y rápido en CPU; voces incluidas, o clona una con permiso.", "Chatterbox by Resemble AI, MIT: expressive, multilingual, clones a voice from seconds of audio. Its audio carries an inaudible watermark.": "Chatterbox de Resemble AI, MIT: expresivo, multilingüe, clona una voz con segundos de audio. Su audio lleva una marca de agua inaudible.", "Install this engine to use it; it downloads PyTorch and its model once.": "Instala este motor para usarlo; descarga PyTorch y su modelo una sola vez.", "Installing; this can take several minutes.": "Instalando; puede tardar varios minutos.", "Person": "Persona", "Object": "Objeto", "Soft edge": "Borde suave", "Hard edge": "Borde duro", "Tight": "Ajustado", "Loose": "Holgado", "Hair detail": "Detalle de cabello", "Fine detail": "Detalle fino", "Green screen": "Pantalla verde", "Blue screen": "Pantalla azul" }, }; const keys = new Map(Object.entries(en).map(([key, value]) => [value, key])); export function text(value: string): string { diff --git a/frontend/src/ui/comfyui-page.ts b/frontend/src/ui/comfyui-page.ts new file mode 100644 index 00000000..5957950d --- /dev/null +++ b/frontend/src/ui/comfyui-page.ts @@ -0,0 +1,173 @@ +import { text } from "../i18n/text"; +import type { MediaBin, MediaItem } from "../engine/media"; +import { api } from "../engine/api"; + +type Slot = { name: string; type: string; required?: boolean; default?: unknown; min?: number; max?: number; step?: number; choices?: string[]; description?: string }; +type Workflow = { id: string; title?: string; media?: string; description?: string; slots: Slot[]; ready: boolean; missing: string[] }; +type Handshake = { ok: boolean; message?: string; pack?: { version?: string }; comfyui?: { version?: string }; device?: { name?: string } }; +type Ran = { media?: Array<{ name: string }>; caption?: string; cached?: boolean }; +type Deps = { + bin: MediaBin; + job: (path: string, data?: unknown) => Promise; + say: (value: string) => void; + run: (work: () => unknown) => Promise; + reconcileOptions: (select: HTMLSelectElement, entries: Array<{ id: string; name: string }>) => void; +}; + +const MEDIA = new Set(["image", "mask", "frames", "movie", "video", "media"]); +const UNSENT = new Set(["points", "keyframes", "size"]); + +function accepts(type: string, item: MediaItem): boolean { + if (type === "image" || type === "mask") return item.kind === "image"; + if (type === "media") return item.kind === "image" || item.kind === "video"; + return item.kind === "video" && type !== "frames"; +} + +export function mountComfyPage(section: HTMLElement, deps: Deps): { show: () => Promise } { + const { bin, job, say, run, reconcileOptions } = deps; + section.innerHTML = ` +

${text("ComfyUI")}${text("Runs the FormBridge pack's workflows on your own ComfyUI server. Install Comfy-FormBridge-Suite in ComfyUI's custom_nodes folder, then press Check.")}
+ +
+

+
+
${text("Workflow")}
+ +

+
+
+ +
`; + const q = (name: string) => section.querySelector(`[data-cf-${name}]`)!; + const setText = (node: HTMLElement, value: string) => { if (node.textContent !== value) node.textContent = value; }; + const flows = new Map(); + const rows = new Map(); + let checked = false; + + const mediaChoices = (slot: Slot) => [ + ...(slot.required ? [] : [{ id: "", name: text("None") }]), + ...bin.all.filter((item) => accepts(slot.type, item)).map((item) => ({ id: item.id, name: item.name })), + ]; + const paintMedia = () => { + for (const { field, slot } of rows.values()) if (MEDIA.has(slot.type)) reconcileOptions(field as HTMLSelectElement, mediaChoices(slot)); + }; + + const fieldFor = (slot: Slot): HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement => { + if (MEDIA.has(slot.type)) { + const select = document.createElement("select"); + reconcileOptions(select, mediaChoices(slot)); + return select; + } + if (slot.type === "choice") { + const select = document.createElement("select"); + reconcileOptions(select, (slot.choices ?? []).map((choice) => ({ id: choice, name: choice }))); + if (slot.default !== undefined) select.value = String(slot.default); + return select; + } + if (slot.type === "text") { + const area = document.createElement("textarea"); + area.rows = 3; + area.value = typeof slot.default === "string" ? slot.default : ""; + return area; + } + const input = document.createElement("input"); + if (slot.type === "bool") { + input.type = "checkbox"; + input.checked = slot.default === true; + return input; + } + input.type = "number"; + if (slot.min !== undefined) input.min = String(slot.min); + if (slot.max !== undefined) input.max = String(slot.max); + input.step = slot.type === "float" ? String(slot.step ?? "any") : String(slot.step ?? 1); + input.value = slot.type === "seed" ? String(slot.default ?? -1) : slot.default === undefined || slot.default === null ? "" : String(slot.default); + return input; + }; + + const ensureRows = (flow: Workflow) => { + for (const slot of flow.slots) { + const key = `${flow.id}\u0000${slot.name}`; + if (rows.has(key) || UNSENT.has(slot.type)) continue; + const row = document.createElement("label"); + row.dataset.cfFlow = flow.id; + row.hidden = true; + row.title = slot.description ?? ""; + const field = fieldFor(slot); + row.append(document.createTextNode(`${slot.name} `), field); + q("slots").append(row); + rows.set(key, { row, field, slot }); + } + }; + + const unsendable = (flow: Workflow) => flow.slots.filter((slot) => slot.required && UNSENT.has(slot.type)).map((slot) => slot.name); + + const showFlow = () => { + const flow = flows.get(q("workflow").value); + if (!flow) { + for (const { row } of rows.values()) row.hidden = true; setText(q("about"), ""); setText(q("missing"), ""); q("go").disabled = true; return; } + ensureRows(flow); + for (const { row } of rows.values()) row.hidden = row.dataset.cfFlow !== flow.id; + setText(q("about"), flow.description ?? ""); + const blocked = unsendable(flow); + const missing = blocked.length + ? `${text("formcut cannot fill these slots yet:")} ${blocked.join(", ")}` + : flow.ready ? "" : `${text("Not ready. Missing:")} ${flow.missing.join("; ")}`; + setText(q("missing"), missing); + q("go").disabled = !flow.ready || blocked.length > 0; + }; + + const loadFlows = async () => { + const listed = (await api<{ workflows: Workflow[] }>("/api/formbridge/workflows")).workflows; + flows.clear(); + for (const flow of listed) flows.set(flow.id, flow); + reconcileOptions(q("workflow"), listed.map((flow) => ({ id: flow.id, name: `${flow.title ?? flow.id}${flow.ready ? "" : ` (${text("not ready")})`}` }))); + showFlow(); + }; + + const check = async () => { + const saved = await api<{ base: string }>("/api/formbridge", { base: q("base").value.trim() }, "PUT"); + if (document.activeElement !== q("base")) q("base").value = saved.base; + const found = await api("/api/formbridge/handshake"); + if (!found.ok) { setText(q("state"), found.message ?? ""); return; } + setText(q("state"), `${text("Connected")}: ComfyUI ${found.comfyui?.version ?? ""}, FormBridge ${found.pack?.version ?? ""}, ${found.device?.name ?? ""}`); + checked = true; + await loadFlows(); + }; + + const values = (flow: Workflow) => { + const slots: Record = {}, media: Record = {}; + for (const { row, field, slot } of rows.values()) { + if (row.dataset.cfFlow !== flow.id) continue; + if (MEDIA.has(slot.type)) { if (field.value) media[slot.name] = field.value; continue; } + if (slot.type === "bool") { slots[slot.name] = (field as HTMLInputElement).checked; continue; } + if (slot.type === "text" || slot.type === "choice") { if (field.value !== "" || slot.required) slots[slot.name] = field.value; continue; } + if (field.value !== "") slots[slot.name] = Number(field.value); + } + return { slots, media }; + }; + + q("check").addEventListener("click", () => void run(check)); + q("workflow").addEventListener("change", showFlow); + q("go").addEventListener("click", () => void run(async () => { + const flow = flows.get(q("workflow").value); + if (!flow) return; + const { slots, media } = values(flow); + const ran = await job("/api/formbridge/run", { workflow: flow.id, slots, media, reuse: q("reuse").checked }) as Ran; + await bin.load(); + const names = (ran.media ?? []).map((item) => item.name); + if (ran.caption) { + q("caption").value = ran.caption; + q("caption-row").hidden = false; + } + say(names.length ? `${text("Added to the media bin")}: ${names.join(", ")}` : ran.caption ? text("Caption ready.") : text("Done.")); + })); + bin.subscribe(paintMedia); + + return { + show: async () => { + const stored = await api<{ base: string }>("/api/formbridge"); + if (document.activeElement !== q("base")) q("base").value = stored.base; + if (!checked) await check().catch((error) => setText(q("state"), error instanceof Error ? error.message : String(error))); + }, + }; +} diff --git a/frontend/src/ui/studio-tools.ts b/frontend/src/ui/studio-tools.ts index 3470ef86..17e94129 100644 --- a/frontend/src/ui/studio-tools.ts +++ b/frontend/src/ui/studio-tools.ts @@ -11,6 +11,7 @@ import { buildCreatorPanel } from "./creator-panel"; import { buildRecording } from "./recorder"; import { icon } from "./icons"; import { reconcile } from "./keyed-list"; +import { mountComfyPage } from "./comfyui-page"; export function installStudioTools(engine: ProjectEngine, bin: MediaBin): void { const inspector = buildCreatorPanel(engine); @@ -27,7 +28,7 @@ export function installStudioTools(engine: ProjectEngine, bin: MediaBin): void { modal.innerHTML = `
+