---
title: "Apply Effects To Generation"
method: POST
path: "/generations/{generation_id}/versions/apply-effects"
---

# Apply Effects To Generation

`POST /generations/{generation_id}/versions/apply-effects`

## Request

- Base URL: `https://api.voicelabs.now` (the document declares no server; this is the origin it was published from)
- URL: `https://api.voicelabs.now/generations/{generation_id}/versions/apply-effects`
- Auth: none declared

Apply an effects chain to an existing generation, creating a new version.

## Path parameters

- `generation_id` string, required

## Request body

- ApplyEffectsRequest: Request to apply effects to an existing generation.
  - `effects_chain` EffectConfig[], required
    - `type` string, required
    - `enabled` boolean
    - `params` object
  - `source_version_id` string, nullable: Version to use as source audio (defaults to clean/original)
  - `label` string, nullable: Label for this version (auto-generated if omitted)
  - `set_as_default` boolean: Set this version as the default

## Response `200`

Successful Response

- GenerationVersionResponse: Response model for a generation version.
  - `id` string, required
  - `generation_id` string, required
  - `label` string, required
  - `audio_path` string, required
  - `effects_chain` EffectConfig[], nullable
    - `type` string, required
    - `enabled` boolean
    - `params` object
  - `source_version_id` string, nullable
  - `is_default` boolean, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/voicelabs/apis/voicebox-api.md) · [All operations](https://skmtc.dev/voicelabs/apis/voicebox-api/llms.txt) · [OpenAPI document](https://skmtc.dev/voicelabs/apis/voicebox-api/revisions/a7a37d1fc02f?raw)
