cURL
curl --request POST \ --url https://api.freepik.com/v1/ai/image-to-video/minimax-hailuo-02-768p \ --header 'Content-Type: application/json' \ --header 'x-freepik-api-key: <api-key>' \ --data '{ "webhook_url": "https://www.example.com/webhook", "prompt": "A beautiful sunset over the mountains with birds flying in the sky", "prompt_optimizer": true, "first_frame_image": "https://img.freepik.com/free-photo/beautiful-sunset-over-mountains_123456-7890.jpg", "duration": 6 }'
200
example
{ "data": { "task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "status": "IN_PROGRESS" }}
Generate a video from text or image using the MiniMax Hailuo-02 768p model.
Your Freepik API key. Required for authentication. Learn how to obtain an API key
OK - Task created successfully
The response is of type object.
object
Was this page helpful?