Repository navigation
Releases
20261119.2
Since 20261119
- Text to motion —
/v1/motion/generations(new, hemera's own endpoint): words in, 1–10 s of a person's whole-body motion out, on SMPL's 22 body joints, as JSON, binary glTF or BVH;"loop": truemakes an idle. Same job lifecycle as the 3D API. The engine is motion-server, a separate program running Tencent's HY-Motion 1.0; hemera starts it on demand (503 withRetry-AfterpastmotionLoadWaitSeconds), passes requests and answers through unchanged, and keeps the engine busy until a clip is made. A model entry with"task": "motion"makes a motion model, listed with kindmotion. Prompts are never logged. About 6 s a clip and 21 GB of GPU memory on a Strix Halo. HY-Motion's licence does not apply in the EU, the UK or South Korea. - Text in pictures —
/v1/ocr(new): every line, word and character of a picture, placed, in reading order, with script, language and confidence. The engine is ocr-server, a separate program running PaddleOCR's ONNX models on the CPU; hemera picks the model, refuses pictures over 50 MB, waits out the start, passes request and answer through byte for byte, and stops the work on hang-up or afterocrTimeoutSeconds(504). OCR models never unload another model and are never paused for GPU work. Models with"task": "ocr", listed with kindocr. - Neither engine is bundled or downloaded by hemera: both are set up by hand from their own READMEs (motion-server and ocr-server are not published yet). hemera only routes.
- Starting a model off the GPU no longer makes ComfyUI release it.
- Website: Motion API and OCR API sections, with setup, on https://aether.ing/hemera/docs/. Full contracts in
docs/media-api.md(section 10) anddocs/ocr-api.md.
Single dependency-free executable jar (JDK 21+):
java -jar hemera.jar [--home <dir>] [--port 12434] [--log info|debug|trace]
20261119
Since 20261118
- ComfyUI's own templates as recipes: hemera reads the workflow templates ComfyUI ships (
/templates/), converts each from the editor's format to the API format against ComfyUI's node definitions, and drafts a recipe from it. A model downloaded with one of those templates is offered without anyone writing a recipe. On ComfyUI 0.42 (templates 0.11.96), 163 of the 254 local templates convert. Taken: one image, video or 3D result, at most one image in, no video or audio in, no paid cloud service; offered settings are prompt, negative prompt, seed, steps, cfg, size, frames, fps and image. - The API is unchanged: template recipes come after every built-in and own recipe and only take files nothing else claims, so existing models keep their names, order and behaviour.
"comfyui": {"templates": false}turns them off. - Template recipes are listed in the Directories tab under From ComfyUI's workflow templates, where Edit and Switch off work as for built-ins. Their memory need is a rough estimate that can only raise
comfyui.memoryMB. - Recipe drafting (also for New recipe) no longer takes a preview or before/after node as the result, and orders node ids in subgraphs consistently.
- The Qwen-Image 2.1 Turbo recipe finds any Qwen3-VL 8B text encoder.
- Website and README: say plainly that a ComfyUI model needs a recipe for its family, and describe templates.
Single dependency-free executable jar (JDK 21+):
java -jar hemera.jar [--home <dir>] [--port 12434] [--log info|debug|trace]
20261118
Since 20261028
- Speech on the NPU: an engine started with
--backend npuorcpuleaves the GPU alone, so the same voice can be offered twice —voxcpm2(Vulkan) andvoxcpm2-npu(audio.cpp's XDNA build) — and each client chooses by name. On the NPU, speech keeps 1.03–1.25× realtime next to a generating 27B LLM, which keeps writing. - LLMs pause only for speech on the GPU: during a
/v1/audio/speechrequest on a GPU engine, llama.cpp engines are frozen (SIGSTOP) and resumed when it ends — 2.4× realtime instead of 0.5×. Background requests freeze nothing;speechPauseMaxSecondsbounds a freeze. - ComfyUI memory sized per recipe: a recipe now says what one job needs at its peak (
memoryMB), and hemera unloads idle models until it fits. Built-ins measured on a 128 GB Strix Halo: MiniMax turbo 75 GB, MiniMax and LTX-2.5 80 GB, Qwen-Image 60 GB, Pixal3D 40 GB.comfyui.memoryMBis the fallback. - ComfyUI recovery: restarted before a job when engines started or stopped since the last one; logs what it printed when a job hangs; killed when a cancelled job does not end within
cancelSeconds. - MiniMax recipes default to a height of 448, fixing a shape error on video from a first frame.
- Website: https://aether.ing/hemera/ — setup, supported engines, the ComfyUI bridge and the 3D API. README gains the same, plus install from this jar.
Single dependency-free executable jar (JDK 21+):
java -jar hemera.jar [--home <dir>] [--port 12434] [--log info|debug|trace]
20261028
Since 20261027
Speech, end to end. Setup and measurements are in the README; the client contract is in docs/media-api.md.
- Speech recognition:
/v1/audio/transcriptionsand/v1/audio/translationson whisper.cpp'swhisper-server(Vulkan). Language detected when not given, browser WebM/Ogg and phone M4A through ffmpeg, turbo models refused for translation. Indonesian FLEURS: large-v3 with beam 5 matches whisperX's 7.0% word errors at 13× realtime on the GPU. - Live transcription:
/v1/realtime, OpenAI's Realtime transcription session over WebSocket (beta and GA spellings): PCM at any rate or telephone G.711, pause detection or push-to-talk, words while speaking, final text 0.3–0.7 s after the pause. - Who said what:
response_format=diarized_json, OpenAI's speaker-labelled transcript, using an audio.cpp speaker-separation model (Nemotron 3 Diarization, up to eight speakers). - Text to speech:
/v1/audio/speechon audio.cpp (VoxCPM2, OmniVoice, and any other family it runs), OpenAI's formats and SSE streaming; first streamed audio after about 0.15 s. - Voice library:
/v1/audio/voicesand a Voices tab in the web UI — upload a recording with a consent note, transcript written automatically, usable by every speech model and the voice changer. - Voice changer:
/v1/audio/voice-changerWebSocket, live conversion into a library voice (MeanVC2), about 0.11 s behind the speaker. - Live work first: requests marked
X-Hemera-Priority: backgroundwait while a live session runs, so a long subtitle job pauses for a call. - New model kinds
transcription,speech,voice-changeranddiarizationin/v1/modelsand Ollama's capabilities. - The web UI's model form keeps settings it does not show when saving.
- The jar's manifest opens
jdk.httpserverfor the WebSocket endpoints; start hemera withjava -jaras before.
20261027
Since 20261023
- Memory guard: before a model loads, hemera estimates what it needs and unloads the longest-idle models (then ComfyUI's cached models) only when memory is actually short. Tunable with
memoryReserveMBand per-modelmemoryMB. - Image edits on ComfyUI models:
/v1/images/editsnow works for ComfyUI recipes with an image setting; Qwen-Image 2.1 Turbo takes up to three reference images. - Hung-job watchdog: a ComfyUI job silent for
comfyui.stallSeconds(900 s images, 1800 s video/3D) restarts ComfyUI and retries once, then answers 504. Each finished job logs its longest quiet spell. - ComfyUI models stay listed while ComfyUI is stopped; the next job starts it.
- Optional
comfyui.exclusiveGpu(off by default).
20261023
Single dependency-free executable jar (JDK 21+).
java -jar hemera.jar [--home <dir>] [--port 12434] [--log info|debug|trace]
Since 20260924
ComfyUI bridge (image, video and 3D)
- Point hemera at a ComfyUI install (its folder, or a URL) and it offers whatever that ComfyUI can run as models of its own: nothing is installed into ComfyUI, and a file added to its folders appears by itself. With a folder, hemera starts ComfyUI when needed and stops it when idle.
- Built-in recipes for TRELLIS.2, Pixal3D, Hunyuan3D 2.1 (3D), LTX-2.5, MiniMax H3 (video) and Qwen-Image, Qwen-Image 2.1 Turbo (images).
- Video generation:
/v1/videos(OpenAI-style) for ComfyUI and sd.cpp models, with real progress and cancel. - 3D generation:
/v1/3d/generations— hemera's own endpoint, since OpenAI has none — image in,.glbout, same job shape as videos. - Discovery for clients:
/v1/modelsentries carry ahemeraobject (kind, endpoint, parameters with types and ranges);/api/tagsand/api/showlist ComfyUI models withcapabilitiestoo. The contract for client authors isdocs/media-api.md.
Recipes you manage yourself
- A Recipes section in the Directories tab: edit, add, switch off, or revert any recipe. New recipe takes a workflow exported with Save (API Format) and drafts the recipe — model files, prompt/seed/steps/size/image settings with ranges from ComfyUI, and the result node — in a form with a live check of what matches; any other node input can be added as a setting.
- Also over HTTP:
/hemera/api/comfyui/recipes(list, PUT, DELETE,draft,check).
ComfyUI controls
- Start, Restart and Stop buttons; when ComfyUI dies (for example killed for memory) the UI says so with the exit code and its last output.
Other
- Models list in the Models and Images tabs include ComfyUI models; chat on a media model answers with the endpoint to use.
See README.md and docs/media-api.md for details.
20260924
Single dependency-free executable jar (JDK 21+).
java -jar hemera.jar [--home <dir>] [--port 12434] [--log info|debug|trace]
Since 20260825
Image generation (stable-diffusion.cpp)
- New managed
sd.cppengine, installed from the Engines tab like llama.cpp. /v1/images/generationsand/v1/images/edits, OpenAI-compatible, including multi-image edits (several references composed into one scene) andbackground: "transparent"for RGBA-capable models such as Qwen-Image 2.1.- Diffusion GGUFs are detected even without metadata, and their VAE and text encoder are paired automatically.
- An Images tab in the web UI for generating and editing without curl.
- Cancellation that actually frees the GPU:
stream: true(close the stream to cancel), orX-Hemera-Request-Id+POST /hemera/api/images/cancel. Image requests queue per model so a cancel never takes down another request.
Models and UI
- MTP heads detected (embedded or as a separate draft file) and
--spec-type draft-mtpsuggested; suggested context follows the model's own GGUF metadata. - Configure UI usable on a phone: stacked tables, no refresh while editing, scroll position kept.
Fixes
- An engine is no longer unloaded by the idle reaper while it is still serving a request.
latestcould resolve to an older build for engines whose tags end in a commit hash.- systemd unit uses
-Djdk.lang.Process.launchMechanism=FORKafter intermittent "Failed to exec spawn helper" errors when starting engines.
See README.md for details.
20260825
First built release of hemera.jar (JDK 21+, single dependency-free executable jar).
Run with:
java -jar hemera.jar [--home
Since initial commit: custom engine support (ds4, ollama's bundled llama-server),
automatic vision projector pairing and embedded vision/audio tower detection, GPU
runtime auto-detection (ROCm/CUDA/Vulkan/oneAPI/OpenVINO) including split-backend
plugin loading, safe model/file deletion, load/unload from the web UI, cross-dialect
model-name-leak fixes, and embedding-model support with auto-suggested --embedding.
See README.md for full details.