VideoKling 4.0
Text to video · Image to video · Video editing
Starting price $0.2488 / second
By ByteDance
Move from a written scene to a video. Set the subject, action and mood in your prompt.
bytedance/seedance-2.5/us/image-to-videoThis model has other modes with their own ids: bytedance/seedance-2.5/us/text-to-video, bytedance/seedance-2.5/us/reference-to-video.
Quote 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": "bytedance/seedance-2.5/us/image-to-video",
"input": {
"prompt": "The jellyfish in the image pulses slowly upward while small bubbles rise past it. The camera holds still.",
"image_url": "https://example.com/input.png"
}
}'
# 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": "bytedance/seedance-2.5/us/image-to-video", "quote_id": "QUOTE_ID", "input": {"prompt":"The jellyfish in the image pulses slowly upward while small bubbles rise past it. The camera holds still.","image_url":"https://example.com/input.png"}}'
# 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 |
|---|---|---|
prompt | string | The text prompt describing the desired motion and action for the video. |
image_urlrequired | string (image URL) | The URL of the starting frame image to animate. Supported formats: JPEG, PNG, WebP, BMP, TIFF, GIF, HEIC, HEIF. Max 30 MB. |
end_image_url | string (image URL) | The URL of the image to use as the last frame of the video. When provided, the generated video will transition from the starting image to this ending image. Supported formats: JPEG, PNG, WebP, BMP, TIFF, GIF, HEIC, HEIF. Max 30 MB. |
resolution | string (enum) | Video resolution - 480p for faster generation, 720p for balance, 1080p for high quality. |
draft | boolean | Generate a draft preview at 480p, overriding resolution. Returns a draft_id for completing the draft at 1080p or 4k within 7 days. |
duration | string (enum) | Duration of the video in seconds. |
aspect_ratio | string | The aspect ratio of the generated video. Always "auto" for image-to-video |
generate_audio | boolean | Whether to generate synchronized audio for the video, including sound effects, ambient sounds, and lip-synced speech. |
bitrate_mode | string (enum) | Output bitrate mode. 'high' requests a higher-quality, larger-file encode from the model; 'standard' uses the default bitrate. |
codec | string (enum) | 'auto' retains default video codec behaviour; 'H264' uses H.264; 'H265' uses H.265. |
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.
Seedance 2.5 creates video with sound from a written scene: sound effects, ambience and lip-synced speech come out together with the picture. A clip lasts 4 to 30 seconds, at 480p, 720p or 1080p.
Besides text, it can start from an opening image or follow reference images for a character, a product or a style. Six aspect ratios cover everything from a 21:9 cinema frame to 9:16 phone video.
Look for smooth movement, consistent shapes and a useful opening and ending frame. Trim the result in an editor if you need a seamless loop.