# 1. Start the video: the reply has the job id and estimated_cost_usd
curl https://api.uberllm.dev/v1/video/generations \
-H "Authorization: Bearer $UBERLLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"fal-ai/minimax/hailuo-02/standard/text-to-video","prompt":"a red ball bouncing on green grass","duration_seconds":6}'
# 2. Ask again every few seconds until "status" is "succeeded"
curl -H "Authorization: Bearer $UBERLLM_API_KEY" https://api.uberllm.dev/v1/video/generations/<job id>
# 3. Download it
curl -L -o video.mp4 -H "Authorization: Bearer $UBERLLM_API_KEY" https://api.uberllm.dev/v1/media/artifacts/<job id>/0