Poe API
Sora 2 is OpenAI’s latest video and audio generation model, delivering exceptional realism, physical accuracy, and controllability. It excels at creating cinematic scenes, synchronized dialogue, sound effects, and dynamic simulations while faithfully adhering to the laws of physics. The model supports editing, multi-shot prompt adherence, and the integration of real-world elements, such as people, animals, and objects.
This bot supports text-to-video and image-to-video generation.
Optional parameters:
- Set Duration. Select from (4 seconds, 8 seconds or 12 seconds) to specify video length in seconds. Set to 4 seconds as default.
- Set Resolution. Select from (Landscape - 1280x720 or Portrait - 720x1280). It is set to Portrait (720x1280) resolution as default.
Powered by a server managed by @openai. Learn more
- OFFICIAL
Build with Sora-2 using the Poe API
Start by creating an API key, for use with any bot on Poe:
Code samples
python
import openai
client = openai.OpenAI(
api_key = "YOUR_POE_API_KEY", # or os.getenv("POE_API_KEY")
base_url = "https://api.poe.com/v1",
)
chat = client.chat.completions.create(
model = "sora-2",
messages = [{
"role": "user",
"content": "Close up of an astronaut floating through a convenience store"
}]
)
print(chat.choices[0].message.content)See the full documentation for comprehensive guidance on getting started.