SpyBara
Go Premium

cli/resources/videos/methods/create_character/index.md 2026-05-05 23:00 UTC to 2026-05-07 21:57 UTC

This page contains 52 additions and 0 deletions.

2026
Thu 7 21:57 Tue 19 06:34

Create a character from an uploaded video.

$ openai videos create-character

post /videos/characters

Create a character from an uploaded video.

Parameters

  • --name: string

    Display name for this API character.

  • --video: string

    Video file used to create a character.

Returns

  • VideoNewCharacterResponse: object { id, created_at, name }

    • id: string

      Identifier for the character creation cameo.

    • created_at: number

      Unix timestamp (in seconds) when the character was created.

    • name: string

      Display name for the character.

Example

openai videos create-character \
  --api-key 'My API Key' \
  --name x \
  --video 'Example data'

Response

{
  "id": "id",
  "created_at": 0,
  "name": "name"
}