List Your Generations
Retrieve a paginated list of your generations, with optional filtering by type, date, or prompt.
GET
/
generations
cURL
curl "https://api.hedra.com/web-app/public/generations" \
-H "X-API-Key: $HEDRA_API_KEY"{
"page_info": {
"limit": 123,
"offset": 123
},
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"input": {
"generated_video_inputs": {
"text_prompt": "<string>",
"ai_model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_slug": "<string>",
"resolution": "<string>",
"aspect_ratio": "<string>",
"duration_ms": 123,
"generate_audio": true,
"seed": 123,
"negative_prompt": "<string>",
"bounding_box_target": {
"[0]": 0.5,
"[1]": 0.5
},
"enhance_prompt": false,
"multi_prompt": [
{
"prompt": "<string>",
"duration_ms": 9000
}
],
"shot_type": "customize",
"cfg_scale": 123
},
"workspace_id": "<string>",
"agent_thread_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"generation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"generation_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"reserved_asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reserved_asset_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"type": "video",
"name": "<string>",
"ai_model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_slug": "<string>",
"start_keyframe_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_keyframe_url": "<string>",
"end_keyframe_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"end_keyframe_url": "<string>",
"audio_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"audio_generation": {
"voice_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>",
"workspace_id": "<string>",
"agent_thread_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"generation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"generation_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"reserved_asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reserved_asset_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"type": "text_to_speech",
"name": "<string>",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_slug": "<string>",
"stability": 1,
"speed": 1,
"language": "auto"
},
"audio_start_ms": 123,
"reference_audio_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"reference_image_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"reference_video_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"video_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"batch_size": 1
},
"progress": 123,
"created_at": "<string>",
"eta_sec": 123,
"estimated_completion_at": "<string>",
"credit_cost": 123,
"batch_generation_id": "<string>",
"asset": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"created_at": "<string>",
"asset": {
"width": 123,
"height": 123,
"url": "<string>",
"type": "uploaded_image"
},
"thumbnail_url": "<string>",
"description": "<string>",
"is_favorite": false,
"recent": false,
"favorited_at": "<string>"
},
"audio_start_ms": 123,
"error": {
"message": "<string>",
"param": "<string>",
"violations": [
{}
],
"credits_needed": 123,
"credits_available": 123
},
"error_message": "<string>"
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Query Parameters
Available options:
text, image, audio, video, voice, three_d, rich_text Show child attributes
Show child attributes
Was this page helpful?
⌘I
cURL
curl "https://api.hedra.com/web-app/public/generations" \
-H "X-API-Key: $HEDRA_API_KEY"{
"page_info": {
"limit": 123,
"offset": 123
},
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"input": {
"generated_video_inputs": {
"text_prompt": "<string>",
"ai_model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_slug": "<string>",
"resolution": "<string>",
"aspect_ratio": "<string>",
"duration_ms": 123,
"generate_audio": true,
"seed": 123,
"negative_prompt": "<string>",
"bounding_box_target": {
"[0]": 0.5,
"[1]": 0.5
},
"enhance_prompt": false,
"multi_prompt": [
{
"prompt": "<string>",
"duration_ms": 9000
}
],
"shot_type": "customize",
"cfg_scale": 123
},
"workspace_id": "<string>",
"agent_thread_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"generation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"generation_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"reserved_asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reserved_asset_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"type": "video",
"name": "<string>",
"ai_model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_slug": "<string>",
"start_keyframe_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_keyframe_url": "<string>",
"end_keyframe_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"end_keyframe_url": "<string>",
"audio_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"audio_generation": {
"voice_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>",
"workspace_id": "<string>",
"agent_thread_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"generation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"generation_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"reserved_asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reserved_asset_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"type": "text_to_speech",
"name": "<string>",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_slug": "<string>",
"stability": 1,
"speed": 1,
"language": "auto"
},
"audio_start_ms": 123,
"reference_audio_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"reference_image_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"reference_video_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"video_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"batch_size": 1
},
"progress": 123,
"created_at": "<string>",
"eta_sec": 123,
"estimated_completion_at": "<string>",
"credit_cost": 123,
"batch_generation_id": "<string>",
"asset": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"created_at": "<string>",
"asset": {
"width": 123,
"height": 123,
"url": "<string>",
"type": "uploaded_image"
},
"thumbnail_url": "<string>",
"description": "<string>",
"is_favorite": false,
"recent": false,
"favorited_at": "<string>"
},
"audio_start_ms": 123,
"error": {
"message": "<string>",
"param": "<string>",
"violations": [
{}
],
"credits_needed": 123,
"credits_available": 123
},
"error_message": "<string>"
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}