Integrations/Video Generation API

Video Generation API

One POST to submit, then poll for the result. All video models share this async API.

Video models share one API key and base URL with chat models, but the call is asynchronous: submit to get a task id, then poll for the result.

1. Submit

bash
curl https://www.starunion.net/v1/video/generations -H "Authorization: Bearer $BIGMODEL_API_KEY" -H "Content-Type: application/json" -d "{\"model\":\"YOUR_VIDEO_MODEL_ID\",\"prompt\":\"a cat sunbathing on a windowsill\"}"

The response carries a task_id.

2. Poll

bash
curl https://www.starunion.net/v1/video/tasks/TASK_ID -H "Authorization: Bearer $BIGMODEL_API_KEY"

Once the status is successful, download the video from the returned URL.

3. Image-to-video

Same submit endpoint, with a first-frame image (URL or base64):

ParameterNotes
modelvideo model ID
prompttext prompt
imagefirst frame, URL or base64

Image-driven tiers are priced differently from text-only; the Model Plaza price table is authoritative. Billing is resolution tier × duration.

Full field reference: API docs → Video generation.

Updated: 2026-08-24