LTX 2.3 Extend Video

2s minimum, from 240 credits
ae_ltx_2_3_extend_video

Extend a video by generating new footage at its beginning or end.

Video
2s minimum, from 240 credits

Pricing

ConditionCharge
Per second of video120 credits/second

Charges depend on video duration (seconds).

When duration is omitted, billing is based on five seconds.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.modeenum (start | end)NoWhere to extend the video: 'end' extends at the end, 'start' extends at the beginning.end
request_body.promptstring | unknownNoDescription of what should happen in the extended portion of the video.—
request_body.contextnumber | unknownNoNumber of seconds from the input video to use as context for the extension (minimum 1 second, maximum 20 seconds). If not provided, defaults to maximize available context within the 505 frame limit.—
request_body.durationnumberNoDuration in seconds to extend the video. Maximum 20 seconds.5
request_body.video_urlstringYesThe URL of the video to extend—

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_ltx_2_3_extend_video' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "video_url": "https://v3b.fal.media/files/b/0a90e01f/SWYdQyTBCPWYOLgfg5Jw2_004_video.mp4"
    }
  }
}'

No response example available yet.