POST
/
hailuo
/
keyframe
curl -X POST https://api.example.com/hailuo/keyframe \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "first_frame": "https://example.com/first.jpg",
    "last_frame": "https://example.com/last.jpg"
  }'
Create a first-to-last frame video using the Hailuo model.

Request Parameters

first_frame
string
required
First frame image.
last_frame
string
required
Last frame image.
prompt
string
Transition description.
curl -X POST https://api.example.com/hailuo/keyframe \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "first_frame": "https://example.com/first.jpg",
    "last_frame": "https://example.com/last.jpg"
  }'