API Keys
Manage your API keys for programmatic access
Manage your API keys for programmatic access
For security, saved keys only show their first and last few characters. If you've lost a key, create a new one and delete the old one.
Add your API key to the Authorization header:
Authorization: Bearer YOUR_API_KEYExample request:
curl -X POST https://api.apimodels.app/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-2.5-flash-image",
"prompt": "A futuristic cityscape at sunset",
"aspect_ratio": "16:9"
}'