Kling 3.0 API Tutorial: Text & Image to Video with Native Audio (NexaAPI — Cheaper than PiAPI)
#214
by nickyni - opened
Kling 3.0 API Access via NexaAPI — Cheaper than PiAPI
Kling 3.0 is now available via NexaAPI — unified API, cheaper pricing, free tier.
Kling 3.0 Features
- 🎬 Multi-Shot AI Director
- 🎯 Enhanced Subject Consistency
- 🔊 Native Audio in 5 Languages (EN, ZH, JA, KO, ES)
- ⏱️ Up to 15 seconds generation
Quick Start
pip install nexaapi
from nexaapi import NexaAPI
client = NexaAPI(api_key='YOUR_API_KEY')
# Text-to-Video with Kling 3.0
response = client.video.generate(
model='kling-3.0',
prompt='A cinematic shot of a futuristic city at sunset',
duration=5,
aspect_ratio='16:9',
mode='standard'
)
print(response.video_url)
# Image-to-Video
response_img = client.video.generate(
model='kling-3.0',
prompt='Gentle camera pan across the scene',
image_url='https://example.com/your-image.jpg',
duration=5,
aspect_ratio='16:9'
)
# With Native Audio
response_audio = client.video.generate(
model='kling-3.0',
prompt='Ocean waves at golden hour',
duration=5,
native_audio=True,
aspect_ratio='16:9'
)
Links
- 🌐 https://nexa-api.com
- ⚡ https://rapidapi.com/user/nexaquency
- 🐍 https://pypi.org/project/nexaapi/
- 📦 https://www.npmjs.com/package/nexaapi
Full tutorial: https://github.com/diwushennian4955/kling-3-0-api-tutorial