ApiLux

Video job status

Check a video job's progress. Only the job's owner can read it.

ImplementedAvailability depends on the selected model being enabled and priced in ApiLux.

Request

GET/videos/generations/{jobId}

Requires the Authorization: Bearer apl_... header

FieldTypeDescription
jobIdrequiredstring (path)The job ID returned at creation.

Response

FieldTypeDescription
statusrequired"queued" | "running" | "completed" | "failed"Current status.
content_urlstringPresent only when completed. Path to download the MP4 through ApiLux.
actual_duration_secondsintegerActual seconds, when the provider reports it.
apilux.credit_refundedrequiredintegerCredits refunded (non-zero when the job failed).

Billing

Free. Polling never charges anything.

Examples

cURL
curl https://apilux.net/api/v1/videos/generations/vidjob_YOUR_JOB_ID \
  -H "Authorization: Bearer apl_YOUR_API_KEY"

Errors

HTTPCodeMeaning
401auth_missing_or_malformedMissing Authorization header, or it is not in the Bearer apl_... form.
401auth_invalidThe API key does not exist.
401auth_revokedThe API key has been revoked.
401auth_expiredThe API key has expired.
404not_foundThe job does not exist, or is not yours — both cases return the same response.
502upstream_errorThe model provider failed. You are not charged.
504upstream_timeoutThe provider did not respond in time. You are not charged.
429upstream_rate_limitedRate limited. Retry after a few seconds.

Notes

Poll about every 5 seconds. Videos usually finish in 40–180 seconds depending on model and length.