PATCH

Update Video

Videos
3 min read

Update video properties such as title, description, or configuration.

PATCHhttps://api.videopilot.app/api/videos/{id}

Parameters

The following parameters are supported for this endpoint:

NameTypeRequiredDefaultDescription
idpath
stringRequired-

The unique identifier of the video

Example:"video_123abc"
title
stringOptional-

New video title

Example:"Updated Space Adventure"
description
stringOptional-

New video description

Example:"An updated sci-fi adventure"
style
string
enum
Optional-

New visual style

Example:"fantasy"
Options:cinematiccartoonrealisticfantasyanimeoil-paintingwatercolor

Code Examples

Example requests in multiple programming languages:

curl -X PATCH https://api.videopilot.app/api/videos/video_123abc \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Updated Epic Space Adventure",
  "description": "An enhanced sci-fi story with more dramatic tension",
  "style": "fantasy"
}'

Responses

Possible responses from this endpoint:

200
Video updated successfully
400
Invalid update data
401
Authentication required
404
Video not found

Try It Out

Test this endpoint directly from your browser:

PATCH/api/videos/{id}
Generated cURL Command
Copy this command to use in your terminal
"text-blue-400 font-semibold">curl -X PATCH https://api.videopilot.app/api/videos/{id} \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response

Make a request to see the response here