{
"type": "video",
"ai_model_id": "d1dd37a3-e39a-4854-a298-6510289f9cf2",
"start_keyframe_id": "eb3e91d4-39be-45bf-8a72-9eaf20a83d5f",
"audio_id": "538fe4d7-a5cf-4baa-a7f7-0b813e54173a",
"generated_video_inputs": {
"text_prompt": "string",
"resolution": "string",
"aspect_ratio": "string",
"duration_ms": 0,
"bounding_box_target": [
1,
1
]
}
}
curl --location --request POST 'https://api.302.ai/hedra/web-app/public/generations' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "video",
"ai_model_id": "d1dd37a3-e39a-4854-a298-6510289f9cf2",
"start_keyframe_id": "eb3e91d4-39be-45bf-8a72-9eaf20a83d5f",
"audio_id": "538fe4d7-a5cf-4baa-a7f7-0b813e54173a",
"generated_video_inputs": {
"text_prompt": "string",
"resolution": "string",
"aspect_ratio": "string",
"duration_ms": 0,
"bounding_box_target": [
1,
1
]
}
}'
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "image",
"name": "string",
"thumbnail_url": "string",
"description": "string",
"is_favorite": false,
"created_at": "2019-08-24T14:15:22Z",
"asset": {
"type": "uploaded_image",
"width": 0,
"height": 0,
"url": "string"
}
}