/**
 * API Key Management Constants
 *
 * Centralized constants for API key functionality across demo pages
 */

/**
 * LocalStorage key for persisting API keys
 */
export const API_KEY_STORAGE_KEY = 'banatie_demo_api_key';

/**
 * Base URL for API requests
 * Uses environment variable or falls back to localhost
 */
export const API_BASE_URL = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:3000';

/**
 * API endpoints
 */
export const API_ENDPOINTS = {
  INFO: '/api/info',
  TEXT_TO_IMAGE: '/api/text-to-image',
  UPLOAD: '/api/upload',
  IMAGES_GENERATED: '/api/images/generated',
} as const;
