OpenAI-Compatible Image Generation: How to Route Multiple Providers with Fallbacks
Short answer: put an OpenAI-compatible image request behind a small dispatcher, load image-capable model IDs from a catalog at deploy time, and keep the primary and fallback in configuration. Fail over only on transient failures. A rejected prompt is not a reason to ask another provider.