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
queuedWaiting to be processedNo
submittingThe request is being submittedNo
provider_processingThe generation is being processedNo
saving_resultThe result is being savedNo
submission_unknownSubmission status needs confirmation; contact supportNo
billing_reconciliationThe final price needs confirmation; contact supportNo
succeededThe result is readyYes
failedThe generation failedYes
canceledThe generation was canceledYes

Polling policy

  1. Wait about five seconds after create.
  2. Poll every 10–15 seconds; increase the interval after network or 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 one or more video or image artifacts. Every artifact has id, kind, artifact_index, role, content_type, size_bytes, and download_url. Image artifacts also include dimensions; decomposed layers include layer metadata. Seedance can additionally return an image with role: last_frame when requested. Download URLs expire; call GET again to receive freshly signed URLs for the same artifacts.

On success, billing.status is captured and billing.charged_amount is the final USD charge. On a failed or canceled generation it is released, the charged amount is zero, and the hold returns to the wallet. reconciliation_required means Gensta is still confirming the final amount.