---
title: "Redraw"
method: POST
path: "/api/animation-compositions/{composition_id}/frames/{frame_id}/redraw"
tags: ["Frame editing"]
---

# Redraw

`POST /api/animation-compositions/{composition_id}/frames/{frame_id}/redraw`

## Request

- Base URL: `https://api.animgen.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.animgen.com/api/animation-compositions/{composition_id}/frames/{frame_id}/redraw`
- Auth: none declared

## Path parameters

- `composition_id` string, uuid, required
- `frame_id` string, required

## Request body

- FrameRedrawRequest
  - `revision` integer, required
  - `prompt` string, required
  - `editMode` 'entire_frame' | 'selected_area'
  - `region` EditRegion
    - `x` number, required
    - `y` number, required
    - `width` number, required
    - `height` number, required
  - `references` ReferenceSelection[]
    - `id` string, required
    - `version` string, required
  - `requestId` string, uuid, required
  - `quoteId` string, required
  - `maxCredits` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/animgen/apis/aianimgenbackend.md) · [All operations](https://skmtc.dev/animgen/apis/aianimgenbackend/llms.txt) · [OpenAPI document](https://skmtc.dev/animgen/apis/aianimgenbackend/revisions/0504d838139a?raw)
