از پایه تا معماری حرفهای برای تولید خودکار پست شبکه اجتماعی
باید پروژه از همان ابتدا نسخهپذیر، قابل نگهداری و روشن تعریف شود.
{
"project_metadata": {
"title": "string",
"version": "2.0",
"type": "social_media_post",
"dimensions": { "width": 1080, "height": 1080, "unit": "px" },
"language": "fa-IR",
"target_audience": ["مدیران", "دانشجویان"]
}
}
یک تم خوب باید ۵ لایه داشته باشد: توصیف، کلیدواژه، پالت، نورپردازی، ترکیببندی. این باعث میشود AI دقیقتر تصویرسازی کند.
{
"visual_style": {
"theme": {
"description": "futuristic cyber UI",
"keywords": ["holographic", "neon", "data visualization"],
"color_palette": [{
"primary": "#4F46E5",
"secondary": "#EC4899",
"accent": "#10B981",
"background": "#111827",
"text_primary": "#F9FAFB"
}],
"lighting": { "type": "neon", "direction": "top-down", "intensity": "medium" },
"composition": { "layout_type": "asymmetrical", "focus_point": "center_left" }
}
}
}
{
"background": {
"type": "generated_image",
"description": "abstract neural data mesh",
"blur_level": 0.1,
"opacity": 1.0,
"noise_level": 0.05
}
}
اینجا خروجی حرفهای میشود: موقعیت، اندازه، استروک، سایه و شفافیت دقیق.
{
"main_subjects": [{
"id": "subject_1",
"type": "abstract_form",
"position": { "x": "center", "y": 400 },
"scale": 0.8,
"opacity": 0.9
}],
"graphic_elements": [{
"id": "info_box_1",
"type": "shape",
"position": { "x": 80, "y": 750, "coordinates_unit": "px" },
"size": { "width": 400, "height": 200, "unit": "px" },
"style": {
"fill_color": "rgba(23,37,60,0.5)",
"stroke": { "color": "#4F46E5", "width": 2, "style": "solid" }
}
}]
}
{
"typography": [{
"id": "main_title",
"content": "وبینار تخصصی\\nهوش مصنوعی",
"role": "title",
"font_family": "Vazirmatn",
"font_size": 72,
"font_weight": "900",
"alignment": "right",
"position": { "x": 1000, "y": 150, "anchor": "top_right" },
"effects": [{ "type": "text_shadow", "color": "#EC4899", "blur_radius": 10 }]
}]
}
برای شبکه اجتماعی: PNG + sRGB. برای چاپ: CMYK.
تغییرات ساختار قالب را با `version` مدیریت کن.
{
"project_metadata": {
"title": "وبینار تخصصی هوش مصنوعی: آینده کسبوکار",
"version": "2.0",
"type": "social_media_post",
"dimensions": { "width": 1080, "height": 1080, "unit": "px" },
"language": "fa-IR",
"target_audience": ["مدیران کسبوکار", "علاقهمندان به تکنولوژی", "دانشجویان"]
},
"visual_style": {
"theme": {
"description": "تم آیندهنگر و فناورانه",
"keywords": ["futuristic", "cyberpunk", "holographic UI"],
"color_palette": [{
"name": "Primary Theme",
"primary": "#4F46E5",
"secondary": "#EC4899",
"accent": "#10B981",
"background": "#111827",
"text_primary": "#F9FAFB"
}],
"lighting": { "type": "neon", "direction": "top-down", "intensity": "medium" },
"composition": { "layout_type": "asymmetrical", "negative_space_level": "medium", "focus_point": "center_left" }
}
},
"background": {
"type": "generated_image",
"description": "پسزمینه انتزاعی شبکه عصبی داده",
"blur_level": 0.1,
"opacity": 1,
"noise_level": 0.05
},
"main_subjects": [{
"id": "subject_1",
"type": "abstract_form",
"description": "مغز دیجیتال هولوگرافیک",
"action_or_pose": "pulsating",
"emotion": ["calm", "intelligent", "powerful"],
"position": { "x": "center", "y": 400 },
"scale": 0.8,
"rotation": 0,
"opacity": 0.9
}],
"graphic_elements": [{
"id": "info_box_1",
"type": "shape",
"description": "کادر اطلاعات سخنران",
"position": { "x": 80, "y": 750, "coordinates_unit": "px" },
"size": { "width": 400, "height": 200, "unit": "px" },
"style": {
"fill_color": "rgba(23, 37, 60, 0.5)",
"stroke": { "color": "#4F46E5", "width": 2, "style": "solid" },
"shadow": { "enabled": true, "color": "#EC4899", "offset_x": 0, "offset_y": 0, "blur_radius": 15 }
},
"rotation": 0,
"opacity": 0.85
}],
"typography": [{
"id": "main_title",
"content": "وبینار تخصصی\\nهوش مصنوعی",
"role": "title",
"font_family": "Vazirmatn",
"font_size": 72,
"font_weight": "900",
"color": "#F9FAFB",
"alignment": "right",
"line_height": 1.2,
"letter_spacing": -1,
"position": { "x": 1000, "y": 150, "anchor": "top_right" },
"background_shape": "none",
"effects": [{ "type": "text_shadow", "color": "#EC4899", "offset_x": 0, "offset_y": 0, "blur_radius": 10 }]
}],
"output": { "format": "PNG", "quality": 100, "color_profile": "sRGB" }
}
| چالش | راهحل سریع |
|---|---|
| رزولوشنهای مختلف | استفاده ترکیبی از مختصات معنایی + عددی |
| بههمریختگی رنگ | تعریف palette + fallback رنگ متنی |
| غیرقابلخواندن شدن متن | text shadow + contrast check |
| تغییرات زیاد کمپین | نسخهبندی قالب و ارثبری style |