प्लेग्राउंड
वीडियो Playground
asynchronous video renders कतारबद्धं कुरु, तथा progress एवं result link हेतु /status poll कुरु।
asynchronous rendersImagen4 + RunwayMLwebhook support
Endpoint
POST /video/text_to_video रूपेण प्रेषय
प्रमाणीकरणम्
Authorization: Bearer <API_KEY>
वयं तव पूर्णं key न दर्शयिष्यामः।
स्थितिः
/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.
अनुरोधः
रचय चालय च
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
प्रगतिः आवश्यक?
प्रत्युत्तरम्
प्रथम-चालनस्य प्रतीक्षा
प्रत्युत्तरं द्रष्टुं अनुरोधं चालय।
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.