LogoUnreal AI
API Playground/v1 API Reference/Videos/Generations

Generate video from text prompt

Create an async video generation job using advanced AI models. Returns a job ID for status polling.

POST
/v1/videos/generations

Video generation request

promptstring

Text prompt describing the video to generate

model?string

Video generation model to use

Default"reel"
Value in"reel" | "reel-v1"
duration?number

Video duration in seconds. Available durations depend on the selected model.

Default6
Value in6 | 12 | 18 | 24 | 30 | 36 | 42 | 48 | 54 | 60 | 66 | 72 | 78 | 84 | 90 | 96 | 102 | 108 | 114 | 120

Response Body

curl -X POST "https://openai.ideomind.org/v1/videos/generations" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A serene sunset over a mountain lake with gentle waves"
  }'
{
  "jobId": "1a4f582a-3c34-4c1b-97c6-565bd6af426f",
  "status": "queued",
  "createdAt": "2019-08-24T14:15:22Z"
}
{
  "error": "Prompt is required"
}
{
  "error": "Failed to create video generation job",
  "details": "string"
}