Loading...

{
"system_core": {
"mode": "Hybrid Professional Studio",
"quality_standard": "Commercial Masterpiece",
"fail_safe_mechanism": "ALWAYS override bad user inputs with professional aesthetic rules."
},
"user_inputs": {
"source_image": "{UPLOAD_IMAGE_OR_NULL}",
"dish_name": "{argument name=\"dish_name\" description=\"Dish name (Used if no image)\" default=\"\"}",
"mood_tone": "{argument name=\"mood_tone\" description=\"Optional vibe (e.g., Luxury, Morning). Defaults to 'Gourmet'.\" default=\"\"}",
"scene_props": "{argument name=\"scene_props\" description=\"Optional surroundings. Defaults to 'Curated Studio'.\" default=\"\"}"
},
"aesthetic_enforcer": {
"lighting_setup": "Professional studio lighting, soft directional light from left, subtle rim light to separate subject from background, warm reflector fill.",
"camera_gear": "Shot on Phase One XF IQ4 150MP, 80mm Schneider Kreuznach lens, f/2.8 aperture for creamy bokeh.",
"post_processing": "Color graded, high contrast, sharp details, vibrant but natural colors, uncompressed RAW quality."
},
"logic_controller": {
"scenario_A_image_upload": {
"check": "User provides 'source_image'",
"instruction": "Keep the food subject exactly as is, but harmonize the lighting of the GENERATED background to match the 'aesthetic_enforcer' standards. Enhance the surroundings to look like a high-end restaurant or studio."
},
"scenario_B_text_only": {
"check": "User provides NO image",
"instruction": "Generate the food from scratch. The food MUST look appetizing, glistening, and perfectly plated. Use the 'dish_name' provided. If 'scene_props' is empty, AUTO-SELECT a culturally relevant but 'Clean & Minimal' background to ensure the food stands out."
}
},
"smart_scene_selector": {
"rule": "If 'scene_props' is EMPTY, pick one of these SAFE presets based on dish type:",
"presets": [
{
"type": "Street Food",
"scene": "Clean wooden table, blurred warm market lights in background (bokeh), minimal styling"
},
{
"type": "Luxury/Fine Dining",
"scene": "Dark textured slate surface, moody lighting, elegant cutlery, wine glass in background"
},
{
"type": "Cafe/Bakery",
"scene": "White marble top, morning sunlight, soft shadows, fresh flowers in background"
}
]
},
"final_prompt_structure": {
"template": "A commercial food photography masterpiece of [dish_name OR source_image subject]. Placed in a [mood_tone OR 'Sophisticated'] setting featuring [scene_props OR smart_scene_selector result]. \n\n**MANDATORY STYLE:** {aesthetic_enforcer.lighting_setup}, {aesthetic_enforcer.camera_gear}, {aesthetic_enforcer.post_processing}. \n\n**COMPOSITION:** Rule of thirds, clean background, sharp focus on food texture, no clutter. 8k resolution, highly detailed."
}
}{
"system_core": {
"mode": "Hybrid Professional Studio",
"quality_standard": "Commercial Masterpiece",
"fail_safe_mechanism": "ALWAYS override bad user inputs with professional aesthetic rules."
},
"user_inputs": {
"source_image": "{UPLOAD_IMAGE_OR_NULL}",
"dish_name": "{argument name=\"dish_name\" description=\"Dish name (Used if no image)\" default=\"\"}",
"mood_tone": "{argument name=\"mood_tone\" description=\"Optional vibe (e.g., Luxury, Morning). Defaults to 'Gourmet'.\" default=\"\"}",
"scene_props": "{argument name=\"scene_props\" description=\"Optional surroundings. Defaults to 'Curated Studio'.\" default=\"\"}"
},
"aesthetic_enforcer": {
"lighting_setup": "Professional studio lighting, soft directional light from left, subtle rim light to separate subject from background, warm reflector fill.",
"camera_gear": "Shot on Phase One XF IQ4 150MP, 80mm Schneider Kreuznach lens, f/2.8 aperture for creamy bokeh.",
"post_processing": "Color graded, high contrast, sharp details, vibrant but natural colors, uncompressed RAW quality."
},
"logic_controller": {
"scenario_A_image_upload": {
"check": "User provides 'source_image'",
"instruction": "Keep the food subject exactly as is, but harmonize the lighting of the GENERATED background to match the 'aesthetic_enforcer' standards. Enhance the surroundings to look like a high-end restaurant or studio."
},
"scenario_B_text_only": {
"check": "User provides NO image",
"instruction": "Generate the food from scratch. The food MUST look appetizing, glistening, and perfectly plated. Use the 'dish_name' provided. If 'scene_props' is empty, AUTO-SELECT a culturally relevant but 'Clean & Minimal' background to ensure the food stands out."
}
},
"smart_scene_selector": {
"rule": "If 'scene_props' is EMPTY, pick one of these SAFE presets based on dish type:",
"presets": [
{
"type": "Street Food",
"scene": "Clean wooden table, blurred warm market lights in background (bokeh), minimal styling"
},
{
"type": "Luxury/Fine Dining",
"scene": "Dark textured slate surface, moody lighting, elegant cutlery, wine glass in background"
},
{
"type": "Cafe/Bakery",
"scene": "White marble top, morning sunlight, soft shadows, fresh flowers in background"
}
]
},
"final_prompt_structure": {
"template": "A commercial food photography masterpiece of [dish_name OR source_image subject]. Placed in a [mood_tone OR 'Sophisticated'] setting featuring [scene_props OR smart_scene_selector result]. \n\n**MANDATORY STYLE:** {aesthetic_enforcer.lighting_setup}, {aesthetic_enforcer.camera_gear}, {aesthetic_enforcer.post_processing}. \n\n**COMPOSITION:** Rule of thirds, clean background, sharp focus on food texture, no clutter. 8k resolution, highly detailed."
}
}Modify the style keywords as needed to match your desired output. (แก้ไขคำสำคัญพื่อให้ตรงกับผลลัพธ์ที่คุณต้องการ)