Skip to main content
POST
Create a motion graphic
Follow the motion with GET /v2/videos/move/{motion_id} or a webhook_url until its version is ready, then export it with POST /v2/videos/move/versions/{version_id}/render.

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Learn how to obtain an API key

Query Parameters

dry_run
boolean

true returns the price of the request instead of running it. Nothing is charged or created.

Body

application/json
prompt
string
required

The brief: message, copy, style and pacing. Links are not opened: send files in references.

Required string length: 1 - 16000
references
object[] | null

Files the motion uses (logo, images, footage, audio), each one of your creations. Upload them first with POST /v2/uploads, or import stock with POST /v2/uploads/stock.

Maximum array length: 100
allow_generation
boolean

Allow generating paid images, video, 3D, voice-over and music, charged on top of the run. Needed for narration or music. Default: false.

media_budget
integer | null

The most credits to spend on generated media when allow_generation is true. Default: 10000. The run and the export are charged separately.

Required range: x >= 0
aspect_ratio
enum<string> | null

Default 16:9.

Available options:
16:9,
9:16,
1:1,
4:5,
4:3,
21:9,
null
duration
integer | null

Length in seconds. Default: chosen to fit the brief.

Required range: 1 <= x <= 180
brand_kit_id
string | null

A brand kit from GET /v2/brand-kits whose colors, fonts and logos the motion uses.

Maximum string length: 64
title
string | null

The motion's name.

Maximum string length: 120
folder_reference
string

The reference of the project or folder to save the result in. Default: your Personal project.

Maximum string length: 64
webhook_url
string<uri>

Called when the version finishes (ready, failed or cancelled) with the motion as GET /v2/videos/move/{motion_id} returns it, signed with your API key's webhook secret. API keys only.

Maximum string length: 512

Response

With dry_run=true: what the request would cost. Nothing is charged or created.

data
object
required