Цветная разметка + Json + Chat Gpt

Цветная разметка + Json + Chat Gpt

{
"type": "image_to_image_layout_prompt",
"input_image_role": "Use the uploaded color layout image only as a placement map, not as a visual style reference.",
"prompt": "Create a highly realistic daylight beach photograph. Replace the flat yellow background with natural golden beach sand and a soft ocean/coastal atmosphere. Use the colored regions as strict placement masks: place a realistic dinosaur inside the lime green shape in the upper-left area; place a realistic cat inside the cyan-blue oval area in the middle-right; place a detailed sand castle inside the red shape along the bottom foreground. The objects must fit naturally into the beach scene with realistic scale, shadows, lighting, contact with sand, perspective, and photographic detail. Keep the overall composition matching the uploaded layout.",
"mask_map": {
"lime_green_region": {
"target_object": "realistic dinosaur",
"placement": "upper-left green blob",
"notes": "The dinosaur should stay fully inside the green area and look naturally present on the beach."
},
"cyan_blue_region": {
"target_object": "realistic cat",
"placement": "middle-right blue oval",
"notes": "The cat should stay inside the blue area, sitting or standing naturally on the sand."
},
"red_region": {
"target_object": "sand castle",
"placement": "bottom red band",
"notes": "The sand castle should occupy the red foreground area and look made from beach sand."
},
"yellow_background": {
"target_scene": "realistic sandy beach",
"notes": "Convert the yellow background into natural sand with beach lighting and texture."
}
},
"style": {
"medium": "realistic photography",
"lighting": "natural sunlight",
"quality": "high detail, sharp focus, realistic shadows, natural colors",
"camera": "wide-angle beach photo, eye-level perspective"
},
"negative_prompt": "cartoon, illustration, 3D render, toy-like dinosaur, fantasy colors, flat color blocks, visible mask colors, unrealistic proportions, floating objects, bad shadows, blurry, low resolution, text, watermark"
}

Для теста просим создать изображение

Цветная разметка + Json + Chat Gpt
Цветная разметка + Json + Chat Gpt

P.S. По сути вы можете нарисовать такую картинку и попросить сгенерить ее и без json. Я просто хотел показать что такая разметка тоже работает и если к примеру вы навайбкодите свое приложение в CODEX - то сможете использовать не только прямоугольные окна с описанием но и любые маркеры (не только цветные пятна) которые в голову придут (главное прояснить их значение для модели в json файле)...

7