VideoKling 2.6 Motion Control Standard
Video editing
Starting price $0.111 / second
By Raywake
Upload a video and a photo of each new character. Raymotion puts them in place of the people on screen and keeps the movement, lip sync, camera and sound.
rayjutsuQuote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.
# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "rayjutsu",
"input": {
"video_url": "https://example.com/input.mp4",
"image_urls": [
"https://example.com/input.png"
],
"prompt": "Replace the dancer in the center with @Image1 and keep the rest of the room as filmed."
}
}'
# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model": "rayjutsu", "quote_id": "QUOTE_ID", "input": {"video_url":"https://example.com/input.mp4","image_urls":["https://example.com/input.png"],"prompt":"Replace the dancer in the center with @Image1 and keep the rest of the room as filmed."}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"| Name | Type | Description |
|---|---|---|
video_urlrequired | string (URL) | Upload the video to recast: MP4 or MOV, 4 to 20 seconds. The result keeps its length, motion, camera and sound. |
image_urlsrequired | array of image URLs | Upload one image per character, up to 8, ideally showing the face and the whole outfit from several angles. Refer to them in the prompt as @Image1, @Image2 and so on. |
prompt | string | Optional. Say who replaces whom and what else should change, for example "Replace the dancer with @Image1." Leave it empty to swap the characters and keep the scene as filmed. |
resolution | string (enum) | Use 480p for drafts and 720p or 1080p for the final video. |
A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.
"outputs": [
{ "type": "video", "url": "https://…", "mime_type": "video/mp4", "thumbnail_url": "https://…" }
]The exact charge for your input comes from a quote. How charges settle
Fields marked * are required. Review the price before generating.
Raymotion takes a clip you already have and a photo of each new character, then recasts the people in it. The result runs as long as your clip and keeps its movement, camera work, lip sync and soundtrack.
You can recast up to 8 characters in one run. Leave the prompt empty to swap the characters and keep everything else, or write one to say who replaces whom and what else should change.
Watch the whole video. Faces and outfits should match the photos from the first frame to the last; what a photo does not show, such as the back of an outfit, can change. Lips should match the sound and the camera should move as it did in the source.