Skip to main content
POST
Latent-Sync

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
audio_creation_id
string
required

The creation_id of one of your audio creations, such as a text to speech result or an upload.

Maximum string length: 64
video_creation_id
string | null
required

The creation_id of a video to lip sync. Send this or image_creation_id, not both.

Maximum string length: 64
prompt
string | null

The script, on models with has_prompt: true.

voice_id
integer | null

One of your voice ids, to link the voice to the result.

Required range: x >= 1
webhook_url
string<uri>

A URL called once per creation when it completes or fails, signed with your API key's webhook secret. API keys only.

Maximum string length: 512
folder_reference
string

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

Maximum string length: 64

Response

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

data
object
required