Skip to content

getMotionJobStatus

ts
function getMotionJobStatus<TAdapter>(options): Promise<MotionJobStatusResult>;

Defined in: packages/ai/src/activities/generateMotion/index.ts:634

Experimental

Read the status of a motion job. When the job completed, the result includes the finished motion and its asset URLs.

Safe to call from any request or process: the job id is the only state.

Motion generation is an experimental feature and may change.

Type Parameters

TAdapter

TAdapter extends AnyMotionAdapter

Parameters

options

MotionJobStatusOptions<TAdapter>

Returns

Promise<MotionJobStatusResult>