ai-pp3
Version:
CLI tool combining multimodal AI analysis with RawTherapee's engine to generate optimized PP3 profiles for RAW photography
20 lines (19 loc) • 1.83 kB
TypeScript
import { P3GenerationParameters, MultiGenerationResult, ImageFormat, TiffCompression, BitDepth } from "./types.js";
export { splitContentBySections, splitPP3ContentBySections, splitContentIntoSections, type SectionResult, type SectionWithFilter, } from "./pp3-sections/section-parser.js";
export { createSectionMap, applySectionChanges, applyParameterChanges, reconstructContent, reconstructPP3Content, applyDirectSectionChanges, } from "./pp3-sections/section-manipulation.js";
export { readImageData, readBasePP3Content, createPreviewImage, setupPreviewAndValidation, cleanupPreviewFiles, } from "./file-operations/file-handlers.js";
export { generateAIResponse, processAIGeneration, prepareImageContents, parseBestGenerationIndex, evaluateGenerations, } from "./ai-generation/ai-processor.js";
export { logGenerationProgress, generateSinglePP3Profile, logMultiGenerationAnalysis, logSingleGenerationAnalysis, generateMultiplePP3Profiles, } from "./ai-generation/generation-helpers.js";
/**
* Generates multiple PP3 profiles from a RAW image and selects the best one
*/
export declare function generateMultiPP3FromRawImage({ inputPath, basePP3Path, providerName, visionModel, verbose, keepPreview, prompt, preset, sections, previewQuality, previewFormat, maxRetries, generations, outputFormat, outputQuality, tiffCompression, bitDepth, }: P3GenerationParameters & {
outputFormat?: ImageFormat;
outputQuality?: number;
tiffCompression?: TiffCompression;
bitDepth?: BitDepth;
}): Promise<MultiGenerationResult>;
/**
* Generates a single PP3 profile from a RAW image
*/
export declare function generatePP3FromRawImage({ inputPath, basePP3Path, providerName, visionModel, verbose, keepPreview, prompt, preset, sections, previewQuality, previewFormat, maxRetries, }: P3GenerationParameters): Promise<string>;