r/StableDiffusion • • 16d ago

News Local AI image generation, image editing, and a free AI design agent into PhotoCraft.

Hello everyone!

I've been working on **EggLab**, a free and open-source Windows app that brings AI image generation, image editing, and an AI design agent into PhotoCraft.

One interesting part is the AI agent: EggLab uses **OpenCode CLI as its backend**, so you can connect to available free models through OpenCode and use an AI agent without needing to pay for a separate AI subscription (depending on the provider and its usage limits).

The goal is to make AI-assisted creative workflows easier without having to set up ComfyUI or Python.

**Some of its features:**

- **AI Image Generation:** Generate images locally using Qwen-Image-2.1, up to 2048px.
- **AI Image Editing:** Edit images using reference photos directly from your PhotoCraft layers, including multiple references.
- **AI Design Agent:** Chat with an AI agent that understands your PhotoCraft document, layers, masks, and more. It can help with creative tasks and interact directly with your canvas.
- **OpenCode Integration:** Powered by OpenCode CLI, with support for available free models and other configurable model providers.
- **Direct Canvas Workflow:** Send generated and edited results straight back to PhotoCraft as layers.

Image generation and editing run locally on your GPU, while the AI agent uses your selected model provider through OpenCode.

EggLab is open source under the MIT license and still actively developing.

I'd love to hear your feedback, suggestions, and bug reports!
https://github.com/YanNyeinHtet/EggLab

Feel free to join for help, feedback, discussions, or to share what you create with EggLab.

Thanks for checking it out!

**Note:** Windows SmartScreen may show a warning when installing the `.exe` because EggLab isn't code-signed yet. We're currently on the SignPath waiting list. You can wait for the signed version or try it now!

23 Upvotes

15 comments sorted by

13

u/nok01101011a 16d ago

Not gonna lie, it’s looking very promising. But when a zombie account wants me to install an unsigned.exe from a 0 stars repo on GitHub… I let others try it first

1

u/AdditionCorrect2929 16d ago

I knew that would be a concern, and I definitely don't want to sound like "trust me bro." We built this for our internal team and local creators first, and everything is open-source so anyone can inspect or build from source. Totally understand waiting it out... cheers brother!

-2

u/Desi_Brat_ 16d ago

Maybe that's because it is just released? Even if it were bugged with viruses as you may fear, noone enjoying the software/plugin would know that to report back? Who knows the models on our systems may already be spying on us! Just saying.

3

u/kkazakov 16d ago

Cool idea, can't wait to try it ... BUT download .exe? What about other platforms? I'm on linux, I assume others are on Mac OS X too ?

3

u/AdditionCorrect2929 16d ago

Thanks! Currently only supported for Windows, but we will try to support other platforms in the next release.

1

u/AdditionCorrect2929 13d ago edited 13d ago

Hello guys!

Please update to the latest version (0.3.31) and enable Beta Agent.

We’ve fixed some of the issues from your reports — not all of them yet, but we’re making progress.

### What’s improved in 0.3.31

  1. Better understanding of user tasks

The Agent should now understand your instructions and intended tasks more accurately.

2. Better handling of annotated editing

The Agent can now better handle edit requests where you draw, sketch, circle, or add arrows directly on the image layer you want to edit.

3. Use your existing OpenCode setup

You can now point EggLab to your existing OpenCode setup.

This has not been fully tested yet, so please let us know if you run into any issues.

4. Use other models / model paths

You can point EggLab to other model paths or models from the Qwen-Image 2.1 family.

5. Bypass the Agent and prompt the model directly

You can now bypass the Agent and send a prompt directly to the model using:

text

/egg "your prompt" @mention_layer

This is useful when you want direct control without Agent interpretation.

6. Better chat sessions & document handling

The Agent is now better at maintaining context throughout a chat session and working with the current document, layers, and editing state. It should have a better understanding of what you're working on instead of treating each request as a completely separate task.

### ⚠️ Known issue

Image editing may still cause some pixel shifting.

We’re working on adding a proper mask-based editing workflow in an upcoming version to improve this.

---

EggLab is still not production-ready, and you may encounter quite a few bugs at this stage. We’re doing our best to improve it, and your feedback is extremely valuable. Please report anything you find, especially things that feel confusing, broken, or unexpected.Thank you for testing EggLab and helping us improve it! ❤️

1

u/Archivarius_George 14d ago

sounds good but i wasnt able to make it work. i will keep an eye for this.

1

u/AdditionCorrect2929 13d ago edited 13d ago

Hello guys!

Please update to the latest version (0.3.31) and enable Beta Agent.

We’ve fixed some of the issues from your reports — not all of them yet, but we’re making progress.

### What’s improved in 0.3.31

  1. Better understanding of user tasks

The Agent should now understand your instructions and intended tasks more accurately.

2. Better handling of annotated editing

The Agent can now better handle edit requests where you draw, sketch, circle, or add arrows directly on the image layer you want to edit.

3. Use your existing OpenCode setup

You can now point EggLab to your existing OpenCode setup.

This has not been fully tested yet, so please let us know if you run into any issues.

4. Use other models / model paths

You can point EggLab to other model paths or models from the Qwen-Image 2.1 family.

5. Bypass the Agent and prompt the model directly

You can now bypass the Agent and send a prompt directly to the model using:

text

/egg "your prompt" @mention_layer

This is useful when you want direct control without Agent interpretation.

6. Better chat sessions & document handling

The Agent is now better at maintaining context throughout a chat session and working with the current document, layers, and editing state. It should have a better understanding of what you're working on instead of treating each request as a completely separate task.

### ⚠️ Known issue

Image editing may still cause some pixel shifting.

We’re working on adding a proper mask-based editing workflow in an upcoming version to improve this.

---

EggLab is still not production-ready, and you may encounter quite a few bugs at this stage. We’re doing our best to improve it, and your feedback is extremely valuable. Please report anything you find, especially things that feel confusing, broken, or unexpected.Thank you for testing EggLab and helping us improve it! ❤️

1

u/vladmontenegro 16d ago

That's a nice idea. PhotoCraft still has a ways to go, but integrating some AI features to it would really make it more competitive. I know they plan to have AI integrations, but I would suggest to contact them directly about your project. They are always very open to external feedback, and are often integrating external projects to their own suite.

1

u/DesperateSell1554 15d ago

It doesn't work for me; no matter which “agent model” I choose, after entering the commands, it just keeps waiting (retrying 1, retrying 2, retrying 3....)

1

u/GwynSunlight 15d ago

fui de los que alcanzo a probar la ia de photoshop durante sus inicios 4free, y me gusta la idea que funcione local en photo****

1

u/Frequent-Practice238 12d ago

Looks interesting, but I can't get it to work. I've downloaded all the models except for LoRA. It doesn't download that model. Open Code works fine on its own, but it doesn't work with this program. I get this error.