Skip to content
WebAI

Application workflows

Practical workflow designs with linked candidate entries. These are integration guides, not tested end-to-end applications or performance recommendations.

Meeting transcription and notes

Input
Recorded audio, or microphone audio with user permission.
Workflow
Segment speech with VAD → resample audio → transcribe → optionally summarize with references to timestamps.
Output
Timestamped text and a separately generated draft summary.
Limits
VAD does not identify speakers. ASR can miss names, overlap and noisy speech. A summarizer can introduce unsupported statements. Real-time operation needs separate latency tests.
Minimal interface example
Input: a short recording. Output shape: segments with start, end and text; a summary referencing those segments. This is an interface example, not a measured result.
Before deployment
Check language, sample rate, long-recording memory use and whether any selected demo uploads audio.

Candidate entries — check evidence before use

Related tasks

Supporting reference ↗

Live captions and on-screen translation

Input
Microphone or tab audio with user permission, processed in short windows.
Workflow
Gate the stream with VAD → buffer a window → transcribe incrementally → translate the finalised segment.
Output
A rolling caption line plus finalised segments, each optionally paired with a translation.
Limits
Partial hypotheses change as more audio arrives, so captions rewrite themselves. Translation runs on finalised text only, which adds a visible delay on top of transcription. Bilingual models cover one direction per download.
Minimal interface example
Input: live audio and a target language. Output shape: {partial, final[], translation[]}. The interface must tolerate a final segment replacing the partial text it already displayed.
Before deployment
Measure end-to-end delay on the target device, decide what happens when a window overruns, and confirm the translation license permits your use.

Candidate entries — check evidence before use

Related tasks

Supporting reference ↗

Voice in, voice out assistant

Input
A microphone utterance, ended by silence detection or a push-to-talk control.
Workflow
Transcribe the utterance → send the text to a local chat model → speak the reply with a TTS voice.
Output
A transcript, a text reply and synthesised audio, none of which leaves the device.
Limits
Three models are resident at once, so this is the heaviest workflow in the catalog: plan for the sum of their download sizes and peak memory. First-token latency of the chat model dominates the perceived response time.
Minimal interface example
Input: one spoken turn. Output shape: {transcript, reply, audio}. Keep the chat history in the page so the second turn does not reload the model.
Before deployment
Check that the device has enough memory for all three models, cache weights after the first load, and provide a visible way to stop playback.

Candidate entries — check evidence before use

Related tasks

Supporting reference ↗

Local document questions

Input
Text documents or PDF pages; scanned pages require rasterization and OCR.
Workflow
Parse/OCR → chunk with page IDs → embed → retrieve → optionally rerank → generate an answer with source excerpts.
Output
An answer with page references and the retrieved passages.
Limits
Retrieval can miss relevant pages. Embedding models do not generate answers. Tesseract.js itself does not accept PDF files. The complete workflow has not been tested here.
Minimal interface example
Input: a document and a question. Output shape: answer, source page numbers and excerpts. Return an explicit no-evidence result when retrieval is insufficient.
Before deployment
Use the same embedding model and preprocessing for indexing and queries; check context length and test citation accuracy.

Candidate entries — check evidence before use

Related tasks

Supporting reference ↗

Screenshot or receipt to structured data

Input
A screenshot, photo or scanned page containing a form, receipt or table.
Workflow
OCR the page for text and positions, or send it to a layout-aware or vision-language model → constrain the model to a schema → validate the fields.
Output
A record whose fields map to your schema, with the source crop kept for review.
Limits
An OCR-then-LLM pipeline loses layout, and a layout-aware model costs more per page. Constrained decoding needs runtime support for grammars or logit biasing; without it, a schema is a prompt and not a guarantee.
Minimal interface example
Input: an image and a field list. Output shape: {fields, confidence, crop}. Reject the record rather than guessing when a required field is missing.
Before deployment
Validate every field against your own rules, keep the image crop for a human to check, and test on the worst scans you actually receive.

Candidate entries — check evidence before use

Related tasks

Supporting reference ↗

On-device message triage

Input
A batch of messages, tickets or comments already stored locally.
Workflow
Classify each message → extract names, organisations and dates → embed the text → index the vectors for similar-case lookup.
Output
A label and score per message, extracted entity spans, and a nearest-neighbour list of similar past items.
Limits
Classifiers reflect their training data, so a moderation label is a signal and not a decision. Entity extraction returns offsets without resolving duplicates or aliases. The index must be rebuilt whenever the embedding model changes.
Minimal interface example
Input: a message list. Output shape: {label, score, entities[], similar[]}. Route low-confidence items to a person rather than to a default bucket.
Before deployment
Measure the false-positive rate on your own data, keep the index and the model version together, and never make an irreversible decision from a single score.

Candidate entries — check evidence before use

Related tasks

Supporting reference ↗

Product background removal

Input
A product image with a clearly visible foreground.
Workflow
Decode and resize → foreground segmentation → refine edges → compose an alpha channel → export PNG.
Output
An image with transparency; retain the original for comparison.
Limits
Hair, glass, shadows and reflective products are difficult cases. Person-only segmentation is not general product segmentation. The unresolved HD entry is excluded from these candidates.
Minimal interface example
Input: a single product photo. Expected output format: PNG with an alpha channel. Compare edge crops against the original before accepting it.
Before deployment
Verify the exact weight license and test edge quality, resolution and memory on representative product photos.

Candidate entries — check evidence before use

Related tasks

Supporting reference ↗

Photo cleanup and object removal

