Generate Videos

Generate videos from text prompts (SSE streaming)

post/videos/generations

Request

  • Base URL
    https://api.electronhub.ai/v1
  • URL
    https://api.electronhub.ai/v1/videos/generations
  • Auth
    HTTP bearer

Request body

modelstring required
promptstring required

Text description of the desired video

size'16:9' | '9:16' | '1:1' | '4:3' | '3:4'

Output aspect ratio (e.g., '16:9', '9:16', '1:1')

Example request

{
  "model": "midjourney-video"
}

Response

SSE stream of video generation events

Changes

No recorded changes to this operation across all 2 revisions of this API.