gensta DOCS
api-platform.gensta.ai/v1 Developer portal

Get a generation

GET/v1/generations/{id}Bearer key · generations:read
bash
curl --silent --show-error --fail-with-body \
  "https://api-platform.gensta.ai/v1/generations/$GENERATION_ID" \
  -H "Authorization: Bearer $GENSTA_API_KEY"

Statuses

StatusMeaningTerminal
queuedAccepted and waiting for provider submissionNo
submittingCreating exactly one provider taskNo
provider_processingThe provider is generating the videoNo
saving_resultGensta is copying the result into permanent storageNo
submission_unknownThe provider may have accepted the task, but no unambiguous task ID was receivedNo · operator review
billing_reconciliationThe artifact exists, but usage and billing need operator reviewNo · operator review
succeededArtifact saved and billing settledYes
failedGeneration failed; inspect errorYes
canceledProvider reported cancellationYes

Polling policy

  1. Wait about five seconds after create.
  2. Poll every 10–15 seconds with jitter; back off on network and 5xx errors.
  3. Stop on succeeded, failed, or canceled.
  4. For submission_unknown or billing_reconciliation, retain the ID, poll less often, and contact support. Do not create a replacement job.

Download artifacts

Before success, artifacts is normally empty. A successful response contains a video artifact with content_type, size_bytes, and download_url. Download URLs expire; call GET again to receive a freshly signed URL for the same artifact.