Playground
Video Playground
Queue V2 video renders and poll the V2 status route for progress and result links.
V2 media routes/v1/video/supported_modelsSupports webhooks
Endpoint
Send as POST /v2/text_to_video
Auth
Authorization: Bearer <API_KEY>
We will not display your full key.
Status
/v2/status?request_id=<request_id>
Creation returns request_id and session_id. Poll GET /v2/status?request_id=<id>; completed renders include result_url.
Request
Compose and run
https://api.samsar.one/v2/text_to_video
Authorization: Bearer <API_KEY> Bearer ••••••.
Models
Route-compatible values for /v2/text_to_video
Defaults
input.promptRequired
A cinematic product launch at sunrise
input.durationRequired
30
input.image_modelRequired
GPTIMAGE2
input.video_modelRequired
RUNWAYML
Add key/value
JSON only
Need progress?
Response
Awaiting first run
Expected 200 response shape
{
"request_id": "<request_id>",
"session_id": "<request_id>"
}Status endpoint
/v2/status?request_id=
Creation returns request_id and session_id. Poll GET /v2/status?request_id=<id>; completed renders include result_url.