Ottieni una generazione di video
Interroga un job di generazione di video per lo stato e, una volta completato, per il video prodotto.
pending o
processing, continua a interrogare; una volta completed, la risposta include
il video prodotto con un url presigned valido per 24 ore. Sono visibili
solo i job creati dalla tua organizzazione; qualsiasi altro id restituisce
404 not_found.
Autorizzazioni
Organization API key as a bearer token: Authorization: Bearer samsa_sk_....
Parametri del percorso
Risposta
Successful Response
GET /videos/generations/{id} body (ADR §7.2).
created_at comes from the immutable credit-ledger row (the durable public
submit record) and credits_used is that row's charge NET of any refund for
the same job (SAM-1028); mode prefers the same source because the worker's
completion path rewrites video_jobs.metadata.
pending, processing, completed, failed, or cancelled.
pending, processing, completed, failed, cancelled "completed"
When the job was submitted.
image_to_video, text_to_video, or text_to_video_styled.
"image_to_video"
Net credits charged for this job, after any refunds.
80
The produced video (presigned URL); null until completed.
Failure detail when status is failed; otherwise null.

