Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Commit 4881873

Browse files
refactor: reduce generated brand assets from 4 to 3 and optimize prompt descriptions
1 parent 18ee59e commit 4881873

5 files changed

Lines changed: 5 additions & 41 deletions

File tree

api/services/BandIdentity/branding.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ export class BrandingService extends GenericService {
768768
const startTime = Date.now();
769769

770770
// Create 4 promises for parallel logo generation with token optimization
771-
const logoPromises = Array.from({ length: 4 }, (_, index) =>
771+
const logoPromises = Array.from({ length: 3 }, (_, index) =>
772772
this.generateSingleLogoConcept(
773773
projectDescription,
774774
selectedColors,

api/services/BandIdentity/prompts/singleGenerations/00_logo-generation-section.prompt.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Generate 1 premium, ORIGINAL tech logo concept with sophisticated design. Return
44
{
55
"id": "concept01",
66
"name": "Creative Logo Name",
7-
"concept": "Innovative design description",
7+
"concept": "Brief, precise concept description (max 20 words)",
88
"colors": ["#HEX1", "#HEX2", "#HEX3"],
99
"fonts": ["Modern FontName"],
1010
"icon": {
@@ -28,6 +28,7 @@ Generate 1 premium, ORIGINAL tech logo concept with sophisticated design. Return
2828
}
2929
3030
DESIGN EXCELLENCE REQUIREMENTS:
31+
- DESCRIPTIONS MUST BE ULTRA-CONCISE: 20-30 words maximum
3132
- CREATE UNIQUE, MEMORABLE DESIGNS - avoid basic circles/rectangles
3233
- Use sophisticated shapes: paths with curves, polygons, overlapping elements
3334
- Combine 2-4 shapes with different opacities (0.6-1.0) for depth

api/services/BandIdentity/prompts/singleGenerations/colors-generation.prompt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const COLORS_GENERATION_PROMPT = `
2-
Generate 4 premium color palettes. Return JSON only:
2+
Generate 3 premium color palettes. Return JSON only:
33
44
{
55
"colors": [

api/services/BandIdentity/prompts/singleGenerations/colors-typography-generation.prompt.ts

Lines changed: 0 additions & 37 deletions
This file was deleted.

api/services/BandIdentity/prompts/singleGenerations/typography-generation.prompt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const TYPOGRAPHY_GENERATION_PROMPT = `
2-
Generate 4 typography sets. Return JSON only:
2+
Generate 3 typography sets. Return JSON only:
33
44
{
55
"typography": [

0 commit comments

Comments
 (0)