Text to Video
API Overview
To simplify the integration of different video generation models, OneRouter provides a unified videos API.
API Specification
curl https://video.onerouter.pro/v1/videos/generations \
-H "Content-Type: application/json" \
-H "Authorization: <API_KEY>" \
-d '{
"model": "veo3-fast",
"prompt": "A cute baby sea otter",
"output_format": "url"
}'https://video.onerouter.pro/v1/videos/generationsis the base URL<API_KEY>is your API Key generated in API page.modelis the model name, such asveo3-fast, available model list can be access in Model page.promptis the prompt.output_formatindicate the output format, default value isurl.url
Example response
Last updated