string
required
Model ID (required — no default)
object
required
Model-specific parameters — all params supported. Must include
prompt.Use
id, not job_id. The job identifier is returned as id on both submit
and status, so the same field works for the whole lifecycle. job_id is a
deprecated alias kept for backward compatibility; prefer id.GET /v1/video/pricing?model=<id>&duration=<s>. Based on model costs at $0.05/credit. Charged on completion only.
Completed Result
When polling viaGET /v1/jobs/:id or GET /v1/video/:jobId:
Reading the output URL. Use the flat
media array — media[0].url is stable
across image and video jobs and every model. The raw provider payload is still
under result (result.video.url), but its nesting varies by model; media[]
does not.