More modelsOpenaiSora 2 text to video

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

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

The prompt for generating the output.

size?string

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

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

Response Body

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