Examples and guides for using the OpenAI API
Sora Cookbook Updates (#2517)
annikab-oai34c5048a2a5b
diff --git a/authors.yaml b/authors.yamlindex f7ce0608..fcb7c300 100644--- a/authors.yaml+++ b/authors.yaml@@ -560,7 +560,7 @@ kevinv-openai:annikab-oai:name: "Annika Brundyn"- website: "https://www.linkedin.com/in/annikabrundyn/"+ website: "https://github.com/annikab-oai"avatar: "https://avatars.githubusercontent.com/u/231350694"kathylau-oai:diff --git a/examples/sora/gifs/alfie1.gif b/examples/sora/gifs/alfie1.gifdeleted file mode 100644index f566f572..00000000Binary files a/examples/sora/gifs/alfie1.gif and /dev/null differdiff --git a/examples/sora/gifs/alfie1_small.gif b/examples/sora/gifs/alfie1_small.gifdeleted file mode 100644index 3b7f64eb..00000000Binary files a/examples/sora/gifs/alfie1_small.gif and /dev/null differdiff --git a/examples/sora/gifs/alfie_input.gif b/examples/sora/gifs/alfie_input.gifindex f566f572..ac811b19 100644Binary files a/examples/sora/gifs/alfie_input.gif and b/examples/sora/gifs/alfie_input.gif differdiff --git a/examples/sora/gifs/alfie_museum_extension.gif b/examples/sora/gifs/alfie_museum_extension.gifdeleted file mode 100644index 60e1beba..00000000Binary files a/examples/sora/gifs/alfie_museum_extension.gif and /dev/null differdiff --git a/examples/sora/gifs/alfie_museum_extension_lowerq.gif b/examples/sora/gifs/alfie_museum_extension_lowerq.gifdeleted file mode 100644index c58ee1de..00000000Binary files a/examples/sora/gifs/alfie_museum_extension_lowerq.gif and /dev/null differdiff --git a/examples/sora/sora2_prompting_guide.ipynb b/examples/sora/sora2_prompting_guide.ipynbindex 7819f5d6..edc8b8d6 100644--- a/examples/sora/sora2_prompting_guide.ipynb+++ b/examples/sora/sora2_prompting_guide.ipynb@@ -59,7 +59,7 @@"- **seconds**: the clip length, supported values: “4”, “8”, “12”, “16”, “20”. Default value is “4”.\n","- **characters** *(optional)*: reference up to **two uploaded characters** in a generation. Each entry should include the character ID returned from the Characters API.\n","\n",- "These parameters are the video’s container: resolution, duration, and character references will not change based on prose like “make it longer.” Set them explicitly in the API call; your prompt controls everything else (subject, motion, lighting, style)."+ "These parameters are the video’s container: resolution, duration, and character references will not change based on prose like “make it longer.” Set them explicitly in the API call; your prompt controls everything else (subject, motion, lighting, style). For more details, see the [Sora API docs](https://developers.openai.com/api/docs/guides/video-generation)."]},{@@ -410,7 +410,7 @@"source": ["| Input character video | Generation 1 | Generation 2 | Generation 3 |\n","| --- | --- | --- | --- |\n",- "| <img src=\"gifs/alfie1.gif\" width=\"220\"> | <img src=\"gifs/alfie_museum.gif\" width=\"220\"> | <img src=\"gifs/alfie_f1.gif\" width=\"220\"> | <img src=\"gifs/alfie_tokyo.gif\" width=\"220\"> |"+ "| <img src=\"gifs/alfie_input.gif\" width=\"220\"> | <img src=\"gifs/alfie_museum.gif\" width=\"220\"> | <img src=\"gifs/alfie_f1.gif\" width=\"220\"> | <img src=\"gifs/alfie_tokyo.gif\" width=\"220\"> |"]},{diff --git a/registry.yaml b/registry.yamlindex 2e7bfe6e..ba652ee5 100644--- a/registry.yaml+++ b/registry.yaml@@ -130,7 +130,7 @@path: examples/sora/sora2_prompting_guide.ipynbslug: sora2-prompting-guidedescription: Cookbook to craft effective video prompts for Sora 2 generation.- date: 2025-10-06+ date: 2026-03-12authors:- rkoenig-openai- joanneshin-openai