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.
wan-3-0This model has other modes with their own ids: alibaba/wan-3.0/image-to-video, alibaba/wan-3.0/reference-to-video, alibaba/wan-3.0/text-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": "wan-3-0",
"input": {
"prompt": "A red fox trots across a snowy forest clearing at dawn, breath steaming in the cold air, while the camera slowly pans to follow it."
}
}'
# 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": "wan-3-0", "quote_id": "QUOTE_ID", "input": {"prompt":"A red fox trots across a snowy forest clearing at dawn, breath steaming in the cold air, while the camera slowly pans to follow it."}}'
# 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 |
|---|---|---|
inputImage | array of image URLs | Optional. First frame of the video. Leave empty to generate from the prompt alone. JPEG/JPG/PNG (no transparency)/BMP/WEBP, 240-8000px, ratio up to 8:1, max 20MB. |
promptrequired | string | Required. The prompt to generate the video. |
duration | string (enum) | Required. Total duration of the generated video (in seconds) |
resolution | string (enum) | Required. Quality tier for the generated video |
ratio | string (enum) | Optional. Aspect ratio of the output. Adaptive derives it from the prompt and the input images. |
inputImageLast | array of image URLs | Optional. Last frame of the video. Same format limits as the first frame. |
audioEnabled | string (enum) | Optional. Whether the output carries an audio track. |
promptExtend | string (enum) | Optional. Rewrites and expands the prompt for better detail, with slightly longer latency. Useful for short prompts. |
seed | integer | Optional. Random seed for reproducibility (0-2147483647). |
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.