Instructions to use Comfy-Org/Lens with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use Comfy-Org/Lens with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
File size: 2,295 Bytes
cb400fc 14cbb04 f15397d 0817dc5 cb400fc 14cbb04 5b6f0b6 14cbb04 5b6f0b6 14cbb04 5b6f0b6 198d6dd 14cbb04 f4f9a0d 14cbb04 593539f 0817dc5 08b4c5b c262d5d 08b4c5b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | ---
license: other
tags:
- comfyui
- diffusion-single-file
base_model:
- microsoft/Lens
---
# Microsoft Lens
Repackaged model files for ComfyUI.
Original model repository:
- https://huggingface.co/microsoft/Lens (mit)
- https://huggingface.co/openai/gpt-oss-20b (apache-2.0)
- https://huggingface.co/black-forest-labs/FLUX.2-dev (apache-2.0)
Place the files in the following folders:
```
π ComfyUI/
βββ π models/
β βββ π diffusion_models/
β β βββ lens_bf16.safetensors
β β βββ lens_mxfp8.safetensors
β β βββ lens_turbo_bf16.safetensors
β β βββ lens_turbo_mxfp8.safetensors
β βββ π text_encoders/
β β βββ gpt_oss_20b_nvfp4.safetensors
β βββ π vae/
β β βββ flux2-vae.safetensors
```
## Workflows
<table>
<thead>
<tr><th align="center" valign="middle" style="text-align:center;vertical-align:middle">Workflow</th><th colspan="2" align="center" valign="middle" style="text-align:center;vertical-align:middle">Thumb</th></tr>
</thead>
<tbody>
<tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_lens_t2i.json">Lens: Text to Image</a></td><td colspan="2" align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_lens_t2i.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/image_lens_t2i-1.webp" width="200" height="200" alt="Lens: Text to Image"></a></td></tr>
<tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_lens_turbo_t2i.json">Lens Turbo: Text to Image</a></td><td colspan="2" align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_lens_turbo_t2i.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/image_lens_turbo_t2i-1.webp" width="200" height="200" alt="Lens Turbo: Text to Image"></a></td></tr>
</tbody>
</table>
|