# Luma | Ray 3.2 | Image to Video Luma Ray 3.2 Image-to-Video animates still images into cinematic clips using text prompts, while preserving the look and structure of the original frame. ## API Information - **Model Slug:** luma-ray-v3-2-image-to-video - **Branded URL:** https://www.eachlabs.ai/luma/luma-ray/luma-ray-v3-2-image-to-video - **Provider:** Luma - **Category:** Image to Video - **Output Type:** video - **Status:** active - **Base Cost:** $0.50–$4.00 per execution, depending on resolution and duration - **Estimated Processing Time:** 60 seconds - **Interactive Demo:** https://www.eachlabs.ai/ai-models/luma-ray-v3-2-image-to-video ## Pricing - **Charge Type:** dynamic - **Estimate:** $0.50–$4.00 per execution, depending on resolution and duration - **Pricing Details:** 540p or 540 · 5 s (default): $0.5 - **Pricing Details:** 540p or 540 · 10 s: $1.00 - **Pricing Details:** 720p or 720 · 5 s: $1.00 - **Pricing Details:** 1080p or 1080 · 5 s: $2.00 - **Pricing Details:** 720p or 720 · 10 s: $2.00 - **Pricing Details:** 1080p or 1080 · 10 s: $4.00 ## Input Schema | Parameter | Type | Required | Default | Constraints | Description | |-----------|------|----------|---------|-------------|-------------| | prompt | string | Yes | - | - | Text prompt describing the motion or scene to generate. | | image_url | string | Yes | - | - | URL of the source image the video starts from. | | aspect_ratio | string | No | 16:9 | 3:1, 2:1, 21:9, 16:9, 4:3, 3:2, 1:1, 3:4, 2:3, 9:16, 1:2, 1:3 | Aspect ratio of the generated video. Default: 16:9. | | resolution | string | No | 540p | 540p, 720p, 1080p | Resolution of the generated video. 720p costs 2x, 1080p costs 4x. Default: 540p. | | duration | string | No | 5s | 5s, 10s | Duration of the generated video. 10s costs 2x. Default: 5s. | | loop | boolean | No | false | - | Whether the video should loop seamlessly. Not supported for 10s videos. Default: false. | | reference_image_urls | array | No | - | - | Optional reference images used to guide generation. | ## Example Request ```bash curl -X POST https://api.eachlabs.ai/v1/prediction/ \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "luma-ray-v3-2-image-to-video", "input": { "image_url": "https://cdn-us.eachlabs.ai/defaults/1d102faef43a4c059de848086d0bbc41.png", "prompt": "The father and son sit by the campfire roasting marshmallows over the flames — the fire flickers warmly, small sparks drift up into the night, and the marshmallows slowly toast over the heat. The father turns his head to look lovingly at his son and gently ruffles the boy's hair with his hand; the boy laughs happily and looks up at his father. Keep both faces and features fully preserved and unchanged. Warm flickering firelight on their faces, soft natural movement, intimate and heartwarming mood. Realistic gentle motion, slight handheld camera, no fast or exaggerated movement, no music." } }' ``` ## Output Schema Response returned by `GET /v1/prediction/{id}` when the job completes: ```json { "status": "success", "predictionID": "string", "output": "string (URL of generated video)", "metrics": { "predict_time": "number (seconds)" } } ``` ## Polling ```bash curl https://api.eachlabs.ai/v1/prediction/{PREDICTION_ID} \ -H "Authorization: Bearer YOUR_API_KEY" ``` | Status | Meaning | |--------|---------| | `processing` | Still running — poll again | | `success` | Done — read `output` | | `error` | Failed — read `message` / `details` | ## Webhook (alternative to polling) Pass `"webhook_url": "https://your.host/path"` in the create request. Eachlabs POSTs this payload when the job ends: ```json { "exec_id": "prediction-uuid", "status": "succeeded", "output": "https://...", "error": "" } ``` `status` is `"succeeded"` or `"failed"`. `exec_id` equals the `predictionID` from create. Return 2xx within 30 seconds. ## Errors Error body: `{ "status": "error", "message": "...", "details": "..." }` | Code | Meaning | |------|---------| | `400` | Invalid input | | `401` | Missing / invalid `Authorization` bearer token | | `404` | Unknown model or prediction id | | `429` | Rate limit — 100 creates / min, 10 concurrent per key | | `5xx` | Retry with backoff | ## Overview **Luma | Ray 3.2 | Image to Video Overview** Luma | Ray 3.2 | Image to Video is an advanced image-to-video generation model from Luma, built on the Ray 3.2 family of video foundation models. It transforms a single still frame into a smooth, cinematic clip while preserving the original image’s composition, style, and fine details. This preservation-first approach, combined with strong camera-motion and 3D-awareness, is the primary differentiator of Luma image-to-video compared to many generic motion filters. Creators can start from a photo, concept art, or rendered frame, add a guiding text prompt, and produce short videos that feel like native footage rather than simple pan-and-zoom effects. Integrated through each::labs, Luma | Ray 3.2 | Image to Video gives developers and creative teams reliable, production-ready image-to-video capabilities inside their own workflows. ## Usage Notes - API Base URL: `https://api.eachlabs.ai/v1` - Authentication: send `Authorization: Bearer YOUR_API_KEY`. Generate a key from the Eachlabs dashboard at https://www.eachlabs.ai/dashboard/api-keys. - File-typed parameters (`*_url`, `image_url`, `video_url`, `audio_url`, etc.) accept publicly-reachable HTTPS URLs only. Upload your asset first (GCS / S3 / your CDN) and pass the resulting URL. Data-URIs and localhost URLs are rejected. - For structured parameters (arrays / objects) send real JSON values, not stringified payloads. - Monetary values are reported in USD; per-token / per-megapixel rates may be billed in micro-cents internally. - Prefer `webhook_url` over polling for long-running predictions — see the Webhook Callback section.