Overview
This endpoint provides generate video functionality.
Authentication
This endpoint requires authentication using a Bearer token.
Authorization
string
default:"sk-***********"
required
Your API key in the format: Bearer YOUR_API_KEY
Request Body
prompt
string
default:"Generate a dance scene"
required
Prompt parameter
model
string
default:"higgsfield-standard"
required
The model to use for the request
motion_id
string
default:"5d0eee15-569c-4006-a1c7-46d1c42d9315"
Motion Id parameter
Request Example
curl -X POST "https://gptproto.com/v1/higgsfield/generate" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Generate a dance scene",
"model": "higgsfield-standard",
"motion_id": "5d0eee15-569c-4006-a1c7-46d1c42d9315",
"enhance_prompt": true,
"image": [
"https://heyoo.oss-ap-southeast-1.aliyuncs.com/ai-draw/java/test/022cc0f0-8b08-4e8b-9822-2b41ba6c64ad.png"
],
"seed": 1000,
"height": 1080,
"width": 720
}'
Response
Error Responses
{
"error": {
"message": "Invalid signature",
"type": "401"
}
}