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

# Generate Effects Config

`POST /api/effects/generate`

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/fastapi.md) · [All operations](https://skmtc.dev/openshorts/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openshorts/fastapi/revisions/8085a0ce516b/schema)
