What problem does it solve? Manually creating images for scripts, CI/CD pipelines, and content workflows is slow and hard to automate. This Skill teaches AI agents how to use the t2i command-line tool to generate images from text prompts through Microsoft Foundry providers (FLUX.2, MAI-Image-2), including configuration, secrets management, and batch generation. ## Core Features & Use Cases - Text-to-Image Generation: Run t2i "<prompt>" with provider, size, and inference-step flags to produce PNG images from text descriptions. - Configuration & Secrets Management: Set up provider endpoints and API keys securely via t2i config and t2i secrets, with DPAPI or encrypted-file storage and environment variable support for CI/CD. - Batch & Pipeline Automation: Generate multiple images in shell or PowerShell loops with predictable output filenames and rate-limit delays, or integrate into GitHub Actions and Azure Pipelines. - Use Case: A developer needs weekly marketing hero images generated automatically. The agent installs the t2i dotnet tool, configures Foundry credentials as CI secrets, and adds a scheduled GitHub Actions workflow that runs t2i and uploads the PNG artifacts. ## Quick Start Ask the agent to verify setup with t2i doctor and then generate an image, for example: "Use t2i to generate a minimalist logo and save it as logo.png."