---
description: Generate AI Videos
---

# Generate Video

#### Pricing

The pricing for different models is as follows:

* **Lite:&#x20;**<mark style="color:blue;">**`$0.22`**</mark>
* **Turbo:&#x20;**<mark style="color:orange;">**`$0.31`**</mark>
* **Standard:&#x20;**<mark style="color:green;">**`$0.45`**</mark>

#### Model Comparison

* <mark style="color:blue;">**`Lite`**</mark>**&#x20;6x Slower speed,  basic quality.**
* <mark style="color:orange;">**`Standard`**</mark>**&#x20;Normal processing speed, priority queue. best quality.**
* <mark style="color:green;">**`Turbo`**</mark>**&#x20;1.5x Faster compared to Lite and is prioritized in the queue, medium quality.**

```bash
curl --request POST \
  --url https://api.unifically.com/higgsfield/generate \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "standard",
    "motion_id": "cd5bfd11-5a1a-46e0-9294-b22b0b733b1e",
    "prompt": "Punch him with fists",
    "enhance_prompt": true,
    "seed": 374487,
    "width": 736,
    "height": 1312,
    "image": [
      "https://media.pixverse.ai/asset/media/fusion4_1.jpg",
      "https://media.pixverse.ai/asset/media/fusion4_2.png"
    ]
  }'
```

Ensure to replace `YOUR_API_KEY` with the actual API key. This command submits a request with defined parameters to generate an image using specific parameters, dimensions, and images.

#### Example of a Successful Response

A successful response from the API will include:

```json
{
  "id": "aca6c73e-aa4c-47bb-aa62-a100a0f7dd22"
}
```

The `id` field in the response represents the unique identifier for the generated content request.

#### Key Field Description

| Fields           | Type      | Description                                                                                          |
| ---------------- | --------- | ---------------------------------------------------------------------------------------------------- |
| `model`          | string    | Available: standard, lite, turbo.                                                                    |
| `motion_id`      | string    | motion id templates can be obtained from the official website`cd5bfd11-5a1a-46e0-9294-b22b0b733b1e`. |
| `prompt`         | string    | Prompt words for the video                                                                           |
| `enhance_prompt` | boolean   | Whether to enhance the prompt word                                                                   |
| `seed`           | number    | seed                                                                                                 |
| `width`          | number    | Video Width                                                                                          |
| `height`         | number    | Video Height                                                                                         |
| `image`          | string\[] | Video frame image address supports url and base64. It must be at least 1 and at most 2 images.       |
