4
12.UsingChatgptToGeneratePrompts
Physton edited this page 2023-06-11 18:17:10 +08:00

Use ChatGPT to Generate Prompts

Open Window

  1. Hover over the "Use ChatGPT to Generate Prompts" button.

  2. Open the window.

Configure ChatGPT

API Base

  1. The official default API address is https://api.openai.com/v1.
  2. If you cannot access the official website, you can search for or set up a proxy server. Fill in the address of the proxy server in "API Base". Please note that any third-party proxy server may cause your API KEY or privacy to be leaked. Use with caution.

API KEY

  1. Get your API KEY from OpenAI.
  2. You can go to video platforms, such as YouTube, to search for video tutorials on how to get an API KEY.

Model

  1. Choose the model you want to use.
  2. Each model has a different billing method.
  3. Regular accounts cannot use the "gpt-4" model.

Free API KEY

chatanywhere/GPT_API_free This Github repository provides a free API interface.

  1. The API KEY provided by this project has a maximum of 120 requests per hour.
  2. The project may become invalid at any time.
  3. The API KEY provided by this project cannot use the official API Base. Please fill in the URL address provided by this project in the API Base field.
  4. This project has no relation to this extension. Any problems or losses caused by using this project have nothing to do with the author of this extension. Please use it at your own discretion!!!

After filling in, click the "Save" button. You don't need to fill it in again the next time you open the window.

Generate Prompts

  1. You can use any language to input image description information, for example:

    一个女孩,她洁若冰霜,莫可逼视,秀美大气,倾国倾城,清韵典雅,淡雅宜人,风致天然,温润如玉,清澈如水,清雅不可方物,眉间如聚霜雪,冰雪出尘之姿,宛如仙女,出落得不食人间烟火,十足是个绝色的美人胚子。

  2. Click the "Generate" button.

  3. Click the "Use" button.