READMEとLICENSEの追加
parent
a661a0ced8
commit
f846c30123
|
|
@ -0,0 +1,21 @@
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2023 NON906
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
@ -0,0 +1,46 @@
|
||||||
|
# sd-webui-chatgpt
|
||||||
|
|
||||||
|
([日本語版はこちら](README_ja.md))
|
||||||
|
|
||||||
|
This is a repository for using [ChatGPT](https://openai.com/blog/chatgpt) in [Stable Diffusion web UI](https://github.com/AUTOMATIC1111/stable-diffusion-webui).
|
||||||
|
When you say something like "generate an image", ChatGPT will automatically generate a prompt and generate an image.
|
||||||
|
|
||||||
|
## Example
|
||||||
|
|
||||||
|
```
|
||||||
|
Please think about the setting of the girl character for one person.
|
||||||
|
Feel free to think about the details.
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
Sure! Here's a possible setting for the girl character:
|
||||||
|
|
||||||
|
Name: Sophia Turner
|
||||||
|
Age: 17
|
||||||
|
...
|
||||||
|
Appearance: Sophia has long, wavy chestnut brown hair that falls just below her shoulders. She has sparkling hazel eyes that light up when she smiles. She has a slender frame and a graceful posture. Sophia loves fashion and always dresses stylishly, often opting for dresses or trendy outfits that reflect her fun and vibrant personality.
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
Please generate an image of her with this content.
|
||||||
|
Generate more than 20 prompts.
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## How to install
|
||||||
|
|
||||||
|
1. [ChatGPT API Key](https://platform.openai.com/account/api-keys) is required (with some exceptions).
|
||||||
|
If you do not have one, please register and issue one.
|
||||||
|
|
||||||
|
2. Start webui and enter the following URL from "Install from URL" in "Extensions" to install.
|
||||||
|
```
|
||||||
|
https://github.com/NON906/sd-webui-chatgpt.git
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Click "Apply and restart UI" under "Extensions" -> "Installed", and restart.
|
||||||
|
|
||||||
|
4. Open "sd-webui-chatgpt" tab, and enter your ChatGPT API key in "API Key" of "Settings".
|
||||||
|
|
||||||
|
Now you can talk to ChatGPT from "Chat" on the "sd-webui-chatgpt" tab.
|
||||||
|
|
@ -0,0 +1,44 @@
|
||||||
|
# sd-webui-chatgpt
|
||||||
|
|
||||||
|
[Stable Diffusion web UI](https://github.com/AUTOMATIC1111/stable-diffusion-webui)で[ChatGPT](https://openai.com/blog/chatgpt)を利用するためのリポジトリです。
|
||||||
|
「画像を生成して」などの発言をすると、ChatGPTがプロンプトを自動生成して画像を生成してくれます。
|
||||||
|
|
||||||
|
## サンプル
|
||||||
|
|
||||||
|
```
|
||||||
|
美少女キャラクターの設定を1人分考えてください。
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
性別: 女性
|
||||||
|
年齢: 16歳
|
||||||
|
外見: 長い黒髪と大きな瞳を持つ容姿端麗な少女
|
||||||
|
特徴: 常に明るく笑顔で、周りを明るく照らす存在。魅力的な笑顔が彼女のトレードマークであり、周りの人々を元気づけることが得意。
|
||||||
|
服装: カラフルで可愛らしい服装を好んで着用し、いつも華やかな雰囲気を醸し出している。
|
||||||
|
性格: 純粋で優しい性格であり、人に対して常に思いやりを持って接する。また、芯の強さも併せ持ち、困難な状況でも決して諦めず、自分の信念を貫く。
|
||||||
|
背景: 音楽が大好きで、歌声や楽器演奏が得意。人々の心に響く歌声で、多くの人々に感動を与えることができる。将来はプロの歌手として活躍したいという夢を持っている。
|
||||||
|
名前: 星野 あかり (Hoshino Akari)
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
この内容で、彼女の画像を生成してください。
|
||||||
|
20項目以上のプロンプトで画像を生成してください。
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 導入方法
|
||||||
|
|
||||||
|
1. [ChatGPTのAPIキー](https://platform.openai.com/account/api-keys)が必要です(一部を除いて有料)。
|
||||||
|
持っていない場合は、登録して発行してください。
|
||||||
|
|
||||||
|
2. webuiを起動し、「拡張機能(Extensions)」の「URLからインストール(Install from URL)」から以下のURLを入力し、インストールしてください。
|
||||||
|
```
|
||||||
|
https://github.com/NON906/sd-webui-chatgpt.git
|
||||||
|
```
|
||||||
|
|
||||||
|
3. 「拡張機能(Extensions)」の「インストール済(Installed)」の「適用してUIを再起動(Apply and restart UI)」をクリックし、再起動してください。
|
||||||
|
|
||||||
|
4. 「sd-webui-chatgpt」タブの「設定(Settings)」の「API キー(API Key)」にChatGPTのAPIキーを入力してください。
|
||||||
|
|
||||||
|
これで「sd-webui-chatgpt」タブの「Chat」からChatGPTと会話できるようになります。
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 341 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 388 KiB |
Loading…
Reference in New Issue