Spaces:
Running on Zero

HobbyLM-Image-2 / README.md
rootxhacker's picture
Add discovery tags
2478dff verified
|
Raw History Blame Contribute Delete
1.49 kB
---
title: HobbyLM Image 2
emoji: 🎨
colorFrom: indigo
colorTo: pink
sdk: gradio
sdk_version: 5.9.1
app_file: app.py
pinned: false
license: mit
short_description: Generate, edit & spell text in images with a 333M model
models:
- rootxhacker/HobbyLM-image-2
tags:
- text-to-image
- image-generation
- image-editing
- image-to-image
- instruction-editing
- text-rendering
- diffusion
- flow-matching
- dit
- dc-ae
- tiny-model
- zerogpu
---
# 🎨 HobbyLM Image 2
Interactive demo of **HobbyLM-Image v2** β€” a 333M-parameter flow-matching DiT (DC-AE f32c32
latents, CLIP-L + FLAN-T5-Large conditioning) trained from scratch. One
checkpoint (`model_v2_768u`) does three things:
- **✨ Generate** β€” text-to-image at 512 / 768px.
- **πŸͺ„ Edit** β€” instruction editing ("make it autumn") on any image, any aspect ratio.
- **πŸ”€ Spell** β€” render the words you put in "double quotes" into the scene.
Weights, benchmark scores (GenEval 2, GEdit-Bench) and ComfyUI nodes:
[rootxhacker/HobbyLM-image-2](https://huggingface.co/rootxhacker/HobbyLM-image-2).
## Hardware
Written for **ZeroGPU** (`@spaces.GPU` on the three inference functions); it also runs on any
CUDA GPU locally. The Space needs an `HF_TOKEN` secret with read access to the model repo.
## Provenance
Every output carries an invisible TrustMark watermark (payload `HLMI768u`) so images made here
can be identified as model output. Verify with `python -m hobby_image.detect image.jpg`.