lip-sync

Latent Sync - Lip-sync video generation

Generate lip-synced video by synchronizing a video with an audio file using AI Latent-Sync technology

post/v1/ai/lip-sync/latent-sync

Request

  • Base URL: https://api.magnific.com
  • URL: https://api.magnific.com/v1/ai/lip-sync/latent-sync
  • Auth: API key in header x-magnific-api-key

Request body

video_urlstring required

URL of the video to sync

audio_urlstring required

URL of the audio to sync

seedinteger

Seed for the syncing process

guidance_scalenumber float

Guidance strength for the sync process

return_private_urlboolean

If true, the private URL (gs URI) of the generated video will be returned

webhook_urlstring uri

Optional callback URL that will receive asynchronous notifications whenever the task changes status. The payload sent to this URL is the same as the corresponding GET endpoint response, but without the data field.

Example request

{
  "video_url": "https://example.com/input-video.mp4",
  "audio_url": "https://example.com/input-audio.mp3",
  "seed": 42,
  "guidance_scale": 1,
  "webhook_url": "https://www.example.com/webhook"
}

Response

OK - The task exists and the status is returned

Example response

{
  "data": {
    "generated": [
      "https://openapi-generator.tech",
      "https://openapi-generator.tech"
    ],
    "task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
    "status": "CREATED"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.