Continuous Edit Generate Video

Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position. Create a completion for the provided prompt and parameters Official Documentation: https://platform.openai.com/docs/api-reference/chat/create

Endpoint

POST http://localhost/v1/chat/completions

cURL Command

curl -X POST 'http://localhost/v1/chat/completions' \ -H 'Content-Type: application/json' \ -d '{ "model": "sora-2", "messages": [ { "role": "user", "content": "生成一段高清, 牛马跳舞 视频" }, { "role": "assistant", "content": "" } ] }'

Parameters

NameInDescriptionRequired
Content-TypeheaderYes
AcceptheaderYes
AuthorizationheaderNo
X-Forwarded-HostheaderNo

Request Body

Example

{
  "model": "sora-2",
  "messages": [
    {
      "role": "user",
      "content": "生成一段高清, 牛马跳舞 视频"
    },
    {
      "role": "assistant",
      "content": ""
    }
  ]
}