Skip to content

Video Generation

Generate videos with any video model available on ImageRouter.

Videos are in Beta, this API can change later.

Terminal window
curl 'https://api.imagerouter.io/v1/openai/videos/generations' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
--data-raw '{"prompt": "YOUR_PROMPT", "model": "ir/test-video"}'

Parameters

  • prompt* Text prompt for generating the video.
  • model* Video model to use.
  • size Optional resolution (eg 1024x576). Defaults to the model’s native size.
  • response_format [url, b64_json] - default url.
  • image[]* One or more input images (maximum 16).