Skip to content

Video

This quickstart walks you through generating your first video with Siraya Model Router.

Video generation

curl https://llm.siraya.ai/v1/videos/generations  \
    -H "Content-Type: application/json" \
    -H "Authorization: <API_KEY>" \
    -d '{
    "model": "veo3-fast",
    "prompt": "A cute baby sea otter",
  }'

  • https://llm.siraya.ai/v1/videos/generations is the base URL
  • <API_KEY> is your API Key generated in API page.
  • model is the model name, such as veo3-fast, available model list can be access in Model page.
  • prompt is the prompt.
  • output_format indicate the output format, default value is url.
  • url

Example response

{
  "data": [
    {
      "url": "http://resources-uat.sirayatech.com/v1/videos/video_7NXwkM-HrPx3nVzRsQ-buVcN-iv9hwcDplyortC4KtXSQFyhP-Jn6PaAnulg71UcRya2afctoWi8G60X2HotsDDHWto54gFnOyG2tThOT6orswwLYVjXVamGq-pGwRNeB2UC1KSoXA2DQZInFgKfBTPUVA96xBWCWOcvKnLUVF-Xvc-WoAkEzBklfi-jGTZG6U4aI9klvXeh8X7RVCrtCRz1LW3CvSY0dnVwrWXIa5rpf2uXD1Nz3DTZaOi5sFVFw1sEVw/content"
    }
  ],
  "created": 1774719635,
  "error": {}
}