Video
The /v1/videos endpoint for text-to-video requests. A video model is available only while the live catalogue lists one.
Availability
A video model is available only while the catalogue lists it. Call GET /v1/models and keep the models whose supported_endpoints include /v1/videos, or browse the model catalogue. While none is listed, a request to this endpoint answers 404 and starts no job.
Endpoint
POST
https://api.aetherapi.dev/v1/videosRequest body
modelstringrequired- Video model ID from the live catalogue.
promptstringrequired- Text description of the video to generate.
ninteger- Number of videos to generate. Default: 1
sizestring- Video resolution. Model-dependent.
qualitystring- Video quality. Model-dependent.
Example request
curl https://api.aetherapi.dev/v1/videos \
-H "Authorization: Bearer sk-aetherapi-..." \
-H "Content-Type: application/json" \
-d '{
"model": "VIDEO_MODEL_ID",
"prompt": "A serene mountain lake at sunrise with mist rolling over the water",
"n": 1
}'Response
The response comes from the provider behind the model, so its fields depend on the model. A video job returns an id. Query its status with GET /v1/videos/:video_id and fetch the finished file with GET /v1/videos/:video_id/content, both with the same key.