Skip to content

Commit 1342bd0

Browse files
authored
Merge pull request #32 from Team-NewsLetter/fix/#24
fix : 카드뉴스 생성 프롬프트 조정
2 parents 29af8f8 + dc6507d commit 1342bd0

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

src/main/java/com/swacademy/newsletter/service/news/generation/CardNewsGenerationServiceImpl.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,8 @@ public CardNewsResponseDto.GenerateCardNewsResultDto generateCardNews(GenerateCa
2323
.flatMap(paragraph ->
2424
imageGenerationService.generateImages(
2525
String.format(
26-
"Generate an illustration that visually represents the news paragraph below. " +
27-
"The image must not contain any text, letters, or numbers. " +
28-
"Use a soft, consistent cartoon-style with clean lines and warm, harmonious colors. " +
29-
"The illustration should convey emotion and be suitable for a card-news style layout. " +
30-
"Avoid harsh contrast, photo-realism, or detailed textures — keep the style clean, minimal, and unified. " +
31-
"News paragraph: \"%s\"", paragraph
26+
"Illustrate the following news paragraph as part of a cohesive, minimal, and emotional cartoon-style series. Keep the style unified: no text, no numbers, soft colors, clean lines. Paragraph: \"%s\"",
27+
paragraph
3228
), 1
3329
).stream()
3430
)

0 commit comments

Comments
 (0)