curl --request GET \
--url https://api.hedra.com/web-app/public/generations \
--header 'X-API-Key: <api-key>'{
"page_info": {
"limit": 123,
"offset": 123
},
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "image",
"input": {
"generated_video_inputs": {
"text_prompt": "<string>",
"resolution": "<string>",
"aspect_ratio": "<string>",
"duration_ms": 0,
"bounding_box_target": [
"<unknown>"
]
},
"type": "video",
"ai_model_id": "d1dd37a3-e39a-4854-a298-6510289f9cf2",
"start_keyframe_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"audio_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"status": "complete",
"progress": 123,
"created_at": "2023-11-07T05:31:56Z",
"asset": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "image",
"name": "<string>",
"thumbnail_url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"asset": {
"width": 123,
"height": 123,
"url": "<string>",
"type": "uploaded_image"
},
"description": "<string>",
"is_favorite": false
},
"error_message": "<string>"
}
]
}curl --request GET \
--url https://api.hedra.com/web-app/public/generations \
--header 'X-API-Key: <api-key>'{
"page_info": {
"limit": 123,
"offset": 123
},
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "image",
"input": {
"generated_video_inputs": {
"text_prompt": "<string>",
"resolution": "<string>",
"aspect_ratio": "<string>",
"duration_ms": 0,
"bounding_box_target": [
"<unknown>"
]
},
"type": "video",
"ai_model_id": "d1dd37a3-e39a-4854-a298-6510289f9cf2",
"start_keyframe_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"audio_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"status": "complete",
"progress": 123,
"created_at": "2023-11-07T05:31:56Z",
"asset": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "image",
"name": "<string>",
"thumbnail_url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"asset": {
"width": 123,
"height": 123,
"url": "<string>",
"type": "uploaded_image"
},
"description": "<string>",
"is_favorite": false
},
"error_message": "<string>"
}
]
}image, audio, video, text_to_speech, speech_to_speech, voice_clone, audio_isolation, video_stitching, agent_response Successful Response
Page data.
Show child attributes
ID of the generation and associated asset.
Type of generation.
image, audio, video, voice Inputs for the generation
Show child attributes
Inputs for generating the video.
Show child attributes
Prompt for video generation.
Resolution for the video.
Aspect ratio for the video.
Duration of the video in milliseconds.
Normalized coordinates for primary speaker position (Character3 only)
2 elements"video"ID of the model to use for the generation.
The id of the Image asset to use as the start keyframe.
The id of the Audio asset to use.
Status of the generation
complete, error, processing, finalizing, queued, pending Current progress to completion. Between 0-1
Date the generation was submitted.
The generated asset. Value is not present unless the status of the generation is 'complete'
Show child attributes
The id of the asset.
The type of the asset.
image, audio, video, voice Name of the asset. Default to user-provided file name.
URL of the thumbnail image.
Date the asset was created.
The asset itself.
Optional description of the asset.
Whether the asset is favorited by the user.
Error message. Value is not present unless the status of the generation is 'error'