Start generating a video into the media library
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
generatorstring
promptstring
required
orientationstring
voiceIdstring
mediaIdsstring[]
clientIdstring
{
"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