video-edit
WAN 2.7 - Edit video
Edit an existing video using WAN 2.7. Transform video content with text instructions, apply visual references, or transfer artistic styles.
Three editing modes:
- Instruction-based editing: Provide prompt with editing instructions (e.g., "change the sky to sunset")
- Reference-image editing: Provide prompt and image_urls to apply visual references to the video
- Style transfer: Provide prompt and image_urls with style reference images to transfer artistic styles
Key features:
- 720P and 1080P resolution support
- Up to 3 reference images for editing or style transfer
- Set duration to 0 to preserve the full input video duration
- Configurable audio handling: auto-generate or preserve original
post/v1/ai/video-edit/wan-2-7
Request
- Base URL: https://api.magnific.com
- URL: https://api.magnific.com/v1/ai/video-edit/wan-2-7
- Auth: API key in header x-magnific-api-key
Request body
Example request
{
"webhook_url": "https://www.example.com/webhook",
"prompt": "Change the background to a futuristic cityscape with neon lights",
"negative_prompt": "watermark, text, distortion, blurry",
"video_url": "https://example.com/input-video.mp4",
"image_urls": [
"https://example.com/reference1.jpg"
],
"seed": 12345,
"additional_settings": {
"prompt_extend": true
}
}Response
OK - The task exists and the status is returned
Example response
{
"data": {
"generated": [
"https://openapi-generator.tech",
"https://openapi-generator.tech"
],
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.