> ## Documentation Index
> Fetch the complete documentation index at: https://oceanpulse.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Gemini Generate

> Generate content using Gemini API with a user-defined prompt

# 🔮 Gemini Generate Endpoint

Generate rich text content using Google’s Gemini API by sending a custom prompt.

***

## 📮 POST `/generate`

### 📬 Description

Send a prompt to the Gemini API and receive a generated text response.

### 🧾 Headers

* `Content-Type`: `application/json`

### 📤 Request Body

```json theme={null}
{
  "prompt": "How can we prevent overfishing?"
}
{
  "status": "1",
  "content": "To mitigate overfishing, we can implement stricter catch limits, expand marine protected areas..."
}
{
  "status": "-1",
  "message": "Prompt is required"
}
```
