Skip to main content
POST
/
chat
cURL
curl --request POST \
  --url https://api.bumpups.com/chat \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "url": "<string>",
  "model": "bump-1.0",
  "prompt": "summary",
  "language": "en",
  "output_format": "text"
}
'
{
  "url": "<unknown>",
  "model": "<unknown>",
  "prompt": "<unknown>",
  "language": "<unknown>",
  "output_format": "<unknown>",
  "output": "<unknown>",
  "video_duration": "<unknown>"
}

Authorizations

x-api-key
string
header
required

Body

application/json
url
string
required

The YouTube video URL.

model
enum<string>
default:bump-1.0

The model used for generating the chat response.

Available options:
bump-1.0
prompt
string
default:summary

The message or query about the video. Prompts longer than 500 characters will be cut off.

Maximum string length: 500
language
enum<string>
default:en

A two-letter language code for the response.

Available options:
en,
hi,
es,
pt,
ru
output_format
enum<string>
default:text

The desired output format.

Available options:
text,
markdown

Response

200 - application/json

Success - A successful response.

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 an example chat output for demonstration purposes

The generated chat output.

video_duration
10

Duration of the video in minutes or seconds.