Image GenerationActive
microsoft / lens
lens
A foundational text-to-image model designed for efficient, high-resolution image generation with strong prompt following and multilingual support.
Text to ImageFast InferenceH200
Model ID
lens
Provider
microsoft
Updated
1780498461
wiro playground—microsoft/lens
Updated 1780498461
# Microsoft Lens (Text-to-Image)
**Model:** Microsoft Lens (3.8B parameters)
A foundational text-to-image model designed for efficient, high-resolution image generation with strong prompt following and multilingual support.
## Parameters
- **prompt** (text, required) — Describe the image you want to generate.
- **aspect_ratio** (select, default: `1:1`) — Output aspect ratio.
- **base_resolution** (select, default: `1440`) — Base resolution. Higher means better quality but slower.
- **seed** (number, optional) — Set a seed for reproducible results.
## Aspect Ratios & Output Sizes
### Base Resolution: 1440
| Ratio | Output | Best For |
|---|---|---|
| 1:1 | 1440×1440 | Square, social media posts |
| 16:9 | 1920×1080 | Landscape, widescreen |
| 9:16 | 1080×1920 | Portrait, stories/reels |
| 4:3 | 1664×1248 | Classic landscape |
| 3:4 | 1248×1664 | Classic portrait |
| 3:2 | 1760×1176 | Wide landscape |
| 2:3 | 1176×1760 | Tall portrait |
| 2:1 | 2032×1016 | Ultra-wide panoramic |
| 1:2 | 1016×2032 | Ultra-tall vertical |
### Base Resolution: 1024
Produces proportionally smaller outputs. Faster generation but lower resolution.
## Tips
- **Be descriptive:** Lens responds well to detailed prompts — include style, lighting, colors, composition, and mood.
- **Multilingual:** Supports prompts in multiple languages (English, Chinese, French, etc.).
- **Seed:** Use the same seed + prompt to reproduce an exact result.
- **Resolution:** Use `1440` for best quality. Use `1024` for faster previews.
Example prompts
Great starting points for lens.
An explorer\'s oak desk with an aged world map spread open, a brass sextant, leather-bound navigation journal with handwritten entries, melting candle in a copper holder, scattered compass and quill pen, warm window light, still life photography.Image Generation
Aerial view of Yuanyang rice terraces in Yunnan province at sunrise, thousands of cascading water-filled paddies reflecting golden and pink sky colors, morning mist weaving between terrace layers, lush green hillside with scattered palm trees, drone photography.Image Generation
An explorer's oak desk with an aged world map spread open, a brass sextant, leather-bound navigation journal with handwritten entries, melting candle in a copper holder, scattered compass and quill pen, warm window light, still life photography.Image Generation
API quick start
Run lens with a single API call.
POST https://api.wiro.ai/v1/Run/microsoft/lens
{
"prompt": "Oil painting portrait of a Renaissance no…",
"resolution": 1440,
"aspectRatio": "1:1",
"seed": 0
}