Create a character from an uploaded video.
post /videos/characters
Create a character from an uploaded video.
Returns
-
id: string or nullIdentifier for the character creation cameo.
-
created_at: numberUnix timestamp (in seconds) when the character was created.
-
name: string or nullDisplay name for the character.
Example
curl https://api.openai.com/v1/videos/characters \
-H 'Content-Type: multipart/form-data' \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-F name=x \
-F 'video=@/path/to/video'
Response
{
"id": "id",
"created_at": 0,
"name": "name"
}