Start generating a video into the media library

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-ai-videostart"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/8e943900-3204-4cef-92f0-742b130dbb20/social-card.svg?v=3e7ae33eec8b" alt="Start generating a video into the media library" width="600" height="315"></a>
POST http://localhost:4000/api/v1/media/generate/video

Pick generator from GET /media/generate/options (the first one when left out). 503 AI_NOT_CONFIGURED when the server has none.

Request body

application/json
generator
string
prompt
string
required
orientation
string
vertical | horizontal = vertical
voiceId
string
mediaIds
string[]
= []
clientId
string
{
  "generator": "string",
  "prompt": "string",
  "orientation": "vertical",
  "voiceId": "string",
  "mediaIds": [],
  "clientId": "string"
}

Code samples

cURL
curl -X POST "http://localhost:4000/api/v1/media/generate/video" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"generator":"string","prompt":"string","orientation":"vertical","voiceId":"string","mediaIds":[],"clientId":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{}
Option 1
{}
Option 2
{}
Updated