Input
A single photo, plus either a user-drawn mask or boxes from a detector.
Workflow
Detect candidate objects → turn a box into a mask → inpaint the masked region → optionally upscale the result, using a depth map for depth-aware blur.
Output
An edited image, the mask that produced it, and the original kept for comparison.
Limits
Inpainting invents content, so the result is plausible rather than true, and removing a watermark may still be a licensing or legal question. Memory scales with output resolution, not with model size: a few megabytes of weights can still exhaust a tab on a 4K image.
Minimal interface example
Input: an image and a mask. Output shape: {image, mask, steps[]}. Keep every step reversible so the user can undo one stage without redoing the pipeline.
Before deployment
Test at the largest resolution you accept, tile large images, and keep the original bytes until the user saves.

Candidate entries — check evidence before use

Related tasks

Supporting reference ↗

Camera gesture and posture controls

Input
A camera stream, with explicit permission and a visible indicator while it is on.
Workflow
Run a landmark model per frame → smooth the landmarks over time → map a held pose to an action → keep identities stable with a tracker when several people are in frame.
Output
Per-frame landmarks and debounced action events.
Limits
Camera frames are biometric input: process them in the page and discard them. Landmark models assume a detector ran first, so a published frame rate usually covers the tracking stage alone, and single-frame jitter must be smoothed before it becomes an action.
Minimal interface example
Input: a video element. Output shape: {landmarks[], gesture, heldMs}. Require a pose to be held before firing, so a passing hand does not trigger anything.
Before deployment
Keep frames off the network, degrade gracefully when the frame rate drops, and offer a keyboard path for every gesture action.

Candidate entries — check evidence before use

Related tasks

Supporting reference ↗

Recording cleanup and stem split

Input
A recorded track or a live capture; separation needs the whole file.
Workflow
Denoise speech frame by frame in an AudioWorklet → for a mix, split it into stems offline → optionally re-voice a narration track from a consented reference sample.
Output
A cleaned track, separate stems as audio buffers, and any re-voiced take as a new file.
Limits
Denoising is real-time per frame; separation is not — a four-minute track takes minutes of CPU, so it needs a progress bar rather than a live preview. Voice cloning carries a consent and likeness question that no model card answers.
Minimal interface example
Input: an audio file. Output shape: {cleaned, stems{vocals, drums, bass, other}, progress}. Run separation in a worker so the page stays responsive.
Before deployment
Measure per-frame cost inside the worklet, keep separation off the main thread, and record who consented to a cloned voice before you ship it.

Candidate entries — check evidence before use

Related tasks

Supporting reference ↗

Draft art and sound on the device

Input
A text prompt, plus a seed when a repeatable result matters.
Workflow
Load the diffusion pipeline once → generate a small image at few steps → generate a short audio clip from a second prompt → keep both as drafts tied to their seed.
Output
Draft images and short audio clips, each with the prompt and seed that produced it.
Limits
This is the heaviest download category in the catalog: a diffusion pipeline is several networks and is measured in gigabytes, so WebGPU is a hard requirement. Audio generation time scales with clip length, and several open weights here are non-commercial only.
Minimal interface example
Input: {prompt, seed, steps}. Output shape: {image, audio, prompt, seed}. Store the seed with the output or the draft cannot be reproduced.
Before deployment
Detect WebGPU before offering the feature, cache the weights after the first load, and check each weight license before publishing anything generated.

Candidate entries — check evidence before use

Related tasks

Supporting reference ↗

In-page code assistant

Input
The current buffer, the cursor position and a short span of surrounding context.
Workflow
Keep a code model resident → send a prefix and suffix for completion, or the selection for an explanation → stream tokens into the editor → stop on the first line that leaves the requested scope.
Output
A streamed completion or explanation, inserted only when the user accepts it.
Limits
Browser-side context windows are small, so whole-repository questions are out of scope; the model sees what you send and nothing else. Licensing varies more than in other categories: several permissive-looking code models ship under their own community terms.
Minimal interface example
Input: {prefix, suffix, intent}. Output shape: {completion, tokens, stopped}. Never apply a completion without an explicit accept step.
Before deployment
Measure first-token latency on the target device, cap the context you send, and confirm the model license covers generated code in your product.

Candidate entries — check evidence before use

Related tasks

Supporting reference ↗

Clip tagging and highlight selection

Input
A local video file; frames and audio are read through the page, not uploaded.
Workflow
Sample frames on a fixed stride → classify or describe each sampled window → keep identities across frames with a tracker → use audio events such as applause as a second signal.
Output
Time ranges with labels and scores, ready to be cut or reviewed.
Limits
Temporal models batch 8–32 frames, so the memory spike is the frame stack rather than the weights, and most published video weights have no browser build at all. A fixed stride misses events shorter than the stride.
Minimal interface example
Input: {file, strideMs}. Output shape: {ranges[{start, end, label, score}]}. Report the stride alongside the ranges so the resolution of the result is visible.
Before deployment
Check that a browser build exists before planning around a model, decode in a worker, and verify the ranges against a few clips by hand.

Candidate entries — check evidence before use

Related tasks

Supporting reference ↗

Offline text translation

Input
Source text plus explicit source and target languages.
Workflow
Choose a compatible language pair → download and cache all assets → split text → translate → restore paragraph order.
Output
Translated text aligned with the source paragraphs.
Limits
Offline use requires a successful prior asset download and persistent cache. Some model pairs are one-directional. NLLB-200 distilled 600M has a non-commercial weight license.
Minimal interface example
Input: one paragraph with source=en and target=zh. Output format: a translated paragraph. Verify names and numbers independently.
Before deployment
Test airplane-mode reload, cache eviction, long paragraphs and both translation directions.

Candidate entries — check evidence before use

Related tasks

Supporting reference ↗