Movie Master
Movie Master · GPT 작업
InVideo API
API for InVideo services, offering functionalities for video creation, editing, and management.
GET /videosList VideosRetrieves a list of videos.
POST /videosCreate VideoCreates a new video.
GET /videos/{videoId}Get VideoRetrieves a specific video by ID.
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "InVideo API",
"description": "API for InVideo services, offering functionalities for video creation, editing, and management.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://api.invideo.io"
}
],
"paths": {
"/videos": {
"get": {
"operationId": "listVideos",
"summary": "List Videos",
"description": "Retrieves a list of videos.",
"responses": {
"200": {
"description": "A list of videos",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/VideoArray"
}
}
}
}
}
},
"post": {
"operationId": "createVideo",
"summary": "Create Video",
"description": "Creates a new video.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/VideoCreation"
}
}
}
},
"responses": {
"201": {
"description": "Video created successfully",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Video"
}
}
}
}
}
}
},
"/videos/{videoId}": {
"get": {
"operationId": "getVideo",
"summary": "Get Video",
"description": "Retrieves a specific video by ID.",
"parameters": [
{
"name": "videoId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Details of the video",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Video"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"VideoArray": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Video"
}
},
"Video": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier of the video"
},
"title": {
"type": "string",
"description": "Title of the video"
},
"duration": {
"type": "integer",
"description": "Duration of the video in seconds"
},
"status": {
"type": "string",
"enum": [
"created",
"processing",
"available",
"deleted"
],
"description": "Current status of the video"
}
}
},
"VideoCreation": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Title of the video"
},
"description": {
"type": "string",
"description": "Description of the video"
},
"content": {
"type": "string",
"description": "URL or data representing the video content"
}
},
"required": [
"title",
"content"
]
}
}
}
}