> ## 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 Kling Image 4.0

> API Kling Image 4.0 sur Venice : génération et édition d'images jusqu'à 4K, dès $0.08 par image. Accès anonymisé, identité protégée.



## API Kling Image 4.0

Kling Image 4.0 est un modèle de génération et d'édition d'images de Kling AI, disponible sur l'API Venice sous l'identifiant `kling-v4-text-to-image`. Le fournisseur de ce modèle peut conserver les données des prompts (même si elles sont anonymisées par Venice). Pour du contenu sensible, utilisez un modèle privé.

Texte vers image en 2K et 4K, dans des formats d'image de 21:9 à 9:16.

### Tarifs de l'API Kling Image 4.0

| ID du modèle | Variante | Confidentialité | Prix |
| - | - | - | - |
| `kling-v4-text-to-image` | Générer | Anonymized | \$0.08 / image |
| `kling-v4-image-edit` | Modifier | Anonymized | \$0.08 / modification |

### Spécifications de Kling Image 4.0

| Caractéristique | Valeur |
| - | - |
| Fournisseur | Kling AI |
| Sortie | 17 nov. 2026 |
| Confidentialité | Anonymized |
| Statut | Stable |
| Résolutions | 2K, 4K |
| Formats d'image | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9 |
| Limite du prompt | 32,768 caractères |

### Comment utiliser l'API Kling Image 4.0

Envoyez vos requêtes à `POST https://api.venice.ai/api/v1/image/generate` avec `"model": "kling-v4-text-to-image"` et votre clé 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": "kling-v4-text-to-image",
    "prompt": "A retro travel poster with the bold headline \"VENICE\" in large condensed serif type, sunset color palette",
    "resolution": "2K",
    "aspect_ratio": "1:1"
  }'
```

### Modèles similaires

* [API GPT Image 2.6 Flare](https://docs.venice.ai/fr/models/gpt-image-2-6-flare.md): \$0.09 / image
* [API GPT Image 2.6 Sunburst](https://docs.venice.ai/fr/models/gpt-image-2-6-sunburst.md): \$0.09 / image
* [API Krea 3](https://docs.venice.ai/fr/models/krea-3.md): \$0.07 / image
* [API GPT Image 2.5 Flare](https://docs.venice.ai/fr/models/gpt-image-2-5-flare.md): \$0.07 / image


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