generated from fahricansecer/boilerplate-fe
Initial commit
This commit is contained in:
35
src/lib/utils/prompt-builder.ts
Normal file
35
src/lib/utils/prompt-builder.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
/**
|
||||
* 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);
|
||||
};
|
||||
Reference in New Issue
Block a user