curl --request POST \
--url https://api-lr.agent.ai/v1/action/process_video \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"video_type": "YouTube URL",
"video_url": "<string>",
"model_prompt": "<string>",
"output_variable_name": "<string>"
}
'{
"status": 123,
"response": {}
}Analyzes YouTube videos into transcripts, analysis, or additional videos.
curl --request POST \
--url https://api-lr.agent.ai/v1/action/process_video \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"video_type": "YouTube URL",
"video_url": "<string>",
"model_prompt": "<string>",
"output_variable_name": "<string>"
}
'{
"status": 123,
"response": {}
}Bearer token from your account (https://agent.ai/user/integrations#api)
Select the video type to process
YouTube URL Provide the URL of the YouTube video
Enter a prompt to analyze the video, such as 'Generate 10 second clips where product announcements are made'
Provide a variable name to store the video analysis, like 'video_analysis'
^[a-zA-Z][a-zA-Z0-9_]*$