Skip to content

Better image generation#365

Merged
marcelklehr merged 4 commits into
mainfrom
better-image-gen
May 12, 2026
Merged

Better image generation#365
marcelklehr merged 4 commits into
mainfrom
better-image-gen

Conversation

@lukasdotcom
Copy link
Copy Markdown
Member

Improves image generation
Example: dog with hat with Nextcloud logo
Before
image

After
image

Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
Comment thread lib/TaskProcessing/TextToImageImprovedPromptProvider.php
Comment thread lib/TaskProcessing/TextToImageImprovedPromptProvider.php
Comment thread lib/TaskProcessing/TextToImageImprovedPromptProvider.php
@lukasdotcom
Copy link
Copy Markdown
Member Author

It might also be worth it to have the llm generate multiple prompts if multiple images are requested otherwise all the images look very similar as the prompt is now more specific than what the user says.

@marcelklehr
Copy link
Copy Markdown
Member

It might also be worth it to have the llm generate multiple prompts if multiple images are requested otherwise all the images look very similar as the prompt is now more specific than what the user says.

mmh, let's not overengineer it, I'd say. The example you gave on the top looks great, btw. Was a good low hanging fruit after all :)

Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
@marcelklehr marcelklehr merged commit baa0ddc into main May 12, 2026
28 checks passed
@marcelklehr marcelklehr deleted the better-image-gen branch May 12, 2026 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants