# Create & Share Custom Style Packs

> Scaffold, inherit from existing styles, validate with G0–G3 gates, and package reusable Python style plugins.

PraisonAI Film's visual engine is **modular and extendable**. You can create your own brand style pack locally — or publish it as an installable Python package — without ever modifying the core engine or existing styles.

---

## Step 1: Scaffold a New Style Pack

Create an installable Python plugin package with one command:

```bash
aifilm style new brand_noir --package
```

This generates `./praisonai-motion-style-brand-noir/` containing:

- `style.yaml` — style manifest (`name`, `api_version: 1`, optional `extends:`)
- `style.js` — custom drawing hooks (primitives, surfaces, shadows, palette, overlays, canvas, or sculpted `kinds`)
- `style.css` — custom typography, speech bubbles, and card styling
- `pyproject.toml` — automatically wired to the `praisonai_motion.styles` entry-point group

> **Style Inheritance (`extends:`):** Set `extends: realistic` or `extends: clean_vector` in `style.yaml` to build on top of an existing style and override only the parts you want!

---

## Step 2: Install & Discover Automatically

Install your style package into the same Python environment:

```bash
python -m pip install ./praisonai-motion-style-brand-noir
aifilm style list
```

`brand_noir` now appears alongside the 6 built-in styles automatically via Python's standard `praisonai_motion.styles` entry-point discovery.

---

## Step 3: Validate & Render

Run the built-in quality check against any film, then render:

```bash
aifilm style validate brand_noir --film hello/film.yaml
aifilm render hello/film.yaml --style brand_noir --out brand-noir.mp4
```

> **Security note:** Only load trusted films and third-party style packs — style extensions can execute Python and JavaScript during rendering.

## Related pages

- [Step-by-Step Setup](https://film.praison.ai/docs/getting-started/install.md)
- [Make & Revise Your First Film](https://film.praison.ai/docs/getting-started/first-film.md)
- [Python SDK](https://film.praison.ai/docs/guides/python-sdk.md)
