Official GPT

We provide an official GPT for you to use in your own applications. You can find the OpenAPI spec below.

πŸ”— GPT Actions

We assume you have already opened your GPTs edit page

Step 1. Copy the OpenAPI schema below and import it into the GPT Actions
https://www.text2img.xyz/swagger.json
Step 2. Add Authentication Method

πŸ’‘ Caution

  1. Each user is limited to generating a maximum of 3 API keys per day, with each API key allowing up to 20 API calls daily.
  2. Users are responsible for safeguarding their API keys and should NOT sharing them with others.
  3. Be aware that links returned by the API are accessible to everyone. Exercise caution when sharing them.
  4. Content and links generated by the API will be automatically deleted after one week.
  1. Generate and copy your API key
  2. Select API Key as Authentication Type
  3. Paste the API key you just generated in the API Key input box
  4. Select Custom Auth Type
  5. Enter "x-api-key" in the Custom Header Name input box
api-auth-method
Step 3. Copy the privacy policy link below and paste it into the bottom input of Action Editor
https://www.text2img.xyz/privacy-policy
Step 4. Give it a try in the Preview panel.api-preview
Step 5. You are good to go, now you can publish your GPT! πŸŽ‰