Playground
Video Playground
Queue async video renders and poll /status for progress and result links.
Async renderImagen4 + RunwayMLSupports webhooks
Endpoint
Send as POST /video/text_to_video
Auth
Authorization: Bearer <API_KEY>
We will not display your full key.
Status
/status?request_id=<request_id>
After you receive a request_id, run GET /status?request_id=<id> to see the latest state and grab the result_url.
Request
Compose and run
https://api.samsar.one/v1/video/text_to_video
Authorization: Bearer <API_KEY> Bearer ••••••.
Defaults
inputRequired
{
"prompt": "A timelapse of clouds over a futuristic city at sunrise",
"duration": 30,
"image_model": "IMAGEN4",
"video_model": "RUNWAYML",
"tone": "grounded",
"aspect_ratio": "16:9",
"language": "en"
}Add key/value
All optional keys are already included in the request payload.
JSON only
Need progress?
Response
Awaiting first run
Run a request to see the response.
Status endpoint
/status?request_id=
After you receive a request_id, run GET /status?request_id=<id> to see the latest state and grab the result_url.