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]fastQuick iterations, testing, general use
flux-devFLUX.1 [dev]realisticBalanced quality and speed
flux-hidream-fastHiDream FLUX FastfastFast high-quality generation
flux-hidream-devHiDream FLUX DevrealisticAdvanced photorealism
flux-hidream-fullHiDream FLUX FullrealisticMaximum quality photorealism
flux-communityCommunity FLUXrealisticCommunity-trained variant
flux-kreaKrea FLUXrealisticPhotorealistic rendering
flux-juggernaut-proJuggernaut Pro FLUXprofessionalProfessional quality
flux-juggernaut-lightningJuggernaut LightningfastUltra-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 V4realisticCinematic photorealism
sdxl-realvis-v5RealVisXL V5realisticLatest photorealistic updates
sdxl-dreamshaperDreamShaper XLartisticMost popular SDXL, versatile
sdxl-juggernaut-11Juggernaut XIrealisticImproved photorealism
sdxl-juggernaut-10Juggernaut XrealisticProfessional photography
sdxl-proteus-02Proteus 0.2artisticCreative styles
sdxl-proteus-03Proteus 0.3artisticEnhanced creativity
sdxl-nightvision-xlNightVision XLartisticDark atmospheric scenes
sdxl-newreality-xlNewReality XLrealisticModern realistic style
sdxl-colorful-xlColorful XLartisticVibrant color generation
sdxl-animagine-v3-1Animagine XL v3.1animeTop anime SDXL model
sdxl-realism-engine-v3Realism Engine v3realisticHyperrealistic textures
sdxl-copax-timeless-v12Copax Timeless v12realisticTimeless photography
sdxl-albedobase-xl-v3AlbedoBase XL v3realisticNatural lighting
sdxl-duchaiten-v3DucHaiten v3artisticArtistic rendering

SD 1.5 Realistic Models (12 models)

Classic Stable Diffusion 1.5 models for realistic imagery.

Model IDNameCategorySteps SupportBest For
sd15-dreamshaper-v8DreamShaper v8realisticMost popular SD 1.5
sd15-realistic-vision-v6Realistic Vision v6realisticLatest realistic updates
sd15-realistic-vision-v5-1Realistic Vision v5.1realisticProven photorealism
sd15-realistic-vision-v2Realistic Vision v2realisticClassic realistic style
sd15-realistic-vision-v1-4Realistic Vision v1.4realisticOriginal realistic vision
sd15-epicrealismepiCRealismrealisticHyperrealistic professional
sd15-absolute-reality-v1-8-1AbsoluteReality v1.8.1realisticHigh fidelity realism
sd15-majicmix-realisticMajicMix RealisticrealisticAsian portrait specialist
sd15-cyberrealistic-v4-2CyberRealistic v4.2realisticModern realistic style
sd15-van-gogh-diffusionVan Gogh DiffusionartisticVan Gogh painting style
sd15-edgeof-realismEdge of RealismrealisticPhotographic realism
sd15-deliberate-v3Deliberate v3realisticBalanced 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 v3animePopular anime, vibrant
sd15-rev-animatedReV AnimatedanimeAnimated illustration
sd15-dark-sushi-mixDark Sushi MixanimeDark anime aesthetic
sd15-anything-v5Anything v5animeVersatile anime model
sd15-openjourney-v4Openjourney v4artisticMidjourney-like style
sd15-openjourneyOpenjourneyartisticCreative exploration
sd15-analog-diffusionAnalog DiffusionartisticAnalog film photography

Pony & Illustrious Models (3 models)

Specialized architectures for unique styles.

Model IDNameCategorySteps SupportBest For
pony-autism-mixAutismMix SDXLanimePony-based anime
pony-realismPony RealismrealisticPony architecture realism
illustrious-mistoon-animeMistoon AnimeanimeModern anime style

Premium Models (12 models)

High-end models with advanced capabilities and commercial licensing.

Model IDNameCategorySteps SupportBest For
premium-imagen-30Ideogram 3.0professionalDesign-level generation
ultra-imagenGoogle Imagen 4 UltraprofessionalHighest quality Google AI
professional-bria-fiboBria FIBOprofessionalJSON schema rendering
professional-bria-32Bria 3.2professionalCommercial licensed
premium-gpt-image-1GPT Image 1professionalOpenAI image generation
pro-flux-11FLUX.1.1 ProprofessionalLatest FLUX professional
premium-imagen-previewImagen 4 PreviewprofessionalGoogle Imagen preview
premium-seedream-40Seedream 4.0professionalMultimodal generation
ultra-fast-imagenImagen 4 FastfastFastest premium quality
premium-seedream-30Seedream 3.0professionalBilingual generation
standard-imagenGoogle Imagen 4professionalStandard Imagen quality
fast-imagenImagen 4 FastfastFast 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