Summarizer PRO
Summarizer PRO · Acciones GPT
Relevance AI Tools
POST /studios/e5278659-d5cc-4798-9778-2da218423ffe/trigger_llm_friendlyVideo to Text (GPT-4 Vision)Ask AI to analyse a video. This tool can take a while to run depending on the length of the video.
Esquema original API
{
"info": {
"title": "Relevance AI Tools",
"version": "latest"
},
"paths": {
"/studios/e5278659-d5cc-4798-9778-2da218423ffe/trigger_llm_friendly": {
"post": {
"operationId": "Video_to_text__gpt-4_vision_",
"summary": "Video to Text (GPT-4 Vision)",
"description": "Ask AI to analyse a video. This tool can take a while to run depending on the length of the video.",
"security": [
{
"AuthorizationHeader": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/e5278659-d5cc-4798-9778-2da218423ffeRequestBodySchema"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "successful operation",
"content": {
"application/json": {}
}
}
}
}
}
},
"openapi": "3.0.0",
"servers": [
{
"url": "https://api-d7b62b.stack.tryrelevance.com/latest"
}
],
"components": {
"schemas": {
"e5278659-d5cc-4798-9778-2da218423ffeRequestBodySchema": {
"properties": {
"file_url": {
"value": "",
"type": "string",
"metadata": {
"content_type": "file_url",
"accepted_file_types": []
},
"frontend_metadata": {
"required": true
},
"order": 0,
"title": "Video",
"description": "Enter an image you want to analyse"
},
"prompt": {
"type": "string",
"metadata": {
"content_type": "long_text"
},
"frontend_metadata": {
"required": true
},
"order": 1,
"title": "Prompt",
"description": "Enter the question you want to ask AI. It will use this as a prompt when analysing the image.",
"default": "These are frames from a video that I want to upload. Generate a description of the video."
},
"max_tokens": {
"type": "number",
"min": 0,
"value": 0,
"frontend_metadata": {
"required": true
},
"order": 2,
"title": "Max Tokens",
"default": 300
},
"openai_api_key": {
"value": "",
"type": "string",
"metadata": {
"content_type": "api_key"
},
"frontend_metadata": {
"required": true
},
"order": 3,
"title": "OpenAI API Key",
"description": "Please enter your own OpenAI API key."
}
},
"required": [
"file_url",
"prompt",
"max_tokens",
"openai_api_key"
],
"type": "object"
}
},
"securitySchemes": {
"AuthorizationHeader": {
"type": "apiKey",
"in": "header",
"name": "Authorization",
"description": "Authorization credentials. Header authorization should be in the form of: project:api_key"
}
}
},
"security": [
{
"AuthorizationHeader": [
"Authorization"
]
}
]
}