Skip to Content
API ReferenceImage Models

Image Models

List all available image generation models. No payment required.

Endpoint

GET /v1/images/models

Request

Simple GET request with no parameters required:

curl https://api.x-router.ai/v1/images/models

Response

Success Response (200 OK)

{ total: number; // Total number of available models models: [ { id: string; // Model identifier for API requests name: string; // Display name description: string; // Model description and capabilities architecture: string; // Model architecture (flux, sdxl, sd15, etc.) category: string; // Use case category supportsSteps: boolean; // Whether steps parameter is supported pricing: { // Pricing by resolution [resolution: string]: string; // e.g., "512x512": "$0.0013" }; } ]; }

Example Response

{ "total": 58, "models": [ { "id": "flux-schnell", "name": "FLUX.1 [schnell]", "description": "Ultra-fast FLUX model optimized for speed. Perfect for rapid iteration and testing. 4 steps, 1024×1024 default.", "architecture": "flux", "category": "fast", "supportsSteps": true, "pricing": { "512x512": "$0.0013", "1024x1024": "$0.00195", "2048x2048": "$0.00325" } }, { "id": "sdxl-realvis-v4", "name": "RealVisXL V4", "description": "Top SDXL model for photorealism with cinematic quality. Excellent detail and lighting.", "architecture": "sdxl", "category": "realistic", "supportsSteps": true, "pricing": { "512x512": "$0.0019", "1024x1024": "$0.00285", "2048x2048": "$0.00475" } } ] }

Response Fields

Model Object

FieldTypeDescription
idstringUnique model identifier. Use this in the generate request
namestringHuman-readable model name
descriptionstringModel capabilities, strengths, and recommended use cases
architecturestringModel architecture type (see Architectures below)
categorystringPrimary use case category (see Categories below)
supportsStepsbooleanWhether the steps parameter is supported for this model
pricingobjectCost per image at common resolutions. Actual cost varies by exact dimensions

Available Models

FLUX Models (9 models)

State-of-the-art diffusion models with excellent photorealism and speed.

Model IDNameCategorySteps SupportBest For
flux-schnellFLUX.1 [schnell]fast✓Quick iterations, testing, general use
flux-devFLUX.1 [dev]realistic✓Balanced quality and speed
flux-hidream-fastHiDream FLUX Fastfast✓Fast high-quality generation
flux-hidream-devHiDream FLUX Devrealistic✓Advanced photorealism
flux-hidream-fullHiDream FLUX Fullrealistic✓Maximum quality photorealism
flux-communityCommunity FLUXrealistic✓Community-trained variant
flux-kreaKrea FLUXrealistic✓Photorealistic rendering
flux-juggernaut-proJuggernaut Pro FLUXprofessional✓Professional quality
flux-juggernaut-lightningJuggernaut Lightningfast✓Ultra-fast high quality

SDXL Models (15 models)

Versatile Stable Diffusion XL models for various styles and use cases.

Model IDNameCategorySteps SupportBest For
sdxl-realvis-v4RealVisXL V4realistic✓Cinematic photorealism
sdxl-realvis-v5RealVisXL V5realistic✓Latest photorealistic updates
sdxl-dreamshaperDreamShaper XLartistic✓Most popular SDXL, versatile
sdxl-juggernaut-11Juggernaut XIrealistic✓Improved photorealism
sdxl-juggernaut-10Juggernaut Xrealistic✓Professional photography
sdxl-proteus-02Proteus 0.2artistic✓Creative styles
sdxl-proteus-03Proteus 0.3artistic✓Enhanced creativity
sdxl-nightvision-xlNightVision XLartistic✓Dark atmospheric scenes
sdxl-newreality-xlNewReality XLrealistic✓Modern realistic style
sdxl-colorful-xlColorful XLartistic✓Vibrant color generation
sdxl-animagine-v3-1Animagine XL v3.1anime✓Top anime SDXL model
sdxl-realism-engine-v3Realism Engine v3realistic✓Hyperrealistic textures
sdxl-copax-timeless-v12Copax Timeless v12realistic✓Timeless photography
sdxl-albedobase-xl-v3AlbedoBase XL v3realistic✓Natural lighting
sdxl-duchaiten-v3DucHaiten v3artistic✓Artistic rendering

SD 1.5 Realistic Models (12 models)

Classic Stable Diffusion 1.5 models for realistic imagery.

Model IDNameCategorySteps SupportBest For
sd15-dreamshaper-v8DreamShaper v8realistic✓Most popular SD 1.5
sd15-realistic-vision-v6Realistic Vision v6realistic✓Latest realistic updates
sd15-realistic-vision-v5-1Realistic Vision v5.1realistic✓Proven photorealism
sd15-realistic-vision-v2Realistic Vision v2realistic✓Classic realistic style
sd15-realistic-vision-v1-4Realistic Vision v1.4realistic✓Original realistic vision
sd15-epicrealismepiCRealismrealistic✓Hyperrealistic professional
sd15-absolute-reality-v1-8-1AbsoluteReality v1.8.1realistic✓High fidelity realism
sd15-majicmix-realisticMajicMix Realisticrealistic✓Asian portrait specialist
sd15-cyberrealistic-v4-2CyberRealistic v4.2realistic✓Modern realistic style
sd15-van-gogh-diffusionVan Gogh Diffusionartistic✓Van Gogh painting style
sd15-edgeof-realismEdge of Realismrealistic✓Photographic realism
sd15-deliberate-v3Deliberate v3realistic✓Balanced versatile model

SD 1.5 Anime & Artistic Models (7 models)

Specialized models for anime, manga, and artistic styles.

Model IDNameCategorySteps SupportBest For
sd15-counterfeit-v3Counterfeit v3anime✓Popular anime, vibrant
sd15-rev-animatedReV Animatedanime✓Animated illustration
sd15-dark-sushi-mixDark Sushi Mixanime✓Dark anime aesthetic
sd15-anything-v5Anything v5anime✓Versatile anime model
sd15-openjourney-v4Openjourney v4artistic✓Midjourney-like style
sd15-openjourneyOpenjourneyartistic✓Creative exploration
sd15-analog-diffusionAnalog Diffusionartistic✓Analog film photography

Pony & Illustrious Models (3 models)

Specialized architectures for unique styles.

Model IDNameCategorySteps SupportBest For
pony-autism-mixAutismMix SDXLanime✓Pony-based anime
pony-realismPony Realismrealistic✓Pony architecture realism
illustrious-mistoon-animeMistoon Animeanime✓Modern anime style

Premium Models (12 models)

High-end models with advanced capabilities and commercial licensing.

Model IDNameCategorySteps SupportBest For
premium-imagen-30Ideogram 3.0professional✗Design-level generation
ultra-imagenGoogle Imagen 4 Ultraprofessional✗Highest quality Google AI
professional-bria-fiboBria FIBOprofessional✗JSON schema rendering
professional-bria-32Bria 3.2professional✗Commercial licensed
premium-gpt-image-1GPT Image 1professional✗OpenAI image generation
pro-flux-11FLUX.1.1 Proprofessional✗Latest FLUX professional
premium-imagen-previewImagen 4 Previewprofessional✗Google Imagen preview
premium-seedream-40Seedream 4.0professional✗Multimodal generation
ultra-fast-imagenImagen 4 Fastfast✗Fastest premium quality
premium-seedream-30Seedream 3.0professional✗Bilingual generation
standard-imagenGoogle Imagen 4professional✗Standard Imagen quality
fast-imagenImagen 4 Fastfast✗Fast premium generation

Note: Premium models do not support the steps parameter and may have higher minimum resolution requirements.

Architectures

FLUX

State-of-the-art diffusion architecture offering excellent photorealism and fast generation. Best for professional photography, product shots, and realistic scenes.

SDXL (Stable Diffusion XL)

Versatile and widely-used architecture supporting diverse styles from photorealism to artistic rendering. Excellent balance of quality, speed, and flexibility.

SD 1.5 (Stable Diffusion 1.5)

Classic diffusion architecture with extensive community support and many specialized variants. Excellent for anime, illustrations, and artistic styles.

Pony

Specialized architecture with unique style characteristics, particularly effective for certain anime and illustration use cases.

Illustrious

Modern architecture optimized for high-quality anime and illustration generation with improved detail and consistency.

Premium

High-end proprietary models from major AI providers (Google, OpenAI, etc.) offering commercial licensing, advanced capabilities, and maximum quality.

Categories

fast

Optimized for speed while maintaining good quality. Ideal for rapid iteration, testing, and high-volume generation.

realistic

Focused on photorealistic output with accurate lighting, textures, and composition. Best for professional photography, product shots, and realistic scenes.

anime

Specialized for anime and manga styles with vibrant colors, characteristic features, and illustration aesthetics.

artistic

Creative and stylized output for artistic applications, concept art, and creative exploration.

professional

High-quality models with commercial licensing, advanced capabilities, and consistent results for professional applications.

Example Usage

Fetching All Models

async function getImageModels() { const response = await fetch('https://api.x-router.ai/v1/images/models'); const data = await response.json(); console.log(`Total models available: ${data.total}`); data.models.forEach(model => { console.log(`${model.name} (${model.id})`); console.log(` Architecture: ${model.architecture}`); console.log(` Category: ${model.category}`); console.log(` Supports steps: ${model.supportsSteps ? 'Yes' : 'No'}`); console.log(` 1024x1024 price: ${model.pricing['1024x1024']}`); }); } getImageModels();

Filtering by Architecture

async function getFLUXModels() { const response = await fetch('https://api.x-router.ai/v1/images/models'); const data = await response.json(); const fluxModels = data.models.filter(m => m.architecture === 'flux'); console.log('FLUX models:'); fluxModels.forEach(model => { console.log(` ${model.name} - ${model.description}`); }); }

Filtering by Category

async function getRealisticModels() { const response = await fetch('https://api.x-router.ai/v1/images/models'); const data = await response.json(); const realisticModels = data.models.filter(m => m.category === 'realistic'); console.log('Realistic models:'); realisticModels.forEach(model => { console.log(` ${model.id}: ${model.name}`); }); }

Checking Steps Support

async function getModelsWithSteps() { const response = await fetch('https://api.x-router.ai/v1/images/models'); const data = await response.json(); const stepsModels = data.models.filter(m => m.supportsSteps); console.log(`${stepsModels.length} models support the steps parameter`); }

Model Selection Tips

  • For photorealism: Choose FLUX or SDXL realistic models
  • For anime/illustration: Choose SD 1.5 anime or Illustrious models
  • For artistic styles: Choose SDXL artistic or SD 1.5 artistic models
  • For speed: Choose models with “fast” in the name or category
  • For commercial use: Consider premium models with licensing
  • For experimentation: Start with popular models like flux-schnell or sdxl-dreamshaper

See the Model Selection Guide for detailed recommendations based on your use case.

Important Notes

  • Model list may expand over time as new models become available
  • Premium models have different capabilities and requirements compared to standard models
  • The supportsSteps field indicates whether the model accepts the steps parameter
  • Pricing varies by resolution and other factors - use the estimate endpoint for accurate costs
Last updated on