POST
/
api
/
v1
/
realtime
/
video-cache
/
plan
Plan source-video cache generation
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: JSON.stringify({avatar_id: '<string>'})
};

fetch('https://realtimeavatar.ai/api/v1/realtime/video-cache/plan', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "manifest": {},
  "plan": "<unknown>"
}

Authorizations

Authorization
string
header
required

TIC API key as a bearer token: Authorization: Bearer tic_live_... or tic_test_.... Create keys in the dashboard at /platform/dashboard or via POST /api/v1/api-keys.

Body

application/json
avatar_id
string
required

Platform avatar id (ava_...).

video_cache
object

Optional cache settings overrides.

Response

Cache plan

status
enum<string>
required
Available options:
queued,
ready
manifest
object
required

Avatar cache manifest record.

plan
any