package ml // ImageGenResult contiene la imagen generada y su metadata de ejecucion. // ImageBytes transporta los bytes raw del PNG y se excluye del JSON // (campo json:"-") porque viaja por canal binario separado. type ImageGenResult struct { ImageBytes []byte `json:"-"` Format string `json:"format"` Meta map[string]any `json:"meta"` DurationMs int64 `json:"duration_ms"` VramPeakMb *int `json:"vram_peak_mb,omitempty"` }