Loading...

{
"role": "autonomous_food_visual_designer_ai",
"task": "analyze_text_or_image_and_generate_minimalist_food_or_ingredient_ad",
"inputs": {
"name_input": "ข้าวเหนียวมะม่วง",
"uploaded_image": "[OPTIONAL_USER_UPLOAD: ingredient photo OR dish photo]"
},
"mode_detection": {
"instruction": "Decide whether the target is a SINGLE INGREDIENT or a DISH MENU.",
"rules": [
"If name_input is provided, classify it as 'ingredient' or 'dish' using culinary knowledge.",
"If name_input is missing and uploaded_image is provided, infer whether the image is an ingredient or a prepared dish.",
"If uncertain, default to 'dish' when the image shows a plated/bowled/mixed prepared food; otherwise default to 'ingredient'."
],
"output": "mode = ingredient | dish"
},
"identity_resolution": {
"priority_order": [
"If name_input is provided, use it as the primary identity (ingredient or dish).",
"Else if uploaded_image is provided, infer the most likely identity (ingredient or dish) from the image.",
"Else fallback to a safe Thai default name."
],
"fallback_name_if_no_input": "เมนูอาหาร"
},
"language_control": {
"default_language": "th",
"rule": "If name_input is provided, detect its language and generate all text in that same language only (no mixing). If name_input is NOT provided and identity is inferred from image, use Thai for the inferred name and all text by default."
},
"image_analysis_phase": {
"enabled_when": "uploaded_image is provided",
"instruction": "Analyze the uploaded image to identify the most likely ingredient or dish. If the image contains a prepared dish, infer the dish name first; if not possible, infer the dominant ingredient. Proceed without asking questions.",
"infer": [
"inferred_name_th",
"optional_inferred_name_en",
"mode_guess (ingredient|dish)",
"confidence_level (high/medium/low)",
"visual_evidence (shape, color, texture, garnish, plating cues)"
]
},
"analysis_phase": {
"ingredient_path": {
"enabled_when": "mode = ingredient",
"instruction": "Infer physical structure, color, texture, internal composition, typical taste profile, mouthfeel, culinary usage, and emotional character without asking follow-up questions.",
"derive": [
"outer_skin_characteristics",
"inner_structure_or_flesh",
"natural_color_palette",
"taste_profile",
"texture_or_mouthfeel",
"common_eating_experience",
"ingredient_personality"
]
},
"dish_path": {
"enabled_when": "mode = dish",
"instruction": "Infer the dish’s iconic identity, key ingredients, signature textures, sauce/dressing character, garnish cues, and how it should look at its most appetizing. Do not ask follow-up questions.",
"derive": [
"key_ingredients",
"signature_colors",
"signature_textures",
"sauce_or_dressing_profile",
"garnish_and_herbs",
"serving_vessel (plate/bowl/mortar/cup)",
"steam_or_freshness_cues",
"taste_profile",
"mouthfeel_and_bite",
"dish_personality"
]
}
},
"visual_concept_generation": {
"ingredient_visual": {
"enabled_when": "mode = ingredient",
"display_state": {
"rule": "Present the ingredient in a partially revealed, half-peeled, split, or naturally opened state that best communicates structure and taste.",
"auto_decide": true
},
"reveal_logic": {
"instruction": "Reveal the most visually and sensorially informative internal feature while maintaining realism.",
"auto_decide": true
}
},
"dish_visual": {
"enabled_when": "mode = dish",
"hero_presentation": {
"rule": "Generate the dish in its most iconic, appetizing, photorealistic presentation. Emphasize signature ingredients and textures with premium styling.",
"auto_decide": true
},
"dish_integrity_rules": [
"Dish must look authentic to its cuisine and commonly recognized form.",
"Do not invent bizarre non-food elements or surreal objects; keep it edible and real.",
"Enhance appetizing qualities (freshness, gloss, crunch, steam) without changing the dish identity."
]
}
},
"composition": {
"placement": "centered or subtly off-center (auto-selected)",
"background": {
"type": "pure white",
"color": "#FFFFFF",
"rule": "Background must be completely white with no gradients, textures, props, or environmental elements."
},
"style": "high-end minimalist food/product photography",
"camera": {
"instruction": "Auto-select the best angle for appetite (top-down for mixed salads, 45-degree for bowls/plates, macro for texture emphasis) while staying minimal and clean."
}
},
"lighting": {
"type": "soft natural studio lighting",
"shadow": "very subtle grounding shadow only"
},
"typography_system": {
"text_position_rule": {
"instruction": "Main title and subtitle must always be placed directly below the ingredient/dish.",
"layout_order": ["main_title", "subtitle"],
"alignment": "centered"
},
"main_title": {
"text_rule": "Use the resolved name exactly (user-provided or inferred).",
"font_style": "auto-selected bold or elegant typeface",
"font_color": "derived from the dominant natural color of the ingredient/dish"
},
"subtitle_copy": {
"generation_rule": "Generate a short subtitle that primarily describes taste profile and mouthfeel, optionally blended with eating experience or culinary behavior.",
"priority": [
"taste (หวาน/เปรี้ยว/ขม/เผ็ด/อูมามิ)",
"texture/mouthfeel (กรอบ/นุ่ม/ฉ่ำ/ครีมมี่/เด้ง/แซ่บ)",
"common eating experience (คำแรกให้ความรู้สึกยังไง/กินแล้วติดอะไร)"
],
"tone": "minimal, sensory-driven, intelligent, brand-safe",
"length": "single short sentence or phrase",
"language_rule": "Must follow language_control (no mixing)."
},
"subtitle_font": {
"font_style": "thin or regular",
"font_color": "dark gray"
}
},
"overall_style": {
"design_language": "premium minimalist advertising",
"aesthetic_reference": [
"Japanese clean design",
"editorial food still life",
"modern menu branding"
],
"texture": "clean, precise, refined, high-end"
},
"output_rules": {
"no_questions": true,
"no_language_explanations": true,
"no_multiple_variations": true,
"single_image_only": true,
"if_inference_low_confidence": "Proceed with best-guess Thai name and keep subtitle more general but still taste-led."
}
}
{
"role": "autonomous_food_visual_designer_ai",
"task": "analyze_text_or_image_and_generate_minimalist_food_or_ingredient_ad",
"inputs": {
"name_input": "ข้าวเหนียวมะม่วง",
"uploaded_image": "[OPTIONAL_USER_UPLOAD: ingredient photo OR dish photo]"
},
"mode_detection": {
"instruction": "Decide whether the target is a SINGLE INGREDIENT or a DISH MENU.",
"rules": [
"If name_input is provided, classify it as 'ingredient' or 'dish' using culinary knowledge.",
"If name_input is missing and uploaded_image is provided, infer whether the image is an ingredient or a prepared dish.",
"If uncertain, default to 'dish' when the image shows a plated/bowled/mixed prepared food; otherwise default to 'ingredient'."
],
"output": "mode = ingredient | dish"
},
"identity_resolution": {
"priority_order": [
"If name_input is provided, use it as the primary identity (ingredient or dish).",
"Else if uploaded_image is provided, infer the most likely identity (ingredient or dish) from the image.",
"Else fallback to a safe Thai default name."
],
"fallback_name_if_no_input": "เมนูอาหาร"
},
"language_control": {
"default_language": "th",
"rule": "If name_input is provided, detect its language and generate all text in that same language only (no mixing). If name_input is NOT provided and identity is inferred from image, use Thai for the inferred name and all text by default."
},
"image_analysis_phase": {
"enabled_when": "uploaded_image is provided",
"instruction": "Analyze the uploaded image to identify the most likely ingredient or dish. If the image contains a prepared dish, infer the dish name first; if not possible, infer the dominant ingredient. Proceed without asking questions.",
"infer": [
"inferred_name_th",
"optional_inferred_name_en",
"mode_guess (ingredient|dish)",
"confidence_level (high/medium/low)",
"visual_evidence (shape, color, texture, garnish, plating cues)"
]
},
"analysis_phase": {
"ingredient_path": {
"enabled_when": "mode = ingredient",
"instruction": "Infer physical structure, color, texture, internal composition, typical taste profile, mouthfeel, culinary usage, and emotional character without asking follow-up questions.",
"derive": [
"outer_skin_characteristics",
"inner_structure_or_flesh",
"natural_color_palette",
"taste_profile",
"texture_or_mouthfeel",
"common_eating_experience",
"ingredient_personality"
]
},
"dish_path": {
"enabled_when": "mode = dish",
"instruction": "Infer the dish’s iconic identity, key ingredients, signature textures, sauce/dressing character, garnish cues, and how it should look at its most appetizing. Do not ask follow-up questions.",
"derive": [
"key_ingredients",
"signature_colors",
"signature_textures",
"sauce_or_dressing_profile",
"garnish_and_herbs",
"serving_vessel (plate/bowl/mortar/cup)",
"steam_or_freshness_cues",
"taste_profile",
"mouthfeel_and_bite",
"dish_personality"
]
}
},
"visual_concept_generation": {
"ingredient_visual": {
"enabled_when": "mode = ingredient",
"display_state": {
"rule": "Present the ingredient in a partially revealed, half-peeled, split, or naturally opened state that best communicates structure and taste.",
"auto_decide": true
},
"reveal_logic": {
"instruction": "Reveal the most visually and sensorially informative internal feature while maintaining realism.",
"auto_decide": true
}
},
"dish_visual": {
"enabled_when": "mode = dish",
"hero_presentation": {
"rule": "Generate the dish in its most iconic, appetizing, photorealistic presentation. Emphasize signature ingredients and textures with premium styling.",
"auto_decide": true
},
"dish_integrity_rules": [
"Dish must look authentic to its cuisine and commonly recognized form.",
"Do not invent bizarre non-food elements or surreal objects; keep it edible and real.",
"Enhance appetizing qualities (freshness, gloss, crunch, steam) without changing the dish identity."
]
}
},
"composition": {
"placement": "centered or subtly off-center (auto-selected)",
"background": {
"type": "pure white",
"color": "#FFFFFF",
"rule": "Background must be completely white with no gradients, textures, props, or environmental elements."
},
"style": "high-end minimalist food/product photography",
"camera": {
"instruction": "Auto-select the best angle for appetite (top-down for mixed salads, 45-degree for bowls/plates, macro for texture emphasis) while staying minimal and clean."
}
},
"lighting": {
"type": "soft natural studio lighting",
"shadow": "very subtle grounding shadow only"
},
"typography_system": {
"text_position_rule": {
"instruction": "Main title and subtitle must always be placed directly below the ingredient/dish.",
"layout_order": ["main_title", "subtitle"],
"alignment": "centered"
},
"main_title": {
"text_rule": "Use the resolved name exactly (user-provided or inferred).",
"font_style": "auto-selected bold or elegant typeface",
"font_color": "derived from the dominant natural color of the ingredient/dish"
},
"subtitle_copy": {
"generation_rule": "Generate a short subtitle that primarily describes taste profile and mouthfeel, optionally blended with eating experience or culinary behavior.",
"priority": [
"taste (หวาน/เปรี้ยว/ขม/เผ็ด/อูมามิ)",
"texture/mouthfeel (กรอบ/นุ่ม/ฉ่ำ/ครีมมี่/เด้ง/แซ่บ)",
"common eating experience (คำแรกให้ความรู้สึกยังไง/กินแล้วติดอะไร)"
],
"tone": "minimal, sensory-driven, intelligent, brand-safe",
"length": "single short sentence or phrase",
"language_rule": "Must follow language_control (no mixing)."
},
"subtitle_font": {
"font_style": "thin or regular",
"font_color": "dark gray"
}
},
"overall_style": {
"design_language": "premium minimalist advertising",
"aesthetic_reference": [
"Japanese clean design",
"editorial food still life",
"modern menu branding"
],
"texture": "clean, precise, refined, high-end"
},
"output_rules": {
"no_questions": true,
"no_language_explanations": true,
"no_multiple_variations": true,
"single_image_only": true,
"if_inference_low_confidence": "Proceed with best-guess Thai name and keep subtitle more general but still taste-led."
}
}
Modify the style keywords as needed to match your desired output. (แก้ไขคำสำคัญพื่อให้ตรงกับผลลัพธ์ที่คุณต้องการ)