Gemini Omni Flash 1.2
Text to video · Image to video · Video editing
Starting price $0.0433 / second
By Alibaba
Alibaba's Wan 3.0 animates a starting image, follows up to 10 reference images or works from a prompt alone, with sound and clips up to 30 seconds long.
alibaba/wan-3.0/text-to-videoThis model has other modes with their own ids: alibaba/wan-3.0/image-to-video, alibaba/wan-3.0/reference-to-video, wan-3-0.
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": "alibaba/wan-3.0/text-to-video",
"input": {
"prompt": "A lighthouse keeper climbs a spiral staircase at night with a lantern while the wind howls outside. At the top she opens a small window and rain blows across her face."
}
}'
# 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": "alibaba/wan-3.0/text-to-video", "quote_id": "QUOTE_ID", "input": {"prompt":"A lighthouse keeper climbs a spiral staircase at night with a lantern while the wind howls outside. At the top she opens a small window and rain blows across her face."}}'
# 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 |
|---|---|---|
promptrequired | string | Text prompt for the generated video. |
resolution | string (enum) | Output video resolution tier. |
aspect_ratio | string (enum) | Output aspect ratio, or adaptive selection. |
duration | integer | Output duration in seconds. Set to null for smart duration, which lets the model pick a length from the prompt and reference media. |
audio | boolean | Include generated audio. |
enable_prompt_expansion | boolean | Enable intelligent prompt rewriting. Disabling it can save roughly 20-60 seconds of latency but is likely to degrade generation quality. |
enable_thinking | boolean | Enable enhanced reasoning before generation. |
seed | integer | Seed |
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.
Wan 3.0 makes clips of 2 to 30 seconds at 480p, 720p or 1080p, with generated sound you can switch off. The adaptive aspect ratio takes the shape from your image and prompt; you can also pick 16:9, 1:1, 9:16 and others.
Start from a first image with an optional last image, give up to 10 reference images and call them by number in the prompt, or write a scene with no image at all. Prompt expansion and a thinking step can rework a short prompt before rendering.
Compare the first and last frames with your sources. Watch for identity changes, drifting backgrounds and an abrupt ending; listen to generated sound when enabled.