Skip to main content

Overview

AI Video Editor changes existing footage from a text prompt. Use it to remove or replace objects, change colors, add scene details, or restyle a clip without a manual timeline workflow.

How It Works

  1. Upload a source video - Use the file upload API and copy its file_path
  2. Describe the edit - Provide a prompt such as “Change the car color to blue”
  3. Choose the clip range - Set start_seconds and end_seconds
  4. Create the job - Submit the edit and poll until its status is complete
  5. Download the result - Retrieve the edited video from downloads

Use Cases

  • Object removal - Remove distracting people, props, logos, or background details
  • Scene changes - Replace backgrounds or add new visual elements
  • Color and lighting edits - Change colors, lighting, and other scene details
  • Creative restyling - Turn footage into cinematic, illustrated, or branded variants
  • Ad variants - Produce multiple edits from one source clip

Best Practices

Use short, stable clips first - Test a focused 3-10 second segment before processing more footage.
  • Write one clear edit - A focused instruction is easier to apply consistently than several unrelated changes
  • Name the subject - Identify the object, person, or region you want changed
  • Describe the result - State the desired color, object, environment, or visual style
  • Use clear footage - Stable motion, good lighting, and visible subjects improve consistency
  • Review the full clip - Check transitions and fast-moving details before using the output

Code Example

The input file must be a direct URL or a file_path returned by the file upload API.
cURL

Pricing

Credits are charged for frames that render. The create response provides an estimate, and the completed job reports the final total in credits_charged. See Billing for current rates.

API Reference

AI Video Editor API Reference

View all request fields, models, limits, and response formats

Video to Video

Apply a new visual style to existing footage

Character Replace

Replace a person throughout a video