diff --git a/lang/en/automations.php b/lang/en/automations.php index 308f748e..195fabdc 100644 --- a/lang/en/automations.php +++ b/lang/en/automations.php @@ -285,6 +285,7 @@ 'use_brand_voice_hint' => 'Apply your brand description and voice. Turn off for faithful curation of third-party sources (news, RSS).', 'use_brand_visuals' => 'Use brand visuals', 'use_brand_visuals_hint' => 'Steer AI images with your brand colors and identity. Turn off for neutral imagery driven only by the post topic.', + 'style' => 'Style', 'account_summary' => ':count account · :format|:count accounts · :format', 'formats' => [ 'single' => 'single', diff --git a/lang/es/automations.php b/lang/es/automations.php index 0371e776..9313bf82 100644 --- a/lang/es/automations.php +++ b/lang/es/automations.php @@ -285,6 +285,7 @@ 'use_brand_voice_hint' => 'Aplica la descripción y la voz de tu marca. Desactiva para curaduría fiel de fuentes de terceros (noticias, RSS).', 'use_brand_visuals' => 'Usar visual de marca', 'use_brand_visuals_hint' => 'Guía las imágenes de IA con los colores e identidad de tu marca. Desactiva para imágenes neutrales, guiadas solo por el tema del post.', + 'style' => 'Estilo', 'account_summary' => ':count cuenta · :format|:count cuentas · :format', 'formats' => [ 'single' => 'único', diff --git a/lang/pt-BR/automations.php b/lang/pt-BR/automations.php index d937d8f0..1b971194 100644 --- a/lang/pt-BR/automations.php +++ b/lang/pt-BR/automations.php @@ -285,6 +285,7 @@ 'use_brand_voice_hint' => 'Aplica a descrição e a voz da sua marca. Desligue para curadoria fiel de fontes de terceiros (notícias, RSS).', 'use_brand_visuals' => 'Usar visual da marca', 'use_brand_visuals_hint' => 'Guia as imagens de IA com as cores e identidade da sua marca. Desligue para imagens neutras, guiadas só pelo tema do post.', + 'style' => 'Estilo', 'account_summary' => ':count conta · :format|:count contas · :format', 'formats' => [ 'single' => 'único', diff --git a/resources/js/components/automations/config/GenerateNodeConfig.vue b/resources/js/components/automations/config/GenerateNodeConfig.vue index c5452d25..291ca398 100644 --- a/resources/js/components/automations/config/GenerateNodeConfig.vue +++ b/resources/js/components/automations/config/GenerateNodeConfig.vue @@ -48,8 +48,15 @@ interface GenerateConfig { prompt_template: string; use_brand_voice: boolean; use_brand_visuals: boolean; + style: string; } +const contentStyles = [ + { key: 'image_card', preview: '/images/ai-templates/image-card.png' }, + { key: 'tweet_card', preview: '/images/ai-templates/tweet-card.png' }, + { key: 'tweet_card_image', preview: '/images/ai-templates/tweet-card-image.png' }, +]; + const props = defineProps<{ data: Record; errors?: Record; @@ -143,6 +150,7 @@ const local = ref({ prompt_template: (props.data.prompt_template as string) ?? '', use_brand_voice: (props.data.use_brand_voice as boolean | undefined) ?? true, use_brand_visuals: (props.data.use_brand_visuals as boolean | undefined) ?? true, + style: (props.data.style as string) ?? 'image_card', }); watch(local, (val) => emit('update', val), { deep: true }); @@ -282,6 +290,34 @@ const channels = computed(() => /> +
+ +
+ +
+
+

{{ $t('automations.config.generate.image_count_hint') }}