Latest Updates

Documenting code, one commit at a time.

Integrating fal.ai for Asynchronous Image Generation in Breniapp

The Breniapp project is integrating fal.ai to provide queue-based asynchronous image generation. This enhancement expands the platform's AI capabilities by introducing a new provider for image creation, offering a scalable and efficient solution for content generation.

The Need for Asynchronous Image Generation

Traditional synchronous image generation can be slow and resource-intensive,

Read more
PHP AI

Scaling AI Models in Breniapp: Adding Fal.ai Integration

Breniapp is enhancing its AI capabilities by integrating with Fal.ai to offer a broader range of image and video models. This update focuses on expanding the selection of available models and incorporating their pricing for credit consumption, enabling users to leverage advanced AI functionalities directly within the platform.

Expanding AI Model Selection

The update introduces several new

Read more

AI-Powered Localization: Streamlining Email Campaigns in Landing

Campaign emails often require localization for diverse audiences. The landing project recently tackled this challenge by automating the translation process using AI, significantly improving efficiency and reach.

The Challenge

Previously, translating campaign emails was a manual and time-consuming process. Each email subject and body needed to be translated into multiple languages, requiring

Read more
PHP AI

Enhancing AI Prompt Generation in Breniapp

Introduction

In the Breniapp project, we've been focused on improving the user experience through AI-powered content generation. A key part of this is crafting effective prompts for the AI. Recently, we enhanced how the system uses onboarding data to create these prompts, leading to more relevant and personalized outputs.

The Problem: Limited Context

Initially, the AI prompt generation

Read more

Enhancing Onboarding with AI-Powered Visual DNA Analysis

The Breniapp project focuses on streamlining brand development. A new feature enhances the onboarding process by incorporating AI-driven analysis of visual references. This allows users to define their brand's visual style through an intuitive, keyword-driven interface.

The Feature: Visual DNA Analysis

The new "Visual DNA" step in the onboarding process leverages AI to analyze uploaded

Read more
PHP AI Breniapp

Tenant-Specific AI Models: Removing the Guesswork

The Breniapp platform now offers per-tenant AI model assignments, providing more control and predictability in generation flows.

Previously, the system relied on a fallback mechanism to select an AI model. This could lead to inconsistent results and required users to manually pick a model for each generation. The new approach eliminates this ambiguity by allowing administrators to explicitly

Read more

Database Compatibility: Adapting Queries for PostgreSQL

When developing applications across different database systems, ensuring compatibility in your queries is crucial. Minor differences in SQL syntax can lead to unexpected errors and application downtime. Let's explore a practical example of adapting queries for PostgreSQL.

The Challenge: Date Extraction

MySQL provides functions like YEAR() and MONTH() to extract year and month values from

Read more
PHP AI

AI Rewrite Service: More Than Just String Manipulation

When connecting quick actions to an AI service, developers must move beyond simple string manipulation and leverage the power of AI for more sophisticated content transformations.

From Naive Manipulation to AI-Powered Rewrites

Initially, basic functionalities like shortening content or changing a call to action (CTA) might seem achievable through simple string truncation or concatenation.

Read more
PHP Laravel

Handling Database Seed Conflicts in Laravel

Introduction

When working on the Reimpact platform, a common issue arises during database seeding: conflicting UUIDs, especially when dealing with priority products. This post details how to resolve such conflicts, ensuring smooth database setup and consistent application behavior.

The Problem: Duplicate Entries

During the database seeding process, the system attempts to insert a new

Read more