# v2.0 · Flash

> Camera moves from a still render, $0.099 a second. From $0.99 a clip.

Source: https://developers.mnml.ai/docs/models/v2-0-flash

- **10 s clip:** $0.99 (per clip)
- **15 s clip:** $1.485 (per clip)
- **Account:** After a top-up (Otherwise 403 PLAN_REQUIRED)

## Make a clip

Name it in `model` (`"v2.0-flash"` or `"v2.0 · Flash"`) on [POST /v2/videos](https://developers.mnml.ai/docs/videos), with a still to start from. It answers `202` with a job, and a clip takes a few minutes: poll [GET /v2/jobs/{id}](https://developers.mnml.ai/docs/jobs) or add a [webhook](https://developers.mnml.ai/docs/webhooks).

**curl**

```bash
curl -X POST https://api.mnml.ai/v2/videos \
  -H "Authorization: Bearer $MNML_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "job_id": "10482",
    "model": "v2.0-flash",
    "duration_seconds": 10,
    "camera_movement": "orbit-right"
  }'
```

**TypeScript**

```ts
const res = await fetch("https://api.mnml.ai/v2/videos", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MNML_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "job_id": "10482",
    "model": "v2.0-flash",
    "duration_seconds": 10,
    "camera_movement": "orbit-right"
  }),
});

const data = await res.json();
```

**Python**

```python
import os, requests

res = requests.post(
    "https://api.mnml.ai/v2/videos",
    headers={"Authorization": f"Bearer {os.environ['MNML_API_KEY']}"},
    json={
      "job_id": "10482",
      "model": "v2.0-flash",
      "duration_seconds": 10,
      "camera_movement": "orbit-right"
    },
)

data = res.json()
```

## Options

- `duration_seconds` is 10 or 15, priced by the second. An `end_frame` is optional and free.
- `camera_movement`: `auto`, `static`, `truck-right,pan-left`, `orbit-right`, `pedestal-up,tilt-down`, `dolly-out,tilt-up`, `dolly-in,tilt-up`, `zoom-in`, or up to two moves joined by a comma, such as `"dolly-in,tilt-up"`. Default `static`.
- `motion`, how much moves in the scene: `auto`, `subtle`, `balanced`, `dynamic`. Default `subtle`.
- `prompt`, optional: what should happen in the clip.

## Price

| Clip | Price |
| --- | --- |
| 10-second clip | $0.99 |
| 15-second clip | $1.485 |

A clip that fails, or that you cancel before it delivers, is refunded. Video needs an account that has topped up its API wallet.

## Related

- [Create a video](https://developers.mnml.ai/docs/videos): every field of the call.
- [Video walkthrough](https://developers.mnml.ai/docs/video-walkthrough): from a render to a clip.
- [Pricing](https://developers.mnml.ai/docs/pricing): the wallet and every price.
