-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f04ef20
commit 449631c
Showing
80 changed files
with
417,014 additions
and
15,238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,102 +1,60 @@ | ||
# IMGPrompt | ||
<h1 align="center"> | ||
⚡️IMGPrompt | ||
</h1> | ||
<p align="center"> | ||
<a href="https://prompt.newzone.top/app/en">English</a> | | ||
<a href="https://prompt.newzone.top/app/zh">中文</a> | | ||
<a href="https://prompt.newzone.top/app/zh-hant">繁体中文</a> | | ||
<a href="https://prompt.newzone.top/app/pt">Português</a> | | ||
<a href="https://prompt.newzone.top/app/it">Italiano</a> | | ||
<a href="https://prompt.newzone.top/app/de">Deutsch</a> | | ||
<a href="https://prompt.newzone.top/app/ru">Русский</a> | | ||
<a href="https://prompt.newzone.top/app/es">Español</a> | | ||
<a href="https://prompt.newzone.top/app/fr">Français</a> | | ||
<a href="https://prompt.newzone.top/app/ja">日本語</a> | | ||
<a href="https://prompt.newzone.top/app/ko">한국어</a> | | ||
<a href="https://prompt.newzone.top/app/hi">हिन्दी</a> | | ||
<a href="https://prompt.newzone.top/app/ar">العربية</a> | | ||
<a href="https://prompt.newzone.top/app/bn">বাংলা</a> | ||
</p> | ||
<p align="center"> | ||
<em>Boost your creative workflow!</em> | ||
</p> | ||
|
||
**IMGPrompt** 是一款专为 Stable Diffusion、Midjourney、DALL·E 和 FLUX 打造的 AI 图像提示词编辑器。其界面简洁直观,用户可以轻松查看并组合所需的提示词文本。每个提示词都附有中文翻译,用户仅需点击即可快速选取或组合,从而大大简化了文本组合的过程。 | ||
# Introduction | ||
|
||
本工具完全本地化,无需依赖任何数据库或第三方服务。 | ||
**IMGPrompt** is an AI prompt editor designed specifically for image generation tools like **Stable Diffusion**, **Midjourney**, **DALL·E**, **FLUX**, and video generation tools such as **Sora**. With its clean and intuitive interface, users can easily view and combine the prompts they need. Each prompt also comes with translations in the user’s native language, allowing you to quickly select or combine keywords with just a click or input, simplifying the prompt creation process and boosting your creative efficiency. | ||
|
||
立即体验:<https://prompt.newzone.top/> | ||
[Experience IMGPrompt now and boost your creative workflow!](https://prompt.newzone.top/app/en) | ||
|
||
![IMGPrompt 界面预览](https://github.com/rockbenben/img-prompt/assets/28252913/5e455cc2-2184-4d7e-ac51-f960e6aaa3d1) | ||
![IMGPrompt Interface Preview](https://img.newzone.top/2024-10-23-18-31-38.png?imageMogr2/format/webp) | ||
|
||
## 核心特点 | ||
## Features | ||
|
||
- **提示词标签化:** 通过逗号分隔将提示词标签化,支持标签的自动去重和匹配,并附有中文翻译显示,方便用户理解和应用。 | ||
- **互动式编辑:** 点击标签即可快速插入或删除对应提示词文本。 | ||
- **分类标签展示:** 选定的标签会根据类别进行展示,提高查找和编辑的效率。 | ||
- **相关标签推荐:** 根据用户最后输入的词汇,提供 10 个相关标签推荐(支持中英文)。 | ||
- **提示词翻译:** 将任何提示词快速翻译成英文,以满足文生图的语言要求。 | ||
- **字符统计:** 内置提示词字符统计功能,建议用户将提示词长度控制在 380 字符以内,以获得最佳效果。 | ||
### Smart Recommendation System | ||
|
||
IMGPrompt 的提示词翻译采用 DeepL/Google Translate API,欢迎用户反馈和抓虫。 | ||
IMGPrompt offers intelligent recommendations based on the keywords you input (supports 14 languages, including Chinese and English). The system automatically suggests related prompts, helping you quickly find the right expression, saving time, and increasing creative efficiency. | ||
|
||
此外,IMGPrompt 适用于多种数据编辑场景。通过使用 [IMGPrompt 数据转换器](https://tools.newzone.top/data-parser/img-prompt),用户可以轻松实现数据的批量导入和转换。 | ||
![Smart Recommendation Demo](https://img.newzone.top/gif/imgprompt-ai-suggestions.webp) | ||
|
||
## 下载客户端 | ||
### Translation Feature | ||
|
||
除了网页版,你还可以在 [Github Release](https://github.com/rockbenben/img-prompt/releases/latest) 下载最新的桌面客户端,支持 Windows、MacOS 和 Linux 系统。请根据你的操作系统选择合适的文件进行下载: | ||
The built-in translation feature allows you to convert prompts in any language to English, ensuring compatibility across various AI image generation tools. This is particularly useful in multilingual environments, eliminating language barriers. | ||
|
||
- **Windows**:选择 `x64-setup.exe` 或 `x64_en-US.msi` 文件。 | ||
- **Mac(Intel 版本)**:选择 `x64.dmg` 或 `x64.app.tar.gz` 文件。 | ||
- **Mac(Apple Silicon 版本,如 M1/M2)**:选择 `aarch64.dmg` 或 `aarch64.app.tar.gz` 文件。 | ||
- **Linux(Debian/Ubuntu)**:选择 `amd64.deb` 文件。 | ||
![Translation Demo](https://img.newzone.top/gif/imgprompt-translate.webp) | ||
|
||
## 使用 Docker 容器 | ||
### Random Color Generator | ||
|
||
如果你更倾向于在容器环境中运行应用程序,可以使用以下方法通过 Docker 容器运行 IMGPrompt: | ||
This feature allows users to quickly replace color-related keywords within prompts, introducing variety and fun into the creative process. It sparks inspiration and helps users explore diverse creative directions. | ||
|
||
```shell | ||
# 拉取 Docker 容器镜像 | ||
docker pull ghcr.io/rockbenben/img-prompt:latest | ||
### Additional Features | ||
|
||
# 运行容器 | ||
docker run -d -p 5666:5666 --name imgprompt ghcr.io/rockbenben/img-prompt:latest | ||
``` | ||
- **Prompt Tagging**: Prompts can be tagged with keywords separated by commas. The system automatically deduplicates and matches tags, providing native language translations for easier understanding and usage. | ||
- **Interactive Editing**: Users can quickly add or remove prompts by clicking on tags, streamlining the editing process. | ||
- **Categorized Tag Display**: Selected tags are displayed by category, helping you quickly search and edit prompts. | ||
- **Character Count**: IMGPrompt includes a built-in character counter that suggests keeping your prompt length under 380 characters for optimal generation results. | ||
- **Localization**: In addition to the translation feature, IMGPrompt operates entirely in your local language without relying on third-party databases or services. | ||
|
||
运行容器后,你可以在浏览器中访问 [http://localhost:5666](http://localhost:5666) 来使用该应用。 | ||
The translation feature in IMGPrompt uses **DeepL** and **Google Translate** APIs. We welcome feedback and bug reports. | ||
|
||
## 自定义提示词 | ||
|
||
建议不要修改 `prompt.json` 文件内容,因为可能会不定期更新该文件,修改后可能会导致更新时出现冲突。 | ||
|
||
如需要自定义提示词,请按下方样例修改 `src/app/prompt-custom.json` 文件: | ||
|
||
```json | ||
[ | ||
{ | ||
"displayName": "prompt1", | ||
"langName": "提示词 1 翻译", | ||
"object": "定制对象 1", | ||
"attribute": "定制属性" | ||
}, | ||
{ | ||
"displayName": "prompt2", | ||
"langName": "提示词 2 翻译", | ||
"object": "定制对象 1", | ||
"attribute": "定制属性" | ||
} | ||
] | ||
``` | ||
|
||
## 提示词来源 | ||
|
||
IMGPrompt 的提示词资源来源于网络搜集、[promptoMANIA](https://promptomania.com/midjourney-prompt-builder/),以及 [sd-webui-prompt-all-in-one](https://github.com/Physton/sd-webui-prompt-all-in-one/blob/main/group_tags/zh_CN.yaml)。在标签样式设计上,我们借鉴了 [OpenPromptStudio](https://moonvy.com/apps/ops/)。 | ||
|
||
## Deploy | ||
|
||
System Requirements: | ||
|
||
- [Node.js 18.17](https://nodejs.org/) or later. | ||
- macOS, Windows (including WSL), and Linux are supported. | ||
|
||
### Deploy With Vercel | ||
|
||
[![Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Frockbenben%2Fimg-prompt%2Ftree%2Fmain) | ||
|
||
项目框架于 2023.06.18 迁移到 Next.js。如果你之前已在 Vercel 上进行部署,请前往 Vercel 项目页面,选择「Settings」>「Build & Development Settings」,然后将 Framework Preset 更改为 Next.js。 | ||
|
||
### Installation | ||
|
||
```shell | ||
# Installation | ||
yarn | ||
|
||
# Local Development | ||
yarn dev | ||
|
||
# build and start | ||
yarn build && yarn start | ||
``` | ||
|
||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
|
||
You can start editing the page by modifying `src/app/page.tsx`. The page auto-updates as you edit the file. | ||
Additionally, IMGPrompt supports various data editing scenarios. By using the [IMGPrompt Data Converter](https://tools.newzone.top/data-parser/img-prompt), you can easily batch import and convert data. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"Metadata": { | ||
"title": "IMGPrompt - مولد مطالبات الصور المدعوم بالذكاء الاصطناعي لـ Stable Diffusion وMidjourney وDALL·E وFLUX", | ||
"description": "أداة إنشاء مطالبات الصور البديهية المصممة للاستخدام مع منصات الذكاء الاصطناعي مثل Stable Diffusion وMidjourney وDALL·E وFLUX. إنها تبسط عملية إنشاء مطالبات صور فعالة وإبداعية، مما يتيح للمستخدمين توليد نتائج أفضل دون عناء. باستخدام IMGPrompt، يمكنك البحث عن المطالبات ذات الصلة بلغتك الأم، وترجمتها إلى اللغة الإنجليزية، وتحويل أفكارك الإبداعية إلى مخرجات بصرية مذهلة.", | ||
"keywords": "IMGPrompt، Stable Diffusion، Midjourney، DALL·E، FLUX، مولد مطالبات الصور، مطالبات الصور بالذكاء الاصطناعي، أداة الإبداع البصري، ترجمة المطالبة، فن الذكاء الاصطناعي، مطالبات إنشاء الصور، مُحسِّن الإبداع" | ||
}, | ||
"ToolPage": { | ||
"section1": "حدد الكائن", | ||
"section2": "حدد السمة", | ||
"section3": "حدد العلامة", | ||
"section4": "تم اختياره حاليا" | ||
}, | ||
"ResultSection": { | ||
"tooltip-light": "إدراج الإضاءة المستخدمة بشكل شائع في الصور الشخصية", | ||
"prompt-light": "إضاءة الصورة", | ||
"tooltip-polish": "إدراج مطالبات تحسين الصورة المستخدمة بشكل شائع", | ||
"prompt-polish": "إرشادات باللغة البولندية", | ||
"insertSuccess": "تم إدراج الوصف المحدد", | ||
"tooltip-negative": "نسخ المطالبات السلبية المستخدمة بشكل شائع", | ||
"prompt-negative": "المطالبات السلبية", | ||
"button-copy": "نسخ النتيجة", | ||
"clearSuccess": "تم مسح مربع المطالبة", | ||
"button-clear": "واضح", | ||
"placeholder-translate": "أدخل النص للترجمة", | ||
"button-translate": "يترجم", | ||
"translateSuccess": "تمت الترجمة بنجاح وتمت إضافتها إلى مربع المطالبة", | ||
"translateEmptyError": "لا يمكن أن يكون محتوى الترجمة فارغًا", | ||
"translateFailError": "فشلت الترجمة، يرجى المحاولة مرة أخرى", | ||
"title-other": "وظائف أخرى:", | ||
"tooltip-randomColor": "استبدال الألوان في الوصف بشكل عشوائي", | ||
"button-randomcolor": "استبدال اللون العشوائي", | ||
"copySuccess": "تم النسخ إلى الحافظة بنجاح", | ||
"manualCopy": "فشلت عملية النسخ، يرجى النسخ يدويًا" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"Metadata": { | ||
"title": "IMGPpromp - স্থিতিশীল ডিফিউশন, মিডজার্নি, DALL·E এবং FLUX এর জন্য AI-চালিত ইমেজ প্রম্পট জেনারেটর", | ||
"description": "স্থিতিশীল ডিফিউশন, মিডজার্নি, DALL·E এবং FLUX-এর মতো AI প্ল্যাটফর্মের সাথে ব্যবহারের জন্য ডিজাইন করা স্বজ্ঞাত ইমেজ প্রম্পট জেনারেশন টুল। এটি কার্যকর এবং সৃজনশীল ইমেজ প্রম্পট তৈরির প্রক্রিয়াকে সহজ করে, ব্যবহারকারীদের অনায়াসে আরও ভাল ফলাফল তৈরি করতে সক্ষম করে। IMGPpromp এর সাহায্যে, আপনি আপনার স্থানীয় ভাষায় প্রাসঙ্গিক প্রম্পটগুলি অনুসন্ধান করতে পারেন, সেগুলিকে ইংরেজিতে অনুবাদ করতে পারেন এবং আপনার সৃজনশীল ধারণাগুলিকে অত্যাশ্চর্য ভিজ্যুয়াল আউটপুটে পরিণত করতে পারেন৷", | ||
"keywords": "IMGPpromp, Stable Diffusion, Midjourney, DALL·E, FLUX, ইমেজ প্রম্পট জেনারেটর, AI ইমেজ প্রম্পট, ভিজ্যুয়াল ক্রিয়েটিভিটি টুল, প্রম্পট অনুবাদ, AI আর্ট, ইমেজ জেনারেশন প্রম্পট, সৃজনশীলতা বৃদ্ধিকারী" | ||
}, | ||
"ToolPage": { | ||
"section1": "অবজেক্ট নির্বাচন করুন", | ||
"section2": "বৈশিষ্ট্য নির্বাচন করুন", | ||
"section3": "ট্যাগ নির্বাচন করুন", | ||
"section4": "বর্তমানে নির্বাচিত" | ||
}, | ||
"ResultSection": { | ||
"tooltip-light": "সাধারণত ব্যবহৃত প্রতিকৃতি আলো সন্নিবেশ", | ||
"prompt-light": "পোর্ট্রেট লাইট", | ||
"tooltip-polish": "সাধারণত ব্যবহৃত ইমেজ বর্ধিতকরণ প্রম্পট সন্নিবেশ করান", | ||
"prompt-polish": "পোলিশ প্রম্পট", | ||
"insertSuccess": "নির্দিষ্ট বিবরণ সন্নিবেশ করান", | ||
"tooltip-negative": "সাধারণত ব্যবহৃত নেতিবাচক প্রম্পট অনুলিপি করুন", | ||
"prompt-negative": "নেতিবাচক প্রম্পট", | ||
"button-copy": "ফলাফল কপি করুন", | ||
"clearSuccess": "প্রম্পট বক্স সাফ করুন", | ||
"button-clear": "পরিষ্কার", | ||
"placeholder-translate": "অনুবাদ করতে পাঠ্য লিখুন", | ||
"button-translate": "অনুবাদ করুন", | ||
"translateSuccess": "অনুবাদ সফল হয়েছে এবং প্রম্পট বাক্সে যোগ করা হয়েছে", | ||
"translateEmptyError": "অনুবাদ বিষয়বস্তু খালি হতে পারে না", | ||
"translateFailError": "অনুবাদ ব্যর্থ হয়েছে, আবার চেষ্টা করুন", | ||
"title-other": "অন্যান্য ফাংশন:", | ||
"tooltip-randomColor": "বর্ণনায় এলোমেলোভাবে রং প্রতিস্থাপন করুন", | ||
"button-randomcolor": "এলোমেলো রঙ প্রতিস্থাপন", | ||
"copySuccess": "ক্লিপবোর্ডে সফলভাবে অনুলিপি করা হয়েছে৷", | ||
"manualCopy": "অনুলিপি ব্যর্থ হয়েছে, ম্যানুয়ালি অনুলিপি করুন" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"Metadata": { | ||
"title": "IMGPrompt - KI-gestützter Bildaufforderungsgenerator für stabile Diffusion, Midjourney, DALL·E und FLUX", | ||
"description": "Intuitives Tool zur Generierung von Bildaufforderungen, das für die Verwendung mit KI-Plattformen wie Stable Diffusion, Midjourney, DALL·E und FLUX entwickelt wurde. Es vereinfacht den Prozess der Erstellung effektiver und kreativer Bildaufforderungen und ermöglicht es Benutzern, mühelos bessere Ergebnisse zu erzielen. Mit IMGPrompt können Sie in Ihrer Muttersprache nach relevanten Aufforderungen suchen, diese ins Englische übersetzen und Ihre kreativen Ideen in beeindruckende visuelle Ergebnisse verwandeln.", | ||
"keywords": "IMGPrompt, Stable Diffusion, Midjourney, DALL·E, FLUX, Bildaufforderungsgenerator, KI-Bildaufforderung, visuelles Kreativitätstool, Aufforderungsübersetzung, KI-Kunst, Bildgenerierungsaufforderungen, Kreativitätsverstärker" | ||
}, | ||
"ToolPage": { | ||
"section1": "Objekt auswählen", | ||
"section2": "Attribut auswählen", | ||
"section3": "Tag auswählen", | ||
"section4": "Zurzeit ausgewählt" | ||
}, | ||
"ResultSection": { | ||
"tooltip-light": "Einfügen häufig verwendeter Porträtbeleuchtung", | ||
"prompt-light": "Porträtlicht", | ||
"tooltip-polish": "Einfügen häufig verwendeter Eingabeaufforderungen zur Bildverbesserung", | ||
"prompt-polish": "Polnische Eingabeaufforderungen", | ||
"insertSuccess": "Die angegebene Beschreibung eingefügt", | ||
"tooltip-negative": "Häufig verwendete negative Eingabeaufforderungen kopieren", | ||
"prompt-negative": "Negative Eingabeaufforderungen", | ||
"button-copy": "Ergebnis kopieren", | ||
"clearSuccess": "Das Eingabefeld wurde gelöscht", | ||
"button-clear": "Klar", | ||
"placeholder-translate": "Geben Sie den zu übersetzenden Text ein", | ||
"button-translate": "Übersetzen", | ||
"translateSuccess": "Übersetzung erfolgreich und zum Eingabefeld hinzugefügt", | ||
"translateEmptyError": "Der Übersetzungsinhalt darf nicht leer sein", | ||
"translateFailError": "Die Übersetzung ist fehlgeschlagen. Bitte versuchen Sie es erneut.", | ||
"title-other": "Weitere Funktionen:", | ||
"tooltip-randomColor": "Farben in der Beschreibung nach dem Zufallsprinzip ersetzen", | ||
"button-randomcolor": "Zufällige Farbersetzung", | ||
"copySuccess": "Erfolgreich in die Zwischenablage kopiert", | ||
"manualCopy": "Kopieren fehlgeschlagen, bitte manuell kopieren" | ||
} | ||
} |
Oops, something went wrong.