cli/resources/videos/methods/get_character/index.md +0 −47 deleted
File Deleted View Diff
1## Fetch a character.
2
3`$ openai videos get-character`
4
5**get** `/videos/characters/{character_id}`
6
7Fetch a character.
8
9### Parameters
10
11- `--character-id: string`
12
13 The identifier of the character to retrieve.
14
15### Returns
16
17- `VideoGetCharacterResponse: object { id, created_at, name }`
18
19 - `id: string`
20
21 Identifier for the character creation cameo.
22
23 - `created_at: number`
24
25 Unix timestamp (in seconds) when the character was created.
26
27 - `name: string`
28
29 Display name for the character.
30
31### Example
32
33```cli
34openai videos get-character \
35 --api-key 'My API Key' \
36 --character-id char_123
37```
38
39#### Response
40
41```json
42{
43 "id": "id",
44 "created_at": 0,
45 "name": "name"
46}
47```