# Generate your first API video

**Native Seedance 2.5 · 5 seconds · 720p · 16:9 · MP4 without audio**

Use macOS or Linux Terminal with curl. This example uses your LSF test balance.

## 1 Paste your account details

Replace both values with the API key and exact model alias in your welcome message. Paste into Terminal and press Enter.

```bash
export LSF_KEY='PASTE_YOUR_API_KEY'
export LSF_MODEL='PASTE_YOUR_NATIVE_2_5_ALIAS'
```

## 2 Create the video once

Paste this entire block into the same Terminal window and press Enter.

```bash
curl -sS 'https://ai-api.lightspeedfuture.com/v1/videos' \
  -H "Authorization: Bearer $LSF_KEY" \
  -H 'Content-Type: application/json' \
  --data-binary @- <<JSON
{
  "model": "$LSF_MODEL",
  "prompt": "Ocean waves at sunset.",
  "metadata": {
    "duration": 5, "resolution": "720p", "ratio": "16:9",
    "output_format": "mp4", "generate_audio": false
  }
}
JSON
```

The response contains **task_id**, such as `task_abc123`. Copy that value for step 3. If no task ID is returned, contact LSF before submitting again.

## 3 Check the result and open your video

Replace **PASTE_TASK_ID** with that task ID, then run:

```bash
curl -sS \
  'https://ai-api.lightspeedfuture.com/v1/videos/PASTE_TASK_ID' \
  -H "Authorization: Bearer $LSF_KEY"
```

If the status is `queued` or `in_progress`, wait 30 seconds and repeat **step 3 only**. When it is `completed`, open the link in **metadata.url** and save your video.

Example response fields — your link will be different:

```json
{"status":"completed",
 "metadata":{"url":"https://.../video.mp4"}}
```

**Need help?** Send your task ID and error message to info@lightspeedfuture.com. Keep your API key private.

First Video Quickstart v1.1 · 17 November 2026
