# n8n-nodes-lumalabs

This is an n8n community node for LumaLabs' video generation API. It allows you to generate AI-powered videos directly from n8n workflows.

## Installation

Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.

```bash
npm install n8n-nodes-lumalabs
```

## Operations

### Generate Video

Creates a new video using LumaLabs' AI video generation API.

**Parameters:**
- Prompt (Required): The text prompt describing the video you want to generate
- Negative Prompt: Things to avoid in the generated video
- Seed: Random seed for generation
- Motion Scale: Scale of motion in the video (default: 30)
- Motion Randomness: Randomness of motion in the video (default: 30)

### Get Video Status

Check the status of a video generation request.

**Parameters:**
- Video ID (Required): The ID of the video generation request to check

## Credentials

You need to provide your LumaLabs API key to use this node. You can obtain an API key from [LumaLabs](https://docs.lumalabs.ai/docs/video-generation).

## Example Usage

1. Create a new workflow
2. Add the LumaLabs node
3. Configure your API credentials
4. Set up the video generation parameters
5. Connect to other nodes as needed

## Resources

* [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/)
* [LumaLabs API documentation](https://docs.lumalabs.ai/docs/video-generation)

## Version history

* 1.0.0: Initial release

## License

[MIT](LICENSE)
