Skip to main content

Jobs API

The Jobs API allows you to create and monitor processing jobs for your uploaded video files.

Create a job

Create a new processing job for a video file.

curl -X POST https://api.move.ai/v1/jobs \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"file_id": "file_123456789",
"model": "s1",
"rig_id": "rig_default"
}'

Request Parameters

ParameterTypeRequiredDescription
file_idStringYesID of the uploaded video file
modelStringYesAI model to use (s1, m1, s2, m2)
rig_idStringNoCharacter rig configuration

Response

{
"id": "job_123456789",
"file_id": "file_123456789",
"status": "queued",
"model": "s1",
"created_at": "2023-01-01T00:00:00Z",
"estimated_duration": 300
}

Get job status

Check the status of a processing job.

curl -X GET https://api.move.ai/v1/jobs/job_123456789 \
-H "Authorization: Bearer YOUR_API_KEY"

Response

{
"id": "job_123456789",
"file_id": "file_123456789",
"status": "processing",
"progress": 75,
"model": "s1",
"created_at": "2023-01-01T00:00:00Z",
"completed_at": null,
"take_id": null
}

List jobs

Get a list of all your processing jobs.

curl -X GET https://api.move.ai/v1/jobs \
-H "Authorization: Bearer YOUR_API_KEY"

Query Parameters

ParameterTypeDescription
limitIntegerNumber of jobs to return (default: 20, max: 100)
offsetIntegerNumber of jobs to skip
statusStringFilter by job status

Response

{
"jobs": [
{
"id": "job_123456789",
"file_id": "file_123456789",
"status": "completed",
"model": "s1",
"created_at": "2023-01-01T00:00:00Z",
"take_id": "take_123456789"
}
],
"total": 1,
"limit": 20,
"offset": 0
}

Cancel a job

Cancel a processing job (only works if job is still queued or processing).

curl -X DELETE https://api.move.ai/v1/jobs/job_123456789 \
-H "Authorization: Bearer YOUR_API_KEY"

Response

{
"success": true,
"message": "Job cancelled successfully"
}

Job statuses

StatusDescription
queuedJob is waiting to be processed
processingJob is currently being processed
completedJob completed successfully
failedJob failed to complete
cancelledJob was cancelled

Next steps