Skip to content

Sequentially Edit Generated Video

POST
/v1/chat/completions
  • Sequentially edit an already generated Sora video via the Chat Completions streaming API
  • Keep the previous assistant turn (generation progress/result) in messages, then append a new user edit instruction
  • Set stream: true in the request body
  • Official docs: Chat Completions

Authorizations

bearer
Type
HTTP (bearer)

Request Body

application/json
object

Sora model variant

Valid values"sora-2""sora-2-pro"
object[]
Required

Multi-turn chat; assistant messages should retain the previous video generation status and result

Must be true for SSE streaming of generation progress

Responses

SSE stream response

text/event-stream

Playground

Authorization
Body

Samples