> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yalg.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Creative workflows

> Integrate scripts, shorts, carousels, b-roll, and component workflows.

YALG exposes several asynchronous creative workflows. They share a similar integration pattern: create or fetch a job, trigger an action, poll status, then retrieve generated assets or final content.

## Script jobs

Script jobs help generate and validate longer-form scripts.

Common endpoints:

* `POST /v1/script-jobs`
* `GET /v1/script-jobs`
* `GET /v1/script-jobs/{id}`
* `POST /v1/script-jobs/{id}/validate`
* `POST /v1/script-jobs/{id}/regenerate`
* `POST /v1/script-jobs/{id}/reject`

## Shorts

Shorts repurpose scripts and ideas into short-form video workflows.

Common endpoints:

* `POST /v1/shorts`
* `POST /v1/shorts/from-script/{scriptJobId}`
* `GET /v1/shorts`
* `POST /v1/shorts/{id}/validate`
* `POST /v1/shorts/{id}/regenerate`

## Carousels

Carousel endpoints create and manage slide-based assets and templates.

Common endpoints:

* `GET /v1/carousel/templates`
* `POST /v1/carousel/templates`
* `POST /v1/carousel/generate-from-post/{postId}`
* `POST /v1/carousel/generate-from-content`
* `GET /v1/carousel/generations`

## B-roll and components

B-roll jobs and generated components power video and creative asset workflows.

Common endpoint families:

* `/v1/broll`
* `/v1/components`

Use the API reference for exact payloads and response schemas. These workflows can include generated artifacts, validation errors, and media download URLs.
