//! Lists the image models of a provider, with names ready for `ImageGenerator::new`.
//!
//! ```bash
//! # A local OpenAI-compatible server
//! OPENAI_BASE_URL=http://localhost:3000/v1 cargo run -p agentai-image --example list_models openai
//! # OpenRouter
//! OPENROUTER_API_KEY=<your key> cargo run -p agentai-image --example list_models openrouter
//! ```
use provider;
async