AI Image & Video Generation
Authentication is required for all Kie.ai API requests. We use a secure Bearer Token authentication system to ensure API access is properly authorized.
To access the API services, you'll need to:
Your API key gives direct access to your account and resources. Never share it publicly or include it in client-side code.
All API requests must include your API key in the Authorization
header:
Authorization: Bearer YOUR_API_KEY
curl -X POST https://api.kie.ai/api/v1/gpt4o-image/generate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"prompt": "A cute cat playing in a garden",
"aspectRatio": "1:1"
}'