OyeFilmy Logo
personFreeUpgrade
bolt0cr
U

Video generation API

Video Generation

Generate videos using 200+ AI models from a single endpoint. All video models use POST /api/generate with a video modelKey.

Endpoint

POST /api/generate

Video-specific parameters

ParameterTypeRequiredDescription
modelKeystringVideo model identifier
promptstringText description of the video
inputUrlstringInput image URL (for I2V models)
endImageUrlstringEnd frame image URL (for start-end models)
aspectRatiostring"16:9", "9:16", "1:1"
durationnumberVideo duration in seconds (5, 10, 15)
qualitystring"HD", "1080p", "4K"
generateAudiobooleanAuto-generate audio for the video
refVideoUrlsstring[]Reference video URLs
refImageUrlsstring[]Reference image URLs (for ref2vid)

Video generation types

TypeDescriptionRequired params
Text-to-Video (T2V)Generate video from a text promptprompt
Image-to-Video (I2V)Animate a still imageprompt + inputUrl
Reference-to-VideoGenerate video matching reference character/styleprompt + refImageUrls
Start-End FrameGenerate video between two keyframesprompt + inputUrl + endImageUrl
Video EditEdit an existing videoprompt + refVideoUrls
Video ExtendExtend a video with more framesprompt + refVideoUrls

Quick example

curl -X POST https://api.oyefilmy.com/api/generate \
  -H "Authorization: Bearer of_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "modelKey": "seedance_2_0_fast_t2v",
    "prompt": "A drone shot flying over misty mountains at sunrise, cinematic, 4K",
    "aspectRatio": "16:9",
    "duration": 5
  }'

Tip: video generation typically takes 30–120 seconds. Poll GET /api/generate/status/:predictionId every 5 seconds; webhook delivery is not available yet.

Model families