WaveSpeedAI APILumaLuma Modify Video

Luma Modify Video

Luma Modify Video

Playground

Try it on WavespeedAI!

Luma Modify Video transforms and restyles existing videos with AI-powered modifications, enabling style changes, visual enhancements, and creative edits. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Features

Luma Modify Video

Luma Modify Video is an AI-powered video transformation model that restyles and modifies existing videos using text prompts. Choose from multiple transformation modes — from subtle enhancements to dramatic reimaginations — and let AI transform your footage into something new.


Why Choose This?

  • Flexible transformation modes 9 different modes across 3 categories (Adhere, Flex, Reimagine) to control how closely the output follows your source video.

  • Text-guided modifications Use natural language prompts to guide the video transformation with built-in Prompt Enhancer support.

  • First frame control Optionally provide a modified first frame to guide the entire video transformation style.

  • High-quality output Produces smooth, coherent video modifications with consistent styling throughout.

  • Fast processing Optimized for quick turnaround times.


Parameters

ParameterRequiredDescription
videoYesSource video to modify (max 100MB, max 30 seconds)
promptNoText instruction to guide how the video should be modified
modeNoTransformation intensity (default: adhere_1)
first_frameNoModified first frame image to guide the video transformation

Mode Options

  • Adhere (1-3) — Very close to original, ideal for subtle enhancements and minor adjustments
  • Flex (1-3) — Allows stylistic changes while keeping recognizable elements from the source
  • Reimagine (1-3) — Loosely follows the source, best for dramatic or transformative changes

Higher numbers within each category indicate stronger effect intensity.


How to Use

  1. Upload your video — drag and drop or paste a public URL (max 30 seconds, max 100MB).
  2. Write your prompt — describe the desired transformation or style.
  3. Select mode — choose from adhere, flex, or reimagine based on how much change you want.
  4. Add first frame (optional) — upload a modified first frame to guide the overall style.
  5. Run — submit and download the transformed video.

Pricing

Per-5-second billing with a 5-second minimum.

Video DurationCost
Up to 5s$0.095
10s$0.19
15s$0.285
20s$0.38
30s (max)$0.57

Billing Rules

  • Minimum charge: 5 seconds ($0.095)
  • Rate: $0.019 per second ($0.095 per 5 seconds)
  • Maximum video length: 30 seconds

Best Use Cases

  • Style Transfer — Transform realistic footage into anime, painting, or cinematic styles.
  • Visual Effects — Add atmospheric effects, color grading, or artistic filters to videos.
  • Content Repurposing — Restyle existing content for different platforms or audiences.
  • Creative Exploration — Experiment with dramatic reimaginations of source material.
  • Brand Consistency — Apply consistent visual styles across multiple video clips.

Pro Tips

  • Start with adhere modes for subtle changes, move to flex or reimagine for more dramatic effects.
  • The first_frame parameter can significantly influence the overall style of the output.
  • Use clear, descriptive prompts that specify the desired transformation style.
  • For best results, use high-quality source videos with good lighting.

Notes

  • Maximum video file size is 100MB.
  • Maximum video duration is 30 seconds.
  • If using a URL, ensure it is publicly accessible.

Authentication

For authentication details, please refer to the Authentication Guide.

API Endpoints

Submit Task & Query Result


# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/luma/modify-video" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
    "mode": "adhere_1"
}'

# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
videostringYes-The source video to modify. Maximum file size is 100MB and maximum duration is 30 seconds.
promptstringNo-Text instruction to guide how the video should be modified or restyled.
modestringNoadhere_1adhere_1, adhere_2, adhere_3, flex_1, flex_2, flex_3, reimagine_1, reimagine_2, reimagine_3Controls how closely the output follows the source video. Adhere: subtle enhancements staying very close to original. Flex: allows stylistic changes while keeping recognizable elements. Reimagine: dramatic transformations loosely following the source.
first_framestringNo--Optional modified version of the original first frame to guide the video transformation.

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayArray of URLs to the generated content (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.has_nsfw_contentsarrayArray of boolean values indicating NSFW detection for each output
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

ParameterTypeRequiredDefaultDescription
idstringYes-Task ID

Result Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
dataobjectThe prediction data object containing all details
data.idstringUnique identifier for the prediction, the ID of the prediction to get
data.modelstringModel ID used for the prediction
data.outputsstringArray of URLs to the generated content (empty when status is not completed).
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds
© 2025 WaveSpeedAI. All rights reserved.