---
title: "Motion Graphics Video Endpoint"
method: POST
path: "/api/videos/motion-graphics"
---

# Motion Graphics Video Endpoint

`POST /api/videos/motion-graphics`

Generate a motion graphics video using Remotion (React-based animations).

Creates animated explainer-style videos with text, icons, and visual elements
based on a prompt. The animation code is generated by an LLM and rendered
via Remotion.

Args:
    project_id: Project ID to add the video to
    prompt: Description of the motion graphic to generate
    duration: Duration in seconds. Default: auto
    aspect_ratio: Aspect ratio. Default: project's aspect ratio
    order_index: Position in timeline. Default: append at end
    voiceover: Voiceover script to sync animations with
    is_overlay: If "true", convert the video to an OverlayClip after generation
    attachments: Optional list of image/video files to include in the motion graphic

Returns:
    Success response with video data

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/latted/apis/motion-graphics-designer-api.md) · [All operations](https://skmtc.dev/latted/apis/motion-graphics-designer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/latted/motion-graphics-designer-api/revisions/36d149b525df/schema)
