UNPKG

ai-pp3

Version:

CLI tool combining multimodal AI analysis with RawTherapee's engine to generate optimized PP3 profiles for RAW photography

14 lines (13 loc) 4.44 kB
export declare const COMMON_PARAMETER_RANGES = "\n[Exposure]\n- Clip: 0.0 to 0.2 (controls highlight clipping)\n- Compensation: -5.0 to 5.0 (exposure adjustment)\n- Brightness: -100 to 100 (overall brightness)\n- Contrast: -100 to 100 (overall contrast)\n- Saturation: -100 to 100 (color intensity)\n- Black: -16384 to 16384 (black point adjustment)\n- HighlightCompr: 0 to 100 (highlight compression)\n- ShadowCompr: 0 to 100 (shadow compression)\n\n[White Balance]\n- Temperature: 1500 to 25000 (color temperature in Kelvin)\n- Green: 0.2 to 2.5 (green-magenta tint)\n\n[Sharpening]\n- Contrast: 0 to 200 (sharpening contrast)\n- Radius: 0.3 to 3.0 (sharpening radius)\n- Amount: 0 to 500 (sharpening strength)\n- HalocontrolAmount: 0 to 100 (halo reduction)\n\n[Vibrance]\n- Pastels: -100 to 100 (pastel colors enhancement)\n- Saturated: -100 to 100 (saturated colors enhancement)\n\n[Dehaze]\n- Strength: 0 to 100 (haze removal intensity)\n- Depth: 0 to 100 (depth of effect)\n- Saturation: 0 to 100 (color saturation in dehazed areas)\n\n[Shadows & Highlights]\n- Highlights: -100 to 100 (highlight recovery)\n- Shadows: -100 to 100 (shadow recovery)\n- Radius: 0 to 100 (effect radius)\n\n[Local Contrast]\n- Radius: 0 to 100 (effect radius)\n- Amount: 0.0 to 2.0 (effect strength)\n- Darkness: 0.0 to 2.0 (dark areas enhancement)\n- Lightness: 0.0 to 2.0 (light areas enhancement)\n"; export declare const COLOR_TONING_RANGES = "\n[ColorToning]\n- Redlow: -100 to 100 (red tones in shadows)\n- Greenlow: -100 to 100 (green tones in shadows)\n- Bluelow: -100 to 100 (blue tones in shadows)\n- Redhigh: -100 to 100 (red tones in highlights)\n- Greenhigh: -100 to 100 (green tones in highlights)\n- Bluehigh: -100 to 100 (blue tones in highlights)\n- Balance: -100 to 100 (balance between shadows and highlights)\n"; export declare const TECHNICAL_PARAMETER_RANGES = "\n[Directional Pyramid Denoising]\n- Luma: 0 to 100 (luminance noise reduction)\n- Chroma: 0 to 100 (color noise reduction)\n- Gamma: 1.0 to 3.0 (gamma adjustment for noise detection)\n- Passes: 1 to 3 (number of denoising passes)\n\n[Impulse Denoising]\n- Threshold: 0 to 100 (threshold for impulse noise detection)\n\n[PostDemosaicSharpening]\n- Contrast: 0 to 200 (contrast enhancement)\n- DeconvRadius: 0.4 to 2.0 (deconvolution radius)\n- DeconvIterations: 5 to 100 (deconvolution iterations)\n"; export declare const COMMON_KEY_RULES = "\nKey Rules:\n1. Only modify existing parameter values\n2. Keep original section order and parameter order\n3. Make bold, creative enhancements\n4. Only include parameters you want to change\n"; export declare const COMMON_OUTPUT_RULES = "\n[Additional changes following these rules]\n- Only include parameters you want to change\n- Never change section headers\n- Include only the sections that need changes\n\nCurrent pp3 to transform:\n"; export declare const AGGRESSIVE_PROMPT: string; export declare const CREATIVE_PROMPT: string; export declare const BALANCED_PROMPT: string; export declare const TECHNICAL_PROMPT: string; export declare const PROMPTS: Record<string, string>; export declare const BASE_PROMPT: string; export declare const EVALUATION_PROMPT = "You are an expert photography and image processing evaluator. Your task is to analyze multiple processed versions of the same RAW image and determine which one is the best overall result.\n\nEVALUATION CRITERIA:\n1. **Technical Quality**: Exposure, contrast, color accuracy, noise levels, sharpness\n2. **Artistic Merit**: Visual appeal, mood, creative interpretation\n3. **Processing Balance**: Avoiding over-processing while maximizing image potential\n4. **Detail Preservation**: Maintaining important details in highlights and shadows\n\nINSTRUCTIONS:\n- You will be shown multiple processed versions of the same image\n- Each image is labeled with its generation number (e.g., \"Generation 1\", \"Generation 2\", etc.)\n- Analyze each image carefully for the criteria above\n- Choose the BEST overall result\n- Provide a clear, detailed explanation of your choice\n\nOUTPUT FORMAT:\n\nANALYSIS:\n[Detailed analysis of each generation's strengths and weaknesses]\n\nREASONING:\n[Clear explanation of why the chosen generation is the best, referencing specific visual qualities and technical aspects]\n\nBEST_GENERATION: [number]\n\nPlease evaluate the following processed images:"; export declare function getPromptByPreset(preset?: string): string;