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.
2s minimum, from 240 credits
Pricing
| Condition | Charge |
|---|---|
| Per second of video | 120 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.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | No parameter description. | — |
request_body.prompt | string | Yes | The prompt to retake the video with | — |
request_body.duration | number | No | The duration of the video to retake in seconds | 5 |
request_body.video_url | string | Yes | The URL of the video to retake | — |
request_body.start_time | number | No | The start time of the video to retake in seconds | 0 |
request_body.retake_mode | enum (replace_audio | replace_video | replace_audio_and_video) | No | The retake mode to use for the retake | replace_audio_and_video |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeySubmit 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
{
"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.






