ElBruno.Text2Image.Cli 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global ElBruno.Text2Image.Cli --version 0.1.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local ElBruno.Text2Image.Cli --version 0.1.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ElBruno.Text2Image.Cli&version=0.1.0
                    
nuke :add-package ElBruno.Text2Image.Cli --version 0.1.0
                    

t2i — AI Text-to-Image CLI

NuGet License: MIT

Cross-platform CLI for AI text-to-image generation. This is the Lite edition — cloud providers only, no local inference.

Quick Install

dotnet tool install --global ElBruno.Text2Image.Cli

Verify installation:

t2i --version

Quick Start

First-time setup wizard:

t2i config

Generate an image:

t2i "a robot painting a landscape"

The image is saved as output.png (or a timestamped file).

Providers (Lite Edition)

This Lite edition includes cloud providers only:

Provider ID Name Requirements
foundry-flux2 FLUX.2 Pro (Cloud) Microsoft Foundry endpoint + API key
foundry-mai2 MAI-Image-2 (Cloud) Microsoft Foundry endpoint + API key

Why Lite?

  • Small package: ~30 MB (vs ~200 MB with local ONNX Runtime providers)
  • No ONNX Runtime native libraries: Keeps installation fast and lightweight
  • Cloud-first: Ideal for CI/CD, containers, and environments without local GPU

Want Local Inference?

For local CPU/GPU inference with Stable Diffusion models, see the upcoming ElBruno.Text2Image.Cli.Full package (planned for v0.2.0).

Usage

# Generate with default provider
t2i "a futuristic cityscape"

# Specify provider
t2i "a mountain landscape" --provider foundry-flux2

# Custom dimensions
t2i "abstract art" --width 1024 --height 1024

# Custom output path
t2i "a sunset" --out sunset.png

Configuration

Set up cloud providers:

# Interactive setup
t2i secrets set foundry-flux2

# Environment variables
export T2I_FOUNDRY_FLUX2_ENDPOINT="https://your-resource.services.ai.azure.com"
export T2I_FOUNDRY_FLUX2_APIKEY="your-api-key"

List available providers:

t2i providers

Run diagnostics:

t2i doctor

Documentation

Full documentation: docs/cli-tool.md

Repository: github.com/elbruno/ElBruno.Text2Image

License

MIT — see LICENSE

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.2.11 108 5/10/2026
1.2.10 91 5/10/2026
1.2.9 101 5/10/2026
1.2.8 106 5/9/2026
1.2.6 126 4/28/2026
1.2.5 99 4/28/2026
1.2.4 107 4/28/2026
0.16.0 108 4/22/2026
0.15.0 99 4/22/2026
0.11.0 122 4/21/2026
0.10.2 103 4/20/2026
0.10.1 91 4/20/2026
0.10.0 98 4/20/2026
0.9.1 101 4/20/2026
0.2.0 97 4/20/2026
0.1.0 107 4/19/2026