> ## 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.

# واجهة Kling Image 4.0 API

> واجهة Kling Image 4.0 API على Venice: توليد الصور وتحريرها بدقة تصل إلى 4K، بدءًا من $0.08 للصورة. وصول مُجهَّل دون كشف هويتك.



## واجهة Kling Image 4.0 API

Kling Image 4.0 هو نموذج لتوليد الصور وتحريرها من Kling AI، متاح على Venice API باسم `kling-v4-text-to-image`. قد يحتفظ مزوّد هذا النموذج ببيانات الموجّهات (مع أن Venice تُجهّلها). للمحتوى الحساس، استخدم نموذجًا خاصًا.

تحويل النص إلى صورة بدقة 2K و4K، بنسب عرض إلى ارتفاع من 21:9 إلى 9:16.

### أسعار واجهة Kling Image 4.0 API

| معرّف النموذج | الإصدار | الخصوصية | السعر |
| - | - | - | - |
| `kling-v4-text-to-image` | إنشاء | Anonymized | \$0.08 / صورة |
| `kling-v4-image-edit` | تحرير | Anonymized | \$0.08 / تحرير |

### مواصفات Kling Image 4.0

| المواصفة | القيمة |
| - | - |
| المزوّد | Kling AI |
| تاريخ الإصدار | 17 نوفمبر 2026 |
| الخصوصية | Anonymized |
| الحالة | مستقر |
| الدقّات | 2K, 4K |
| نسب العرض إلى الارتفاع | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9 |
| حد الموجّه | 32,768 حرف |

### كيفية استخدام واجهة Kling Image 4.0 API

أرسل الطلبات إلى `POST https://api.venice.ai/api/v1/image/generate` مع `"model": "kling-v4-text-to-image"` ومفتاح 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"
  }'
```

### نماذج ذات صلة

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


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