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

> Kling Image 4.0 API na Venice: geração e edição de imagens até 4K, a partir de $0.08 por imagem. Acesso anonimizado, sem sua identidade.



## API do Kling Image 4.0

Kling Image 4.0 é um modelo de geração e edição de imagens da Kling AI, disponível na Venice API como `kling-v4-text-to-image`. O provedor deste modelo pode reter dados de prompt (embora eles sejam anonimizados pela Venice). Para conteúdo sensível, use um modelo privado.

Texto para imagem em 2K e 4K, em proporções de 21:9 a 9:16.

### Preços da API do Kling Image 4.0

| ID do modelo | Variante | Privacidade | Preço |
| - | - | - | - |
| `kling-v4-text-to-image` | Gerar | Anonymized | \$0.08 / imagem |
| `kling-v4-image-edit` | Editar | Anonymized | \$0.08 / edição |

### Especificações do Kling Image 4.0

| Especificação | Valor |
| - | - |
| Provedor | Kling AI |
| Lançamento | 17 de nov. de 2026 |
| Privacidade | Anonymized |
| Status | Estável |
| Resoluções | 2K, 4K |
| Proporções | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9 |
| Limite do prompt | 32,768 caracteres |

### Como usar a API do Kling Image 4.0

Envie requisições para `POST https://api.venice.ai/api/v1/image/generate` com `"model": "kling-v4-text-to-image"` e sua chave de 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"
  }'
```

### Modelos relacionados

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


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