---
title: "Generate Effects Config"
method: POST
path: "/api/effects/generate"
---

# Generate Effects Config

`POST /api/effects/generate`

## Request

- Base URL: `https://api.openshorts.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openshorts.app/api/effects/generate`
- Auth: none declared

Generate structured EffectsConfig JSON for Remotion rendering via Gemini AI.

## Request body

- EffectsGenerateRequest
  - `job_id` string, required
  - `clip_index` integer, required
  - `input_filename` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/openshorts/apis/openshorts-api.md) - [All operations](https://skmtc.dev/openshorts/apis/openshorts-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openshorts/apis/openshorts-api/revisions/62b7629b5e88?raw)
