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

> ## Agent Instructions
> The Venice API is OpenAI-compatible: use any OpenAI SDK with the base URL `https://api.venice.ai/api/v1` and a Venice API key, or pay per request from a USDC wallet through x402 with no account.
> Read model IDs from `GET /models` or `GET /models/traits` at runtime instead of hardcoding them from memory or from these pages. Models are added and retired often.
> Every model's price is in https://docs.venice.ai/pricing.md. Quote video and audio jobs with `POST /video/quote` or `POST /audio/quote` before you queue them.
> Search these docs from an MCP client at https://docs.venice.ai/mcp. The full agent guide is https://docs.venice.ai/agents.md.

# API di MAI Image 2.7

> API di MAI Image 2.7 su Venice: generazione ed editing di immagini fino a 2K, da $0.05 per immagine. Accesso anonimizzato, identità protetta.



## API di MAI Image 2.7

MAI Image 2.7 è un modello di generazione ed editing di immagini di MAI, disponibile sulla Venice API come `mai-image-2-7`. Il provider di questo modello potrebbe conservare i dati dei prompt (anche se vengono anonimizzati da Venice). Per contenuti sensibili, usa un modello privato.

MAI Image 2.7 è il modello da testo a immagine di Microsoft. Genera immagini in 1K o 2K in sette proporzioni e supporta sfondi trasparenti.

### Prezzi dell'API di MAI Image 2.7

| ID modello | Variante | Privacy | Prezzo |
| - | - | - | - |
| `mai-image-2-7` | Genera | Anonymized | \$0.05 / immagine |
| `mai-image-2-7-edit` | Modifica | Anonymized | \$0.06 / modifica |

### Specifiche di MAI Image 2.7

| Specifica | Valore |
| - | - |
| Fornitore | MAI |
| Rilascio | 17 nov 2026 |
| Privacy | Anonymized |
| Stato | Stabile |
| Risoluzioni | 1K, 2K |
| Proporzioni | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3 |
| Limite del prompt | 32,000 caratteri |

### Come usare l'API di MAI Image 2.7

Invia le richieste a `POST https://api.venice.ai/api/v1/image/generate` con `"model": "mai-image-2-7"` e la tua chiave API.

```bash theme={"system"}
curl https://api.venice.ai/api/v1/image/generate \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mai-image-2-7",
    "prompt": "A retro travel poster with the bold headline \"VENICE\" in large condensed serif type, sunset color palette",
    "resolution": "1K",
    "aspect_ratio": "1:1"
  }'
```

### Modelli correlati

* [API di Qwen Image 2.1 Pro](https://docs.venice.ai/it/models/qwen-image-2-1-pro.md): \$0.05 / immagine
* [API di Qwen Image 3 Pro](https://docs.venice.ai/it/models/qwen-image-3-pro.md): \$0.05 / immagine
* [API di Luma Uni-1](https://docs.venice.ai/it/models/luma-uni-1.md): \$0.05 / immagine
* [API di MiniMax H3 Image](https://docs.venice.ai/it/models/minimax-h3-image.md): \$0.04 / immagine


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.