# Luma Ray 3.2 Edit (video-edit)

**TL;DR**: `POST /v2/jobs` with `"model": "luma/ray/3-2/video-edit"`. A new account pays from **$0.1584 per second** (list $0.198 per second, −20%). One job makes one video.

## Model
| What | Value |
|---|---|
| Name | Luma Ray 3.2 Edit |
| Vendor | luma |
| Model id | `luma/ray/3-2/video-edit` |
| Task | video-edit |
| Group | `D1`: Edit video |
| Output | video |
| Priced per | Second of output (`duration`) |

## Price
| `resolution` | List price | Discount | You pay |
|---|---|---|---|
| `540p` | $0.198 per second | −20% | $0.1584 per second |
| `720p` | $0.297 per second | −20% | $0.2376 per second |
| `1080p` | $0.594 per second | −20% | $0.4752 per second |

- One job costs its units × the price per unit: 5 s at `540p` = $0.792.
- These are the prices a new account pays (its default discount). With your key, `GET /v2/models/luma/ray/3-2/video-edit` shows your own: `price` is what a job is charged, `list_price` and `discount` are there when your org has a discount.
- The price is held when the job is accepted and charged when it succeeds. A job that fails on Wandura's side is free. A job blocked by content safety, or with an input the model cannot use, is charged only what had already been spent on it, with no margin. Test keys (`wdr_test_…`) cost nothing.

## Inputs
| Field | Required | What to send |
|---|---|---|
| `prompt` | Yes | Text, sent to the model word for word. Up to 4000 characters. |
| `video_urls` | Yes | Exactly 1 public https URL (videos), in order. |
| `resolution` | No | `540p`, `720p` or `1080p`. Default `540p`. |
| `duration` | No | `5` or `10` seconds. Default `5`. |

Send these fields at the top level of the body: no `style` and no `inputs` object. Every job also takes `webhook_url`, `end_user_id`, `client_reference_id`, `lane` and `timeout_seconds` / `deadline_at` (see [Jobs API](https://docs.wandura.ai/developers/api-v2/jobs)).

## Limits
| What | Limit |
|---|---|
| Reference videos | Exactly 1 |
| Durations | `5`, `10` |
| Resolutions | `540p`, `720p`, `1080p` |
| Text | Up to 4000 characters |
| Outputs | One video per job |
| Maximum job time | 900 s from when the job starts. Past it the job ends `timeout`, free. |

## Example
```bash
curl -X POST https://api.wandura.ai/v2/jobs \
  -H "Authorization: Bearer $WANDURA_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: job-2026-001" \
  -d '{
    "model": "luma/ray/3-2/video-edit",
    "prompt": "A red fox runs through fresh snow at sunrise, slow motion.",
    "video_urls": [
      "https://your-bucket.example.com/ref-1.mp4"
    ],
    "resolution": "540p",
    "duration": 5,
    "webhook_url": "https://your-backend.example.com/hooks/wandura",
    "end_user_id": "user_123"
  }'
# HTTP 202
# {"job_id":"run_…","status":"queued","model":"luma/ray/3-2/video-edit","created_at":"…"}
```

The answer is `202` with a `job_id`. Get the result from `GET /v2/jobs/{job_id}` or your signed webhook, as for every job (see [Jobs API](https://docs.wandura.ai/developers/api-v2/jobs)). Every raw model: [Raw models](https://docs.wandura.ai/developers/api-v2/raw-models).
