Poe API
MiniMax Hailuo-02 Video Generation model: Advanced image-to-video generation model with 768p resolution. Send a prompt with an image for image-to-video, and just a prompt for text-to-video generation. Use `--duration` to set the video duration (6 or 10 seconds).
Powered by a server managed by @fal. Learn more
- OFFICIAL
Build with Hailuo-02-Standard 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-standard",
messages = [{
"role": "user",
"content": "A yellow bird sitting on a branch in a lush jungle with a thick rainforest in the background with mist"
}]
)
print(chat.choices[0].message.content)See the full documentation for comprehensive guidance on getting started.