cli/resources/videos/methods/create_character/index.md +0 −52 deleted
File Deleted View Diff
1## Create a character from an uploaded video.
2
3`$ openai videos create-character`
4
5**post** `/videos/characters`
6
7Create a character from an uploaded video.
8
9### Parameters
10
11- `--name: string`
12
13 Display name for this API character.
14
15- `--video: string`
16
17 Video file used to create a character.
18
19### Returns
20
21- `VideoNewCharacterResponse: object { id, created_at, name }`
22
23 - `id: string`
24
25 Identifier for the character creation cameo.
26
27 - `created_at: number`
28
29 Unix timestamp (in seconds) when the character was created.
30
31 - `name: string`
32
33 Display name for the character.
34
35### Example
36
37```cli
38openai videos create-character \
39 --api-key 'My API Key' \
40 --name x \
41 --video 'Example data'
42```
43
44#### Response
45
46```json
47{
48 "id": "id",
49 "created_at": 0,
50 "name": "name"
51}
52```