LTX 2.3 Retake Video

2s minimum, from 240 credits
ae_ltx_2_3_retake_video

Replace a selected section of a video’s visuals, audio, or both using a text prompt.

VideoAudio
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.promptstringYesThe prompt to retake the video with—
request_body.durationnumberNoThe duration of the video to retake in seconds5
request_body.video_urlstringYesThe URL of the video to retake—
request_body.start_timenumberNoThe start time of the video to retake in seconds0
request_body.retake_modeenum (replace_audio | replace_video | replace_audio_and_video)NoThe retake mode to use for the retakereplace_audio_and_video

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key

Submit first, then query with the returned task_id until the task completes.

Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_ltx_2_3_retake_video' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "duration": 2.28,
      "prompt": "Only the young man in the black t-shirt standing in the center dissolves away: his body gradually breaks apart into fine dark particles that drift upward and float away, he becomes more and more transparent, and by the end of the clip he has completely vanished and never reappears. The two women on the left and right stay completely normal and untouched for the entire clip, keeping their original appearance and actions. The room, shelves, signboard, lighting and camera stay exactly the same. Particles come only from the man'\''s body, no explosion, no flash, no particles anywhere else, no changes to the women or the background.",
      "retake_mode": "replace_video",
      "start_time": 0,
      "video_url": "https://agentearth.ai/fileserver/file/46a1d07a-b0d2-488e-80c3-8c3243ef6dd7.mp4"
    }
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "description": "task accepted; poll the result via query_tool with this task_id",
  "query_tool": "ae_get_result",
  "status": "created",
  "task_id": "c8a40be7-a396-46d7-85c2-64cb50f144db"
}

This example shows part of the response. Copied content is valid JSON.