"""Constants for Imagen MCP Server."""
from typing import Literal
# Default model for image generation
DEFAULT_MODEL = "imagen-4"
# Default image generation parameters
DEFAULT_SIZE = "1024x1024"
DEFAULT_QUALITY = "standard"
DEFAULT_STYLE = "vivid"
# Supported image sizes
SUPPORTED_SIZES = [
"256x256",
"512x512",
"1024x1024",
"1792x1024",
"1024x1792",
]
# Type aliases for literal types
ImageSize = Literal["256x256", "512x512", "1024x1024", "1792x1024", "1024x1792"]
ImageQuality = Literal["standard", "hd"]
ImageStyle = Literal["vivid", "natural"]
# API configuration
DEFAULT_API_BASE_URL = "https://api.nexos.ai/v1"
# Session configuration
DEFAULT_SESSION_TTL = 3600 # seconds
DEFAULT_MAX_CONCURRENT_SESSIONS = 10
# Batch generation limits
MIN_BATCH_COUNT = 2
MAX_BATCH_COUNT = 10
DEFAULT_BATCH_COUNT = 4
# Timeout configuration
DEFAULT_GENERATION_TIMEOUT = 120.0 # seconds
MIN_TIMEOUT = 1.0
MAX_TIMEOUT = 300.0