Prompt Perfect

Prompt Perfect · GPT アクション

GPT Prompt Perfect API

An API that rewrites input prompts for improved responses.

  • POST /perfectRewrite an input prompt.

    Takes an input prompt and rewrites it to improve clarity or structure.

元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "GPT Prompt Perfect API",
    "description": "An API that rewrites input prompts for improved responses.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://gpt.promptperfect.xyz/",
      "description": "Production server"
    }
  ],
  "paths": {
    "/perfect": {
      "post": {
        "operationId": "rewritePrompt",
        "summary": "Rewrite an input prompt.",
        "description": "Takes an input prompt and rewrites it to improve clarity or structure.",
        "x-openai-isConsequential": false,
        "security": [
          {
            "promptPerfectOAuth": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "prompt": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Rewritten prompt returned successfully"
          },
          "400": {
            "description": "Bad request."
          },
          "401": {
            "description": "Unauthorized. User must be authenticated."
          },
          "500": {
            "description": "Internal error."
          }
        }
      }
    }
  }
}