Apache License 2.0

项目介绍

k0r0pt/aiImagePromptGenerator 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 Apache License 2.0 许可证,目前获得 3 个 Star、0 次 Fork。

仓库全名
k0r0pt/aiImagePromptGenerator
开源许可证
Apache License 2.0
Star 数
3

README 摘要

ImageGenPromptGenerator This is our Image AI Prompt Generator, and was heavily inspired by @gokaygokay's Flux Prompt Generator over on Huggingface. Run Dependencies Currently, for LLM Prompt generation, this app requires Ollama to be running. It can run on local (default endpoint - http://localhost:11434), or you can specify the location in the 3rd panel. Features Sections The app has 3 sections. Settings - This is…

完整内容见 GitHub 原始 README 或本页 。

常见问题

aiImagePromptGenerator 用什么语言开发?

主要使用 TypeScript 编写,采用 Apache License 2.0 许可证,目前有 3 个 Star。

aiImagePromptGenerator 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 aiImagePromptGenerator 的源码?

可以直接克隆仓库:git clone https://github.com/k0r0pt/aiImagePromptGenerator.git,默认分支为 main;安装与运行步骤见仓库 README。

aiImagePromptGenerator 最近还在维护吗?

仓库最近一次更新为 4月3日,当前没有未关闭的 Issue;Star 数为 3,可作为社区活跃度的参考。

关于

k0r0pt Ai Image Prompt Generator

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
4
价值分
1
活跃状态
活跃

语言占比

Dockerfile
HTML
SCSS
TypeScript

Release

README

ImageGenPromptGenerator

Build Status

This is our Image AI Prompt Generator, and was heavily inspired by @gokaygokay’s Flux Prompt Generator over on Huggingface.

Run Dependencies

Currently, for LLM Prompt generation, this app requires Ollama to be running. It can run on local (default endpoint - http://localhost:11434), or you can specify the location in the 3rd panel.

Features

Sections

The app has 3 sections.

  • Settings - This is where you specify the various settings in the scene, the camera properties, the character properties, the background, plants, trees etc.
  • Basic Prompt - This is where the basic prompt is generated based on the input settings in the first panel.
  • LLM Generated Prompt - This is where you can generate an advanced well written prompt using an LLM Model.

Settings persistence

The selected settings are persisted into cookies, so that if we revisit the app, we can start where we left off.

The LLM Generation needs Ollama running on your local, and will by default choose Llama3.1, if available - The LLM Generated Prompt section also has a subsection where you can specify where your Ollama is running and choose the LLM model to use.

Planned Features

  • Add support for Grok API for LLM Prompt generation
  • Please raise an Issue for feature you’d like to see here.
  • Please raise an Issue for any settings you’d like to see in the Settings panel.

Note

  • Not all Image generation models will work with the LLM generated prompt. Some require, small concise keyword based prompts instead of the prose-like prompts that will be generated with the LLM model(s). In those models, the basic Prompt might work better than the LLM generated prompts, which will work better for Flux based models.

Running

k0r0pt AI Image Prompt Generator

You can see it in action here - k0r0pt AI Image Prompt Generator NOTE - You’ll have to add the origin to your local Ollama’s allowed origins by setting the OLLAMA_ORIGINS environment variable - OLLAMA_ORIGINS=https://k0r0pt-ai-image-prompt-gen.sudipto.me

Docker

To run with Docker, you can run this command

docker run -d -p 8080:80 ghcr.io/k0r0pt/aiimagepromptgenerator

After that, you can open http://localhost:8080.

Bare Metal

Production

Copy the contents of the dist directory to your web server and you’ll be good to go.

Development
Dependencies

Run npm install to resolve dependencies.

Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory.

Run

Run npm start to run the project, after which you can open http://localhost:4200.

Built with Angular :heart:

评论

暂无评论