Create a remix of a completed video using a refreshed prompt.
Parameters
videoID string
Returns
Remix video
package main
import (
"context"
"fmt"
"github.com/openai/openai-go"
)
func main() {
client := openai.NewClient()
video, err := client.Videos.Remix(
context.TODO(),
"video_123",
openai.VideoRemixParams{
Prompt: "Extend the scene with the cat taking a bow to the cheering audience",
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", video.ID)
}
{
"id": "video_456",
"object": "video",
"model": "sora-2",
"status": "queued",
"progress": 0,
"created_at": 1712698600,
"size": "720x1280",
"seconds": "8",
"remixed_from_video_id": "video_123"
}
Returns Examples
{
"id": "video_456",
"object": "video",
"model": "sora-2",
"status": "queued",
"progress": 0,
"created_at": 1712698600,
"size": "720x1280",
"seconds": "8",
"remixed_from_video_id": "video_123"
}