cURL

Get your credentials

Sign in on the Banana user dashboard to get your API from the Banana home screen.

Grab the url slug from the model's page.

Run from Terminal

curl -X POST
    -H 'Content-Type: application/json' \
    -H 'X-Banana-API-Key: YOUR_API_KEY' \
    -d '{"prompt":"In the summer I like [MASK]."}' \
    https://YOUR_URL.run.banana.dev

Last updated