videos

Retrieve a video job

Returns job metadata. Jobs advance in the background; poll this endpoint until the status is completed, then download the MP4 from /content.

get/v1/videos/{id}

Request

  • Base URL: https://api.aiand.com
  • URL: https://api.aiand.com/v1/videos/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Response

The job's metadata

idstring required

Stable job id with video_ prefix

object'video' required
modelstring required
promptstring required
secondsinteger required
status'moderating' | 'translating' | 'queued' | 'in_progress' | 'completed' | 'failed' | 'canceled' required

Jobs start as moderating while input moderation runs, then progress through translating (prompt translation), queued, and in_progress. Treat any unrecognized status as still running — new intermediate stages may be added.

coststring nullable required

Exact quoted charge as a decimal string, fixed when the job is accepted

currency'usd' | 'jpy' | 'null' nullable required

Currency of the quoted cost

created_atinteger required

Unix timestamp

completed_atinteger nullable required

Unix timestamp

thumbnailboolean required

true when the job has a thumbnail to download from GET /v1/videos/{video_id}/thumbnail

Changes

No recorded changes to this operation across all 1 revision of this API.