More modelsOpenaiSora 2 image to video

Generate video with openai/sora-2/image-to-video

Generates a video using the openai/sora-2/image-to-video 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

duration?integer

The duration of the generated video in seconds.

Default4
Value in4 | 8 | 12
imagestring

The image for generating the output.

promptstring

The prompt for generating the output.

Response Body

curl -X POST "https://api.atlascloud.ai/api/v1/model/generateVideo" \  -H "Content-Type: application/json" \  -d '{    "model": "openai/sora-2/image-to-video",    "image": "string",    "prompt": "string"  }'
{
  "created_at": "2019-08-24T14:15:22Z",
  "has_nsfw_contents": [
    true
  ],
  "id": "string",
  "model": "string",
  "outputs": [
    "string"
  ],
  "status": "string",
  "urls": {}
}