Skip to main content
POST
Process Video

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
video_type
enum<string>
default:YouTube URL
required

Select the video type to process

Available options:
YouTube URL
video_url
string
required

Provide the URL of the YouTube video

model_prompt
string
required

Enter a prompt to analyze the video, such as 'Generate 10 second clips where product announcements are made'

output_variable_name
string

Provide a variable name to store the video analysis, like 'video_analysis'

Pattern: ^[a-zA-Z][a-zA-Z0-9_]*$

Response

Successful response

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action