Skip to main content
POST
Edit a motion graphic
Follow the new version as you follow POST /v2/videos/move.

Authorizations

x-magnific-api-key
string
header
required

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

Path Parameters

motion_id
string
required

The motion_id, from GET /v2/videos/move or POST /v2/videos/move.

Query Parameters

dry_run
boolean

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

Body

application/json
base_version_id
string
required

A ready version of the motion, from GET /v2/videos/move/{motion_id}.

Maximum string length: 64
prompt
string
required

What to change. 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
duration
integer | null

Length in seconds. Default: the base version's length.

Required range: 1 <= x <= 180
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