More modelsLumaRay 2 i2v

Generate video with luma/ray-2-i2v

Generates a video using the luma/ray-2-i2v model.

POST
/api/v1/model/generateVideo
AuthorizationBearer <token>

API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.

In: header

modelstring

model name

size?string

The size of the generated media in pixels (width*height).

Value in"1280*720" | "720*1280"
imagestring

The image for generating the output.

promptstring

The prompt for generating the output.

duration?string

The duration of the generated media in seconds.

Value in"5" | "10"

Response Body

curl -X POST "https://api.atlascloud.ai/api/v1/model/generateVideo" \  -H "Content-Type: application/json" \  -d '{    "model": "luma/ray-2-i2v",    "image": "https://static.atlascloud.ai/media/images/1752740578864245722_XP0WTPNJ.jpeg",    "prompt": "A father and daughter preparing dinner in a cozy apartment kitchen, chopping vegetables, oil sizzling in the pan, casual conversation, natural warm lighting"  }'
{
  "id": "string",
  "urls": {},
  "model": "string",
  "status": "string",
  "outputs": [
    "string"
  ],
  "created_at": "2019-08-24T14:15:22Z",
  "has_nsfw_contents": [
    true
  ]
}