Skip to content

Video

POST /<lane>/v1/videos/generations — video generation. Many upstream providers are asynchronous (submit a job, poll a queue); OpenGateway hides the polling and returns a url (or b64_json) when the video is ready.

Terminal window
curl "https://api.opengateway.one/oss/v1/videos/generations" \
-H "Authorization: Bearer $OPENGATEWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "Wan-AI/Wan2.2-T2V-A14B",
"prompt": "a slow dolly shot across a server room lit emerald"
}'
{
"created": 1730000000,
"data": [{ "url": "https://.../result.mp4" }]
}