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
| Name | In | Description | Required |
|---|---|---|---|
| Content-Type | header | Yes | |
| Accept | header | Yes | |
| Authorization | header | No | |
| X-Forwarded-Host | header | No |
Request Body
Example
{
"model": "sora-2",
"messages": [
{
"role": "user",
"content": "生成一段高清, 牛马跳舞 视频"
},
{
"role": "assistant",
"content": ""
}
]
}