Making requests
All API requests should be made over HTTPS. Below is an example curl
command to make a simple API request.
curl https://api.bumpups.com/chat \
--request POST \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: YOUR_BUMPUPS_API_KEY' \
--data '{
"url": "https://www.youtube.com/watch?v=wv6TaPbnBp4",
"model": "bump-1.0",
"prompt": "What is the main message of this video?",
"language": "en",
"output_format": "text"
}'
Example Output
{
"url": "https://www.youtube.com/watch?v=wv6TaPbnBp4",
"model": "bump-1.0",
"prompt": "What is the main message of this video?",
"language": "en",
"output_format": "text",
"output": "This is a dummy output example for demonstration purposes."
}