游乐场
视频游乐场
排队异步视频渲染并轮询 /status 以获取进度和结果链接。
异步渲染Imagen4 + RunwayML支持 Webhook
端点
发送为 POST /video/text_to_video
认证
授权:Bearer <API_KEY>
我们不会显示您的完整密钥。
状态
/status?request_id=<request_id>
在您收到 request_id 后,运行 GET /status?request_id=<id> 以查看最新状态并获取 result_url。
请求
编写并运行
https://api.samsar.one/v1/video/text_to_video
授权: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?request_id=
在您收到 request_id 后,运行 GET /status?request_id=<id> 以查看最新状态并获取 result_url。