# Gemini 3.8 Flash

Gemini 3.8 Flash is available in the Business API catalog.

- Model ID: `google/gemini-3.8-flash`
- Provider: Google
- Modality: text → text
- Type: null
- Status: stable
- Delivery: sync
- Output format: json

## Authentication

Send your API key in the `X-API-Key` header.

The same key reads the org balance at `GET https://api.dev.pika.art/billing/balance`, which is free to call and confirms the request can be paid for before you submit it.

## Endpoint

```
POST https://api.dev.pika.art/genai/v1beta/models/gemini-3.8-flash:generateContent
```

## Request

```json
{
  "contents": [
    {
      "role": "user",
      "parts": [
        {
          "text": "Hello, who are you?"
        }
      ]
    }
  ]
}
```

## Response

```json
{
  "candidates": [
    {
      "content": {
        "role": "model",
        "parts": [
          {
            "text": "I'm Gemini, a model from Google."
          }
        ]
      }
    }
  ]
}
```

