浩哥-短视频分析师 Video Analyst

浩哥-短视频分析师 Video Analyst · GPT-Aktionen

Video Analysis Service

Transcribes the textual content from a video provided via URL.

  • POST /v1/video/parsedtranscribeVideo

    Transcribes text from the video at the provided URL.

Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "Video Analysis Service",
    "version": "v1.0.0",
    "description": "Transcribes the textual content from a video provided via URL."
  },
  "servers": [
    {
      "url": "https://videogpt.qingyu.club"
    }
  ],
  "paths": {
    "/v1/video/parsed": {
      "post": {
        "description": "Transcribes text from the video at the provided URL.",
        "operationId": "transcribeVideo",
        "x-openai-isConsequential": "false",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "video_url": {
                    "type": "string",
                    "description": "URL of the video to be transcribed."
                  }
                },
                "required": [
                  "video_url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response with the transcribed data from the video.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "description": "Status code of the response."
                    },
                    "msg": {
                      "type": "string",
                      "description": "Message indicating the status of the request."
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "title": {
                          "type": "string",
                          "description": "Title of the video."
                        },
                        "cover": {
                          "type": "string",
                          "description": "URL of the video cover image."
                        },
                        "transcripts": {
                          "type": "string",
                          "description": "Transcribed text from the video with timestamps."
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request, invalid input."
          },
          "500": {
            "description": "Internal server error."
          }
        }
      }
    }
  }
}