Supported Image Models
1. OpenAI Native Images API
Use standard OpenAI image generation requests by pointing your base URL tohttps://api.xroute.ai/OpenAI.
Text-to-Image Generation
- Endpoint:
POST https://api.xroute.ai/OpenAI/images/generations - Header:
Authorization: Bearer $XROUTE_API_KEY
Image Editing & Inpainting
- Endpoint:
POST https://api.xroute.ai/OpenAI/images/edits
cURL
2. Byteplus Seedream Native
Byteplus offers ultra-fast image generation models optimized for high visual fidelity.- Endpoint:
POST https://api.xroute.ai/Byteplus/images/generations - Header:
Authorization: Bearer $XROUTE_API_KEY
3. Google Gemini Native Image Generation
Target Google’s image models by enablingIMAGE response modalities over Google GenAI.
- Endpoint:
POST https://api.xroute.ai/Google/image/models/gemini-3.1-flash-image:generateContent
cURL

