Create a Higgsfield video task
curl --request POST \
--url https://gengen.farm/api/gengen/v1/contents/generations/tasks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "higgsfield-seedance-2.0"
}
'import requests
url = "https://gengen.farm/api/gengen/v1/contents/generations/tasks"
payload = { "model": "higgsfield-seedance-2.0" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({model: 'higgsfield-seedance-2.0'})
};
fetch('https://gengen.farm/api/gengen/v1/contents/generations/tasks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"model": "<string>",
"status": "queued",
"outputs": {
"videos": [
"<string>"
],
"images": [
"<string>"
]
},
"failureReason": "<string>"
}{
"error": "<string>",
"error_code": "<string>",
"error_params": {}
}{
"error": "<string>",
"error_code": "<string>",
"error_params": {}
}{
"error": "<string>",
"error_code": "<string>",
"error_params": {}
}Higgsfield
Create a Higgsfield video task
Reserve available balance and submit asynchronous generation. Invalid parameters return 400.
POST
/
contents
/
generations
/
tasks
Create a Higgsfield video task
curl --request POST \
--url https://gengen.farm/api/gengen/v1/contents/generations/tasks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "higgsfield-seedance-2.0"
}
'import requests
url = "https://gengen.farm/api/gengen/v1/contents/generations/tasks"
payload = { "model": "higgsfield-seedance-2.0" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({model: 'higgsfield-seedance-2.0'})
};
fetch('https://gengen.farm/api/gengen/v1/contents/generations/tasks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"model": "<string>",
"status": "queued",
"outputs": {
"videos": [
"<string>"
],
"images": [
"<string>"
]
},
"failureReason": "<string>"
}{
"error": "<string>",
"error_code": "<string>",
"error_params": {}
}{
"error": "<string>",
"error_code": "<string>",
"error_params": {}
}{
"error": "<string>",
"error_code": "<string>",
"error_params": {}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Available options:
higgsfield-seedance-2.0, higgsfield-seedance-2.5 Inferred from media when omitted. Editing and extension require 2.5.
Available options:
text_to_video, image_first_frame, image_first_last_frame, multimodal_reference, video_modify, video_extend Required and nonblank for text, edit and extend workflows.
2.0 limits: 9 images, 3 videos, 3 audio files; requires an image or video reference. 2.5: 30 images, 10 videos (including source), 10 audio files, maximum 50 total; supports audio-only reference.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes