hjLabs AI Playground

Starting the on-device runtime…

Generate a caption or alt text for any image

ViT-GPT2 gives a short factual caption in a 250 MB download; Mozilla's DistilViT is roughly a quarter the size for the same one-line style, and a flower-tuned variant handles botanical subjects. The obvious use is accessibility — writing alt text for a large image library without paying per call or exposing unpublished assets — and the second is bulk cataloguing. Everything runs on your GPU, so a folder of a thousand product shots costs nothing but time.

image caption generatorai alt text generatordescribe image ai freevit-gpt2 demodistilvit browserlightweight captioning modelautomatic alt textimage to text description

Frequently asked questions

Which model writes the best alt text?

ViT-GPT2 is the most reliable general choice; DistilViT is about a quarter of the size if you are captioning in bulk and can accept slightly plainer wording.

Can it answer questions about the image?

Not here. These captioners describe an image but take no text prompt, so they cannot answer questions about it. Vision-language models that can are not yet supported by the browser runtime.

Is my data uploaded to a server?

No. The model weights are downloaded from Hugging Face to your browser once, and every inference after that runs on your own GPU through WebGPU. Your text, images and audio are never sent anywhere — hjLabs.in has no inference server and no way to see your input.

Does this work on a phone?

Small models do. Recent mobile Chrome and Safari expose WebGPU, but memory is the binding limit — stay under roughly 200 MB of weights on Android, and expect iOS to reclaim the tab sooner. The catalog shows every download size up front so you can pick something that fits.

Can I use the output commercially?

That depends on the individual model, not on this site. Each model page links to its Hugging Face repository, where the licence is stated — most of the catalog is Apache-2.0 or MIT, a few are research-only. We add nothing on top: hjLabs.in claims no rights over anything you produce here.

Models available for this task