resources/videos/methods/create_character/index.md +0 −39 deleted
File Deleted View Diff
1## Create a character from an uploaded video.
2
3**post** `/videos/characters`
4
5Create a character from an uploaded video.
6
7### Returns
8
9- `id: string`
10
11 Identifier for the character creation cameo.
12
13- `created_at: number`
14
15 Unix timestamp (in seconds) when the character was created.
16
17- `name: string`
18
19 Display name for the character.
20
21### Example
22
23```http
24curl https://api.openai.com/v1/videos/characters \
25 -H 'Content-Type: multipart/form-data' \
26 -H "Authorization: Bearer $OPENAI_API_KEY" \
27 -F name=x \
28 -F 'video=@/path/to/video'
29```
30
31#### Response
32
33```json
34{
35 "id": "id",
36 "created_at": 0,
37 "name": "name"
38}
39```