Luma Ray 3.2 Image To Video
Playground
Try it on WaveSpeedAI!Luma Ray 3.2 Image to Video is a fast AI image-to-video generation model that animates a source image into cinematic video guided by a text prompt, with controllable aspect ratio, resolution, duration, and optional reference images. Ready-to-use REST inference API for image animation, cinematic clips, product videos, social media content, advertising creatives, visual storytelling, and professional image-to-video workflows with simple integration, no coldstarts, and affordable pricing.
Features
Luma Ray 3.2 Image-to-Video turns a reference image into a cinematic video clip using a natural-language prompt. It is suitable for animating concept art, character shots, illustrated scenes, marketing visuals, and story-driven still images with controllable duration and resolution.
Why Choose This?
-
Image-guided video generation
Start from a single image and animate it into a short cinematic clip. -
Prompt-based motion control
Describe subject motion, camera movement, scene evolution, and atmosphere in natural language. -
Multiple resolution tiers
Choose540p,720p, or1080pdepending on your quality and budget needs. -
Simple duration options
Generate either5sor10sclips with predictable pricing. -
Flexible aspect ratio
Usesizepresets such as16:9for widescreen output. -
Optional reference support
Add references when you want additional visual guidance for style, subject, or scene consistency.
Parameters
| Parameter | Required | Description |
|---|---|---|
| image | Yes | Input image to animate. |
| last_image | No | Optional ending image used to guide the final frame or target end state of the generated video. |
| prompt | Yes | Text prompt describing the motion, camera behavior, and scene development. |
| size | No | Output aspect ratio preset, such as 16:9. |
| resolution | No | Output resolution. Supported values: 540p, 720p, 1080p. |
| duration | No | Output duration. Supported values: 5s, 10s. |
| reference | No | Optional reference input for additional visual guidance. |
How to Use
- Upload your image — provide the source image you want to animate.
- Write your prompt — describe the motion, pacing, mood, and camera behavior you want.
- Choose size — select the aspect ratio that fits your target format.
- Choose resolution — use
540pfor lower cost,720pfor balanced output, or1080pfor higher quality. - Choose duration — select either
5sor10s. - Add references (optional) — include references if you want stronger visual direction.
- Submit — run the model and download the generated video.
Example Prompt
A cinematic video of a teenage girl crossing a vast desert at sunset, dragging a small cart filled with scrap metal. She discovers a damaged robot half-buried in the sand. At first she points a tool at it cautiously, but the robot weakly raises one hand and offers her a tiny glowing flower made of metal. She slowly lowers her guard and smiles. The camera starts with a wide desert landscape, then moves into a gentle close-up of the girl and the robot. Golden sunset, blowing sand, emotional sci-fi adventure, warm and hopeful tone.
Pricing
Pricing depends on duration and resolution.
| Duration | 540p | 720p | 1080p |
|---|---|---|---|
| 5s | $0.50 | $1.00 | $2.00 |
| 10s | $1.00 | $2.00 | $4.00 |
Billing Rules
- Base price is $0.50 for a
5svideo at540p 10scosts 2× the5srate720pcosts 2× the540prate1080pcosts 4× the540prate- Pricing depends only on
durationandresolution
Best Use Cases
- Still-image animation — Turn a single image into a short motion clip.
- Character shots — Animate portraits, concept characters, or key visual frames.
- Story visualization — Bring illustrated scenes or concept art to life.
- Social media content — Create short eye-catching videos from static assets.
- Creative prototyping — Quickly test motion direction and camera ideas from one image.
Pro Tips
- Use a clear, high-quality input image for better motion quality.
- Be specific about motion, camera movement, and emotional tone in your prompt.
- Start with
5sfor faster iteration, then move to10swhen you want more scene development. - Use
540por720pfor testing and1080pfor higher-end output. - Keep prompts focused on animation, motion, and scene progression rather than repeating static visual details already shown in the image.
Notes
imageandpromptare required.durationcurrently supports5sand10s.- Pricing depends only on the selected
durationandresolution. - Reference input is optional.
Related Models
- Luma Ray 3.2 Text-to-Video — Generate videos directly from text prompts.
- Luma video workflows — Explore other video generation and editing models on WaveSpeed.
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
set -euo pipefail
export WAVESPEED_API_KEY="your-api-key"
REQUEST_BODY=$(cat <<'JSON'
{
"image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"size": "16:9",
"resolution": "540p",
"duration": "5s"
}
JSON
)
# 1. Submit the prediction.
SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
-X POST "https://api.wavespeed.ai/api/v3/luma/ray-3.2/image-to-video" \
-H "Authorization: Bearer ${WAVESPEED_API_KEY}" \
-H "Content-Type: application/json" \
-d "${REQUEST_BODY}")
TASK=$(printf '%s' "${SUBMIT_RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
PREDICTION_ID=$(printf '%s' "${TASK}" | jq -r '.id // empty')
if [ -z "${PREDICTION_ID}" ]; then
printf 'Submission response did not contain a prediction id
' >&2
exit 1
fi
RESULT_URL=$(printf '%s' "${TASK}" | jq -r '.urls.get // empty')
if [ -z "${RESULT_URL}" ]; then RESULT_URL="https://api.wavespeed.ai/api/v3/predictions/${PREDICTION_ID}/result"; fi
# 2. Poll until the prediction finishes.
while true; do
RESPONSE=$(curl --silent --show-error --fail-with-body \
"${RESULT_URL}" \
-H "Authorization: Bearer ${WAVESPEED_API_KEY}")
RESULT=$(printf '%s' "${RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
STATUS=$(printf '%s' "${RESULT}" | jq -r '.status // empty')
case "${STATUS}" in
completed) printf '%s\n' "${RESULT}" | jq '.outputs'; break ;;
failed|cancelled|timeout) printf '%s\n' "${RESULT}" | jq . >&2; exit 1 ;;
created|processing) sleep 2 ;;
*) printf 'Unexpected status: %s
' "${STATUS}" >&2; exit 1 ;;
esac
doneParameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| image | string | Yes | - | Source image the video starts from. | |
| prompt | string | Yes | - | Text prompt describing the motion and scene. | |
| last_image | string | No | - | - | Optional ending image used as the last frame. |
| size | string | No | 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4 | Aspect ratio of the generated video. |
| resolution | string | No | 540p | 540p, 720p, 1080p | Output video resolution. |
| duration | string | No | 5s | 5s | Output video duration. This image-to-video entry supports 5s with start and optional end frame control. |
| reference | array<string> | No | - | - | Optional reference images used to guide generation. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Output values, usually URL strings; some models return text strings or structured result objects (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction |
| data.model | string | Model ID used for the prediction |
| data.outputs | array<string | object> | Array of generated outputs (empty when status is not completed). Items are usually URL strings, but may be text strings or structured result objects, depending on the model. |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to poll for the prediction result |
| data.status | string | Status: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |