Videos

Submit a video generation job

Creates a video job. The model discriminator selects the family (Kling 2.1-3.0, Veo 2/3, Sora 2, Seedance 1-2, Hailuo, Luma, Wan 2.5-2.7, Runway Gen4, Midjourney Video, Grok Video) and unlocks the matching <model>Params block. Pricing for many video models is per-second; the route layer computes the multiplier from the requested duration.

post/v2/videos/generate

Request

  • Base URL: https://api.apiframe.ai
  • URL: https://api.apiframe.ai/v2/videos/generate
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Headers

Idempotency-Keystring

Optional client-supplied key (max 255 chars). Replaying the same key within 24 hours returns the original job rather than creating a duplicate. Strongly recommended for any non-idempotent network: cron jobs, browser retries, mobile clients.

Request body

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Response

Job accepted and queued. Track via GET /v2/jobs/{id} or webhook.

jobIdstring uuid required
status'QUEUED' | 'PROCESSING' | 'COMPLETED' | 'FAILED' required

Status at the moment the job record was persisted. Almost always QUEUED; idempotent replays may return the original status.

Changes

No recorded changes to this operation across all 1 revision of this API.