// The fixed image size used by collection-mode image tools. Drives:
//   - the `size` field on /images/generations and /images/edits requests
//   - the inline `height` on rendered collection images
//   - the `{image_size}` placeholder in toolDefinitions.json descriptions
//
// The value lives in toolDefinitions.json — the single source of truth shared
// by the desktop app (here) and the C++ server-side orchestrator — so the two
// sides cannot drift. 2:1 aspect ratio with dimensions that are valid for
// SD/SDXL/Flux variants. See SDServer::resolve_size for
// the server-side passthrough.

import toolDefinitions from './toolDefinitions.json';

export const COLLECTION_IMAGE_SIZE = toolDefinitions.image_size;

const [w, h] = COLLECTION_IMAGE_SIZE.split('x').map(Number);
export const COLLECTION_IMAGE_WIDTH = w;
export const COLLECTION_IMAGE_HEIGHT = h;
