Skip to content

MOTION3D_EVENTS

ts
const MOTION3D_EVENTS: object;

Defined in: packages/ai/src/activities/generate3dMotion/index.ts:61

Custom stream event names emitted by generate3dMotion({ stream: true }).

Type Declaration

JOB_CREATED

ts
readonly JOB_CREATED: "motion3d:job:created" = 'motion3d:job:created';

{ jobId, model } once the provider accepted the job

STATUS

ts
readonly STATUS: "motion3d:status" = 'motion3d:status';

{ jobId, status, progress?, queuePosition?, error? } on every poll