# GPT-6 Luna

> A quick, cheap text model that can look at photos. Good for drafting prompts, captions and short answers.

Source: https://docs.nocamclub.com/models/gpt-6-luna

- **Model id:** `gpt-6-luna`
- **Makes:** text
- **From:** 1 credits ($0.01)
- **Routes:** 1, so if it's down the model is down

## Writing prompts

- A text generation's result is in `outputs[0].text`, as the model wrote it, markdown included.



## Call it

**cURL**

```bash
# A new Idempotency-Key for each new thing you want made, the same one when you retry it.
curl https://api.nocamclub.com/v1/generations \
  -H "Authorization: Bearer $NOCAM_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Prefer: wait=60" \
  -H "Idempotency-Key: gpt-6-luna-$(date +%s)" \
  -d '{
  "model": "gpt-6-luna",
  "input": {
    "prompt": "Write three short captions for a photo of a yellow taxi in the rain."
  }
}'
```

**JavaScript**

```js
const res = await fetch("https://api.nocamclub.com/v1/generations", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.NOCAM_API_KEY}`,
    "Content-Type": "application/json",
    "Idempotency-Key": crypto.randomUUID(),
    Prefer: "wait=60",
  },
  body: JSON.stringify({
    "model": "gpt-6-luna",
    "input": {
      "prompt": "Write three short captions for a photo of a yellow taxi in the rain."
    }
  }),
});
const generation = await res.json();
```

**Python**

```python
import os, uuid, requests

res = requests.post(
    "https://api.nocamclub.com/v1/generations",
    headers={"Authorization": f"Bearer {os.environ['NOCAM_API_KEY']}", "Prefer": "wait=60", "Idempotency-Key": str(uuid.uuid4())},
    json={
        "model": "gpt-6-luna",
        "input": {
            "prompt": "Write three short captions for a photo of a yellow taxi in the rain."
        }
    },
    timeout=90,
)
generation = res.json()
```

**MCP tool**

```json
{
  "name": "generate",
  "arguments": {
    "model": "gpt-6-luna",
    "prompt": "Write three short captions for a photo of a yellow taxi in the rain."
  }
}
```


## Options

| Field | Takes | Default | What it is |
|---|---|---|---|
| `prompt` (required) | Up to 10000 characters |  | What to make. Refer to files by order: img1, img2, video1, audio1. |
| `images` | Up to 4 |  | Photos: file ids from /v1/uploads, or https addresses. |

Any other field is refused. How files work: [Uploads](https://docs.nocamclub.com/api/uploads.md) and [Files in prompts](https://docs.nocamclub.com/api/files-in-prompts.md).

## Prices

In credits (1 credit = $0.01), as of 2026-11-07. For the current list: `GET /v1/models/gpt-6-luna`.

**1 credits** ($0.01) for each generation.
