# Images, rerank and audio output are now on Clonvo

> Images from 13 models, reranking, and spoken or musical answers, on the same API key your agents use for models and tools.

12 November 2026. Product, Images, Audio.

Agents need more than text. As of today, the API key your agents use for models and tools also generates images, reranks documents, and answers with speech or music. Each new endpoint takes the same requests as OpenRouter's, so OpenRouter clients and the OpenAI SDKs work with it unchanged.

## Images

`POST /v1/images` takes a prompt and returns base64 images. OpenAI's `/v1/images/generations` and `/v1/images/edits` work too, so `client.images.generate()` runs against Clonvo by changing the base URL:

```python
import base64, os
from openai import OpenAI

client = OpenAI(base_url="https://api.clonvo.com/v1", api_key=os.environ["CLONVO_API_KEY"])

result = client.images.generate(
    model="google/gemini-nano-banana-2.1",
    prompt="A watercolour of a small fox reading a book under a blue umbrella",
    size="1024x1024",
)
open("fox.png", "wb").write(base64.b64decode(result.data[0].b64_json))
```

13 models are available, from five providers:

| Provider | Models | Priced |
| --- | --- | --- |
| OpenAI | GPT Image 2.6 Flare and Sunburst, GPT Image 2.5 Flare and Sunburst | Per token: $5 text input, $8 image input, $30 image output per 1M |
| Google | Gemini Nano Banana 2.1, Gemini 3.1 Flash-Lite Image, Gemini 3 Pro Image | Per token, with image output at its own rate |
| xAI | Grok Imagine Image 2.0 | Per image, by resolution and quality |
| Meta | Muse Image | $0.01 per image |
| Alibaba | Qwen Image 3, 3 Pro, 2.1 Pro and 2.1 Turbo | Per image |

Billing is all-or-nothing: a generation that fails or is blocked costs nothing, and if a provider returns fewer images than you asked for, you pay for the ones you got. The Gemini image models also answer in chat completions with `modalities: ["image", "text"]`, returning images in `message.images`, so a conversation can mix text and pictures.

`GET /v1/images/models` lists every image model with the parameters it accepts (sizes, aspect ratios, quality levels) and its prices. See [Image generation](https://clonvo.com/docs/images.md) for the full reference.

## Rerank

`POST /v1/rerank` sorts documents by how well they answer a query, which is the step that makes retrieval-augmented generation return the right passages instead of the nearest ones:

```bash
curl https://api.clonvo.com/v1/rerank \
  -H "Authorization: Bearer $CLONVO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen/qwen3-rerank",
    "query": "What is the capital of France?",
    "documents": ["Bananas are yellow.", "Paris is the capital of France."]
  }'
```

Results come back sorted by `relevance_score`, each with the index of its document. Qwen3 Rerank costs $0.10 per 1M tokens. See [Rerank](https://clonvo.com/docs/rerank.md).

## Audio output

Chat completions can now answer with audio. Send `modalities: ["text", "audio"]` with a voice and format, and the reply carries `message.audio` with base64 audio and its transcript, streamed as `delta.audio` when you stream:

```python
completion = client.chat.completions.create(
    model="openai/gpt-audio-1.5",
    modalities=["text", "audio"],
    audio={"voice": "marin", "format": "mp3"},
    messages=[{"role": "user", "content": "Say hello to our new users in one sentence."}],
)
open("hello.mp3", "wb").write(base64.b64decode(completion.choices[0].message.audio.data))
```

Google's Lyria models write music the same way: describe a song in the user message and the answer is an MP3 (or WAV on Lyria 3.5). Lyria 3 Clip makes 30-second clips for $0.04, and Lyria 3.5 and Lyria 3 Pro full songs for $0.08 each. A reply that comes back without a song isn't charged.

This sits alongside the speech and transcription endpoints from last week: `/v1/audio/speech` with seven text-to-speech models and `/v1/audio/transcriptions` with seven speech-to-text models. See [Audio](https://clonvo.com/docs/audio.md).

## Also new

-   **Decision models.** GPT-6 Luna Decisions joins TypeSafe Jev, Parallel Decisions and Gemini Decision. Each answers the fields of a JSON schema (choices, yes/no probabilities, scores) with calibrated probabilities, for classification and routing at a fraction of a chat model's price. See [Structured outputs](https://clonvo.com/docs/structured-outputs.md#decision-models).
-   **Pro mode.** The GPT-5.6 and GPT-6 models run in OpenAI's pro mode under `-pro` ids, such as `openai/gpt-6-luna-pro`, at the base model's token prices.
-   **More models.** GPT Chat Latest, Voxtral Small (audio in chat), Qwen3.8 Omni Flash, Qwen3.8 Max (2026-09-02), Qwen3.5 Flash, Gemini 3.1 Pro Preview Custom Tools, Text Embedding Ada 002 and Qwen Audio 3.0 TTS. Grok 4.20 is now the GA model at xAI's lower price.
-   **OpenRouter's model ids work.** Ids such as `x-ai/grok-4.20`, `typesafe/jev-1.14` and `meta/muse-image` resolve to the same models, so code written for OpenRouter needs only a new base URL and key.

## Finding models

`GET /v1/models?output_modalities=` filters by what a model returns: `text`, `image`, `audio`, `speech`, `transcription`, `embeddings`, `rerank` or `decisions`, or `all`. The [models page](https://clonvo.com/models.md) has a tab for each.

Everything runs on the same API key, the same credits at provider list prices, and the same provider keys if you bring your own. [Create an API key](https://clonvo.com/sign-up.md) or start with the [quickstart](https://clonvo.com/docs/quickstart.md).

## Read next

-   [The Clonvo CLI: every tool as a terminal command](https://clonvo.com/blog/clonvo-cli.md): Install @clonvo/cli, sign in with your browser, and call any of Clonvo's 22 tools from a terminal, with JSON output for jq, scripts and agents.
-   [Browser runs and sandboxes for agents](https://clonvo.com/blog/browser-runs-and-sandboxes.md): Agents on Clonvo can now run code in Linux sandboxes, keep a sandbox with a preview link, and send a browser agent through a site to reach a goal.
