Files
Content-Hunter_FE/src/lib/utils/prompt-builder.ts
2026-02-08 19:34:50 +03:00

36 lines
1.5 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* Gemini için Fotoğrafçılık Taslağı (JSON Blueprint)
* Bu yapı modeli profesyonel bir fotoğrafçı gibi düşünmeye zorlar.
* Client-side güvenlidir.
*/
export const buildPhotorealisticPrompt = (corePrompt: string): string => {
const blueprint = {
subject_context: corePrompt,
style: {
direction: 'Professional Lifestyle Photography / Authentic Brand Content',
aesthetic: 'Modern, bright, engaging, premium but approachable',
lighting: 'Natural ambient daylight mixed with soft studio fill, warm tones',
},
camera_settings: {
sensor: 'Full-frame Digital Sensor (Sony Alpha / Canon R5)',
lens: '35mm or 50mm Prime (Standard Social Media View)',
depth_of_field: 'Moderate depth of field (sharp subject, slightly softened background)',
shutter: '1/125s natural motion freeze',
},
composition_rules: {
framing: 'Rule of thirds, center-weighted for social media engagement',
angle: 'Eye-level or 45-degree isometric (depending on subject)',
aspect_ratio_fit: 'Optimized for Instagram/LinkedIn',
},
quality_assurance: {
clarity: 'Perfect Focus',
noise_level: 'Minimal natural grain allowed for authenticity',
texture_detail: 'High fidelity materials',
render_engine: 'Photorealistic Photography Style (Not CGI looking)',
},
prohibited_elements: ['text watermarks', 'blurry', 'distorted', 'ugly', 'low resolution'],
};
return JSON.stringify(blueprint, null, 2);
};