Reference/video-generations

Create Video Generation

Create Video Generation Project API key or dashboard access token (JWT). Request examples use snake_case; schemas may also display accepted camelCase aliases. Replace resource placeholders with accessible IDs. See the guides for runtime model constraints and workflows.

POST/v1/video/generations
Open playground
Project API key or dashboard access token (JWT). See authentication.
This operation is asynchronous and initially returns 201 with a resource ID. Poll GET /v1/video/generations/{id} until a terminal state: completed, failed.

Authorizations

Project API key or dashboard access token (JWT).

Idempotency-Keystringoptional

Body (application/json)

imageAssetIdstringrequired
promptstringoptional
subjectstringoptional
actionstringoptional
environmentstringoptional
modelAliasstringoptionaldefault: motion-v1
modelstringoptional
durationSecondsintegeroptionaldefault: 5
qualityModestringoptional
orientationstringoptionaldefault: portrait
resolutionstringoptionaldefault: 720p
aspectRatiostringoptionaldefault: 9:16
fpsintegeroptionaldefault: 24
includeAudiobooleanoptionaldefault: true
negativePromptstringoptional
seedintegeroptional

Response

201 - application/json
Successful Response
No detailed response model is declared for this operation. See its guide for response fields and lifecycle behavior.
Request Example
curl --fail-with-body -X POST "https://api.apimarketplace.com/v1/video/generations" -H "Authorization: Bearer $API_KEY" -H 'Content-Type: application/json' --data '{"image_asset_id": "IMAGE_ASSET_ID", "model_alias": "motion-v1", "prompt": "Gentle camera movement and a natural smile", "duration_seconds": 5, "resolution": "720p", "aspect_ratio": "9:16", "fps": 24, "include_audio": true}'