diff --git a/components/ChannelEdit.js b/components/ChannelEdit.js index c1dc73a..3a576a1 100644 --- a/components/ChannelEdit.js +++ b/components/ChannelEdit.js @@ -80,6 +80,7 @@ export default function ChannelEdit({ channel }) { const [imageStyle, setImageStyle] = useState(style.image_style || 'flat-illustration'); const [imagePalette, setImagePalette] = useState(style.image_palette || 'auto'); const [imageCustomColors, setImageCustomColors] = useState(style.image_custom_colors || ''); + const [imagePromptInstructions, setImagePromptInstructions] = useState(style.image_prompt_instructions || ''); const [saving, setSaving] = useState(false); const [deleting, setDeleting] = useState(false); @@ -103,6 +104,7 @@ export default function ChannelEdit({ channel }) { image_style: imageStyle, image_palette: imagePalette, image_custom_colors: imageCustomColors.trim() || null, + image_prompt_instructions: imagePromptInstructions.trim() || null, }, }; const res = await fetch(`/api/channels/${channel.id}`, { @@ -329,6 +331,26 @@ export default function ChannelEdit({ channel }) { + {/* Инструкции для AI */} +
+

+ + Инструкции для AI +

+

+ Опиши, какими должны быть картинки. Например: «тёмный фон, минималистичные 3D-объекты, технологичная эстетика, без людей». + Применяется ко всем постам и обложкам статей этого канала. +

+