Gemini Omni Flash 1.2
Text to video · Image to video · Video editing
Starting price $0.0433 / second
By ByteDance
Seedance 2.5 Flash makes 4 to 30 second video at 480p or 720p from a prompt, a first frame or reference images.
bytedance/seedance-2.5/flash/reference-to-videoThis model has other modes with their own ids: bytedance/seedance-2.5/flash/text-to-video, bytedance/seedance-2.5/flash/image-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/flash/reference-to-video",
"input": {
"prompt": "@Image1 walks through the market from @Image2, keeping the same clothes, while the camera circles slowly."
}
}'
# 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/flash/reference-to-video", "quote_id": "QUOTE_ID", "input": {"prompt":"@Image1 walks through the market from @Image2, keeping the same clothes, while the camera circles slowly."}}'
# 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 used to generate the video. |
task | string (enum) | The type of video generation task. Reference uses the supplied media as guidance. |
image_urls | array of image URLs | Reference images to guide video generation. Refer to them in the prompt as @Image1, @Image2, etc. Supported formats: JPG, PNG, WebP, BMP, TIFF, GIF, HEIC, HEIF. Max 30 MB per image. Up to 10 images. |
resolution | string (enum) | Video resolution - 480p for faster generation, 720p for quality. |
duration | string (enum) | Choose the exact video length, 4 to 30 seconds. |
aspect_ratio | string (enum) | The aspect ratio of the generated 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' uses the default video codec; US backend output is kept unchanged. 'H264' and 'H265' select H.264 and H.265 respectively. |
output_format | string (enum) | Output video format. 'mp4' is broadly compatible with browsers, mobile devices and media players. 'mov' targets professional post-production such as color grading, keying and compositing, but may not be supported by all players. |
return_last_frame | boolean | If true, also return the last frame of the generated video as an image. |
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.
Choose the exact duration and resolution before generating. Text and reference modes offer six aspect ratios; image mode follows the source frame. Generated audio is optional.
Reference mode uses up to ten images to keep a subject or style consistent. Video and audio references, editing and extension are not offered here.