Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.gmicloud.ai/llms.txt

Use this file to discover all available pages before exploring further.

Edits a specific segment of an existing video (audio, video, or both). Model
ltx-2-pro-retake

Inputs

Required

  • video_url (STRING)
    Source video to be edited.
  • start_time (FLOAT, default: 0)
    Start time of edit segment in seconds.
  • duration (INT, default: 5)
    Length of segment to modify.

Optional

  • prompt (STRING)
    Instruction describing how the segment should be changed.
  • mode (STRING, default: replace_audio_and_video)
    Edit operation mode. Options: replace_audio_and_video, replace_audio, replace_video.

Outputs

  • video (VIDEO)
    Edited video output.
  • video_url (STRING)
    Public URL of edited video.
  • file_path (STRING)
    Local saved path.