Poe API
MiniMax Hailuo-02 Pro Video Generation model: Advanced image-to-video generation model with 1080p resolution. Send a prompt with an image for image-to-video, and just a prompt for text-to-video generation. Generates 5 second video.
Powered by a server managed by @fal. Learn more
- OFFICIAL
Build with Hailuo-02-Pro 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 = "hailuo-02-pro",
messages = [{
"role": "user",
"content": "Hyperspeed fly through volcanic mountains showing erupting volcanoes. The camera flies towards a smoking asteroid, muted colors, low contrast, fast footage"
}]
)
print(chat.choices[0].message.content)See the full documentation for comprehensive guidance on getting started.